Skip to content
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 touchables on Android #25921

Closed
RyanThomas73 opened this issue Aug 2, 2019 · 2 comments
Closed

Cannot disable accessible for touchables on Android #25921

RyanThomas73 opened this issue Aug 2, 2019 · 2 comments
Labels
Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@RyanThomas73
Copy link

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

  1. Add a touchable component to the view with the accessible property set explicitly to false: accessible={false}. Note: I've tried adding the importantForAccessibility={'no-hide-descendants'} property as well and the bug still occurs.
  2. 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.

https://snack.expo.io/ByS5pkG7S

@react-native-bot react-native-bot added the Platform: Android Android applications. label Aug 2, 2019
@stale
Copy link

stale bot commented Oct 31, 2019

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.

@stale stale bot added the Stale There has been a lack of activity on this issue and it may be closed soon. label Oct 31, 2019
@stale
Copy link

stale bot commented Nov 7, 2019

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.

@stale stale bot closed this as completed Nov 7, 2019
@facebook facebook locked as resolved and limited conversation to collaborators Nov 8, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.
Projects
None yet
Development

No branches or pull requests

2 participants