Skip to content

Name the tab lists for screen readers - #31111

Open
rezabakhshilaktasaraei wants to merge 1 commit into
telegramdesktop:devfrom
rezabakhshilaktasaraei:slider-list-accessible-names
Open

Name the tab lists for screen readers#31111
rezabakhshilaktasaraei wants to merge 1 commit into
telegramdesktop:devfrom
rezabakhshilaktasaraei:slider-list-accessible-names

Conversation

@rezabakhshilaktasaraei

Copy link
Copy Markdown
Contributor

Complements #31097: that PR turns the painted sections of Ui::DiscreteSlider into an accessible list, but the list containers themselves had no accessible names, so a screen reader landing on them announced a bare "list". This PR names them at every call site - the chat list search tabs, the emoji / stickers / GIFs panel, the stickers box, the notifications count and proxy auto-switch sliders, the Stars transaction history, the channel earn history, the boosts list and the message options box.

Almost all names reuse existing keys near each slider (the subsection title or box context), so only one new key is added (lng_sr_message_options for the link / reply / forward options box, which has no single visible title when the tabs are shown). The folder tabs strip is not touched here - it is named in #31098.

Builds and runs fine without #31097 (an accessible name on a widget without an accessible role is simply unused), so there is no compile dependency, but the names only become audible together with it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant