Cannot disable accessible for TouchableWithoutFeedback on Android #28771
Description
Setting accessible={false} on does not prevent the component from being seen as an accessible group on android devices.
React Native version:
0.60.5
Steps To Reproduce
Add a TouchableWithoutFeedback
component to the view with the accessible property set explicitly to false: accessible={false}.
Open the app on an android device. Enable TalkBack. Use the swipe gesture to navigate through accessible components.
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.
This issue was described in #25921 where a snack was provided. Including here as well:
https://snack.expo.io/ByS5pkG7S