-
Notifications
You must be signed in to change notification settings - Fork 24.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot disable accessible for TouchableWithoutFeedback on Android #28771
Comments
|
|
Is this intended as a reactivated dupe of #25921? Anything different other than the version bump from 0.60.4 to 0.60.5? |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
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
The text was updated successfully, but these errors were encountered: