-
Notifications
You must be signed in to change notification settings - Fork 24.8k
Closed
Labels
AccessibilityBugComponent: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.
Description
Description
Our project is a hybrid of React Native modules and native UI. We are adding accessibility to our App and are hitting a weird issue with Talkback in TextInput:
If there is any clickable element before a TextInput in the view hierarchy, double tapping to add focus to the TextInput using Talkback sends the focus to the clickable element before it.
Reproduction
I have been able to reproduce the bug in a sample app: https://github.com/oargaruna/TextInputTalkback
- Deploy the App on an Android device
- Enable Talkback (from Settings -> Accessibility) and open the Sample App
- Tap once on the TextInput to give it Talkback focus
- Tap twice to try to get the keyboard to come up
We expect the keyboard to show up with focus on the TextInput, but the focus jumps to the TouchableOpacity element defined before it.
If the TouchableOpacity element is removed, this behaviour is not reproducible.
Additional Information
- React Native version: 0.41.1
- Platform: Android
gluons, FLGMwt and thymikee
Metadata
Metadata
Assignees
Labels
AccessibilityBugComponent: TextInputRelated to the TextInput component.Related to the TextInput component.Platform: AndroidAndroid applications.Android applications.Ran CommandsOne of our bots successfully processed a command.One of our bots successfully processed a command.StaleThere has been a lack of activity on this issue and it may be closed soon.There has been a lack of activity on this issue and it may be closed soon.