Cannot disable accessible for touchables on Android #25921
Labels
Bug
Platform: Android
Android applications.
Stale
There has been a lack of activity on this issue and it may be closed soon.
After updating from react-native 0.59 -> 0.60, setting
accessible={false}
on touchables does not prevent the component from being seen as an accessible group on android devices.I've tested with both
<TouchableOpacity />
and<TouchableWithoutFeedback />
React Native version:
0.60.4
Steps To Reproduce
accessible={false}
. Note: I've tried adding theimportantForAccessibility={'no-hide-descendants'}
property as well and the bug still occurs.Expected Behavior: If the component is part of a parent accessible grouping it is not individually selectable by the screen reader. If the component is not part of a parent accessible grouping then the children (e.g. text) may still be selectable by the screen reader depending on other values (e.g.
importantForAccessibility
).Actual Behavior: The touchable component is always seen as accessible by the screen reader. When part of a parent accessible grouping the parent is selectable and then the child touchable is selectable. Additionally the child touchable always reads out the hint, double tap to activate.
https://snack.expo.io/ByS5pkG7S
The text was updated successfully, but these errors were encountered: