Skip to content

Accessibility: Make search result section headers focusable for screen readers#30722

Open
mukthar777 wants to merge 1 commit into
telegramdesktop:devfrom
zendalona:search-headers-accessibility
Open

Accessibility: Make search result section headers focusable for screen readers#30722
mukthar777 wants to merge 1 commit into
telegramdesktop:devfrom
zendalona:search-headers-accessibility

Conversation

@mukthar777
Copy link
Copy Markdown
Contributor

It allows screen readers to focus on and announce the section headers within the search/filtered dialogs list (e.g., "Global Search Results").

Implementation Details:

Added AccessibilityCohort::SectionHeader to the filtered results layout structure.
Modified index calculations in InnerWidget to interleave section headers between the Hashtag, PeerSearch, Preview, and Searched lists.
Ensured headers have the correct QAccessible::State (focusable/focused) when Ui::ScreenReaderModeActive() is enabled.
Mapped appropriate localized strings and UI geometries (accessibilityChildRect) to each header.

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