fix(ios): set accessibility container type on table view#652
Open
hggzm wants to merge 1 commit intomicrosoft:mainfrom
Open
fix(ios): set accessibility container type on table view#652hggzm wants to merge 1 commit intomicrosoft:mainfrom
hggzm wants to merge 1 commit intomicrosoft:mainfrom
Conversation
VoiceOver had no indication that table content was structured as a data table. Set accessibilityContainerType to SemanticGroup so VoiceOver provides semantic grouping cues when navigating table rows, improving the experience for users who need to understand the table structure. Fixes microsoft#48 (iOS)
Collaborator
Author
VoiceOver Accessibility ValidationAutomated a11y pipeline validates this fix using real UIAccessibility API data. Annotated A11y Overlay
|
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.

Fork-based PR (no Azure Pipelines CI). When ready for CI, push branch to upstream as
users/hggzm/clean/fix-table-a11y-48-iosand recreate.History: upstream PRs #621 (closed)
Summary
VoiceOver had no semantic indication that table content was structured as a data table. The table view was just a plain container, so VoiceOver treated it the same as any other group of elements with no structural cues.
Changes
accessibilityContainerTypetoUIAccessibilityContainerTypeSemanticGroup(iOS 11+) on the table view after configuring accessibility elements. This tells VoiceOver to treat the table as a semantically related group, providing better navigation cues when entering and leaving the table content.Testing
firstRowAsHeadersis set) still announce as headings