Avalonia: add screen reader support, keyboard navigation, and focus management #4582
Open
Gabriel Dufresne (GabrielDuf) wants to merge 6 commits intomainfrom
Open
Avalonia: add screen reader support, keyboard navigation, and focus management #4582Gabriel Dufresne (GabrielDuf) wants to merge 6 commits intomainfrom
Gabriel Dufresne (GabrielDuf) wants to merge 6 commits intomainfrom
Conversation
Add AutomationProperties-based semantics to the Avalonia shell, sidebar, package pages, banners, and reusable settings cards. Highlights: - mark decorative icons and chrome out of the accessibility tree - label icon-only controls, search affordances, package lists, and package selection surfaces - expose settings-card content to screen readers and keyboard activation - align implementation with Avalonia 11 supported automation APIs
Add dialog-focused accessibility metadata and focus behavior. Highlights: - label form controls in install options with LabeledBy associations - add initial focus for install options, package details, and ignored updates dialogs - expose package details secondary actions and technical fields to screen readers - add ignored-updates row and remove-button semantics
- add a shared live-region announcement service for screen reader updates - announce page changes from the shell and add sidebar focus handoff for Ctrl+Tab navigation - announce operation progress, success, and failure independently of platform toast notifications - announce settings import/export/reset, manager toggle changes, settings-card toggles, ignore-updates changes, and package select-all state
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch adds a comprehensive accessibility layer to the Avalonia UI port:
Screen reader support (VoiceOver / NVDA / JAWS)
AutomationPropertiessemantics across the shell, sidebar, package pages, banners, dialogs, and settings cards — names, roles, accelerator keys, labeled-by associationsAccessibilityView="Raw"to hide them from the treeAccessibilityAnnouncementService(live-region) that announces page navigation, operation progress/success/failure, settings changes, manager toggle state, select-all state, and ignore-updates changes independently of platform toast notificationsKeyboard navigation & shortcuts
Ctrl+1–6jump to the six main sectionsCtrl+Dopens package details;F1opens Help;F5 / Ctrl+Rreload;Ctrl+Aselect all