Skip to content

feat(accessibility): add screen reader support for peer lists#30542

Open
mukthar777 wants to merge 1 commit intotelegramdesktop:devfrom
zendalona:peer-list-accessibility
Open

feat(accessibility): add screen reader support for peer lists#30542
mukthar777 wants to merge 1 commit intotelegramdesktop:devfrom
zendalona:peer-list-accessibility

Conversation

@mukthar777
Copy link
Copy Markdown
Contributor

Exposes peer list rows as virtual accessibility children, enabling comprehensive screen reader navigation and interaction. This integration allows assistive technologies to treat painted list items as interactive elements within the accessibility tree.

Technical Details:

  • Tree Integration: Implements a QAccessibleInterface for PeerListContent, exposing distinct rows through accessibilityChildCount and accessibilityChildName.
  • State & Geometry: Overrides accessibilityChildState and accessibilityChildRect to provide individual row coordinates and feedback for Focused, Selectable, and Checked (multi-select) statuses.
  • Focus Logic: Enhances focusInEvent using InvokeQueued to identify and announce the active peer immediately upon entering the list via keyboard.
  • Contextual Semantics: Adds accessibilityName() overrides to controllers to provide localized, context-aware list titles.

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