Skip to content

Why was the accessibilityHidden prop added? #1921

Discussion options

You must be logged in to vote

@schlaegerz I think the rationale here is consistency to have all the aria-* equivalents with accessibility*.
Mobile (android/iOS) and web platforms have completely different accessibility requirements. There is no one-one mapping and overall it was really confusing which prop to use. (e.g. accessibilityElementsHidden or importantForAccessibility).

I think the new decision makes the library logic simple and as a developer you just have to think of aria* to accessibility*.

Why not just support aria-* then?
To be RN specific. I think there is surely some discussion with the react-native-windows team. They are also using this as a convention to put accessibility as prefix. for e.g. accessibi…

Replies: 3 comments

You must be logged in to vote
0 replies
Answer selected by schlaegerz
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1919 on February 26, 2021 16:34.