role prop not supported unlike accessibilityRole
getusha opened this issue · comments
Encountering the following error:
Missing a11y props. Expected one of: accessibilityRole OR BOTH accessibilityLabel + accessibilityHint OR BOTH accessibilityActions + onAccessibilityAction
Despite having a valid role
value, this error is being triggered.
Example
<Image role="img" />
accessibilityRole is deprecated in react-native-web additionally the role
prop has precedence over the accessibilityRole prop.
Any plans to merge this PR?