You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new aria-* props are being rendered to mocked View, Text, TextInput components directly without translation to original accessibilityState prop. Therefore, we need to modify related checks to account for these.
Summary
The new
aria-*
props are being rendered to mockedView
,Text
,TextInput
components directly without translation to originalaccessibilityState
prop. Therefore, we need to modify related checks to account for these.Scope:
role
feat: supportrole
prop #1476aria-hidden
feat: support aria-hidden prop #1474aria-label
feat: supportaria-label
andaria-labelledby
props #1475aria-labelledby
feat: supportaria-label
andaria-labelledby
props #1475aria-modal
feat:aria-modal
support #1481aria-disabled
,aria-selected
,aria-checked
,aria-busy
,aria-expanded
feat:aria-*
state props #1478aria-value*
feat:aria-value*
props support #1480Evidence
References
aria-*
props transformations - https://github.com/facebook/react-native/blob/3c87455c128af58dc62a2a4212573a9d8fcaf985/packages/react-native/Libraries/Components/View/View.js#L28aria-*
props transformation - https://github.com/facebook/react-native/blob/3c87455c128af58dc62a2a4212573a9d8fcaf985/packages/react-native/Libraries/Text/Text.js#L29aria-*
props transformation - https://github.com/facebook/react-native/blob/3c87455c128af58dc62a2a4212573a9d8fcaf985/packages/react-native/Libraries/Components/TextInput/TextInput.js#L1416Test plan
Add relevant test cases.
The text was updated successfully, but these errors were encountered: