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 TouchableWithoutFeedback on Android #28771

Closed
bpoore opened this issue Apr 27, 2020 · 5 comments
Closed

Cannot disable accessible for TouchableWithoutFeedback on Android #28771

bpoore opened this issue Apr 27, 2020 · 5 comments
Labels
Needs: Author Feedback Newer Patch Available Platform: Android Android applications. Stale There has been a lack of activity on this issue and it may be closed soon.

Comments

@bpoore
Copy link

bpoore commented Apr 27, 2020

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

@chrisglein chrisglein added Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. Newer Patch Available Platform: Android Android applications. and removed Needs: Triage 🔍 labels Apr 29, 2020
@github-actions
Copy link

⚠️ Using Old Version
ℹ️ It looks like you are using an older version of React Native. Please upgrade to the latest version, and verify if the issue persists. If it does not, please let us know so we can close out this issue. This helps us ensure we are looking at issues that still exist in the current release.

@github-actions
Copy link

⚠️ Missing Environment Information
ℹ️ Your issue may be missing information about your development environment. You can obtain the missing information by running react-native info in a console.

@chrisglein
Copy link

Is this intended as a reactivated dupe of #25921? Anything different other than the version bump from 0.60.4 to 0.60.5?

@react-native-bot react-native-bot removed the Needs: Environment Info Please run `react-native info` and edit your issue with that command's output. label Apr 29, 2020
@stale
Copy link

stale bot commented Jul 29, 2020

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 Jul 29, 2020
@stale
Copy link

stale bot commented Aug 8, 2020

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 Aug 8, 2020
@facebook facebook locked as resolved and limited conversation to collaborators Oct 1, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Author Feedback Newer Patch Available 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

3 participants