-
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
accessible = {false} not working in Android #22086
Comments
It looks like you are using an older version of React Native. Please update to the latest release, v0.57 and verify if the issue still exists. The "⏪Old Version" label will be removed automatically once you edit your original post with the results of running |
Ran a fresh react native project using v0.57.2, reproduced the problem |
fresh project on 0.57.4? |
Just tried, same result |
If I understand the |
In my case using |
@bartolkaruza's comment seems like it explains the issue and that this is working as expected. |
Environment
OS: Windows 10
Node: 8.11.3
Yarn: Not Found
npm: 6.4.1
Watchman: 4.9.4
Xcode: N/A
Android Studio: Version 1.4.0.0 AI-141.2343393
Packages: (wanted => installed)
react: 16.5.0 => 16.5.0
react-native: ~0.57.2 => 0.57.2
Description
Setting the property "accessible" to {false} on a UI element doesn't appear to do anything.
Reproducible Demo
Create a parent text element and add 2 child text elements within it. Set the child text elements to accessible={true} and the parent to accessible={false}. Run on android with voice assistance. Notice the parent text element will receive focus and not the children, which is not expected behavior when the parent has accessible={false}
The text was updated successfully, but these errors were encountered: