https://bugs.kde.org/show_bug.cgi?id=497971

--- Comment #3 from cwo <cwo....@posteo.net> ---
Git commit bda741440fe421e47ec5575b9cee9c09d1a60c6c by Christoph Wolk.
Committed on 01/01/2025 at 21:32.
Pushed by cwo into branch 'master'.

controls/Card: set title as default Accessible.name

The card element has a banner that contains a title element, which is
intended as the visible title for that card. This is adequate for
sighted users, but is not passed to the a11y interface, so screen
readers are unaware of its function and default to not reading it out.
Currently, applications using Card have to set this link manually, and
usually do not do so, leaving these controls inaccessible. Given the
typical visual prominence of the banner title for sighted users, this
seems like a sensible default assignment. In the rare cases where this
is less appropriate, applications can still overwrite this manually.
Given the variety of functions that Cards can have, Accessible.role
probably still should be set manually and explicitly.

This change sets the default Accesible.name to the banner title.

M  +2    -0    src/controls/Card.qml

https://invent.kde.org/frameworks/kirigami/-/commit/bda741440fe421e47ec5575b9cee9c09d1a60c6c

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to