Repository navigation
feat(renderer): add aria-hidden prop - #866
Open
patrickkabwe wants to merge 1 commit into
Open
patrickkabwe wants to merge 1 commit into
patrickkabwe wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
patrickkabwe
force-pushed
the
feat/a11y-hidden
branch
from
December 1, 2026 20:35
31fa42b to
9bdbd6f
Compare
patrickkabwe
force-pushed
the
feat/a11y-hidden
branch
from
December 2, 2026 13:33
9bdbd6f to
e865e08
Compare
patrickkabwe
marked this pull request as ready for review
December 2, 2026 13:39
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.
Part of #838 (step 5). Stacked on #865.
Views take
aria-hidden, which hides a view and its children from screen readers.accessibilityElementsHidden. A grouped container already skips hidden children when it builds its label from step 1.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS.accessiblesets the same property, so both setters now compute it together: hidden wins, thenaccessiblegivesYES, otherwiseAUTO.Tested on the iOS simulator: rows read "List item 2, Index 1 · Blue context" without the filler lines. On the Android emulator, the filler lines are gone from the compressed uiautomator tree and each row keeps its title and index. The debug first-row bind warning measured 18.2 ms with the prop and 31.2 ms without on warm launches, so there's no visible cost. TalkBack itself was not run.
Re-tested after the move to ARIA names and the rebase onto main:
aria-hiddenstill drops the filler lines from grouped rows on both platforms.