-
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
[Accessibility, Android] Adding testID cause malfunction to android talkback #42359
Comments
|
|
Looks like a duplicate of #32969 |
This issue is waiting for author's feedback since 24 days. Please provide the requested feedback or this will be closed in 7 days. |
Well, I'm not sure this is the same, the one you sent is talking about a problem of a text, mine is talking something that becomes not accessible |
I found that this bug is not present on a scroll view. So, although not ideal, a potential workaround could be to use a custom View component which you can then swap back when the bug is resolved. This custom View could be something like this:
|
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
1 similar comment
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days. |
Still seeing this on React Native 0.75.3 |
Okay. in my App I found that (v6) However, I cannot reproduce this issue in a new project. I also upgraded our app to |
I'm not able to reproduce this issue using the example in the description, I tried out with both "Read from next item" from the TalkBack menu which basically focuses automatically in available elements but also with manual focusing and both seem to work with and without testID in the view. See my video: Screen.Recording.2025-01-19.at.11.49.20.movPlease try using the latest version, it might have been fixed already since the report. |
Using @react-navigation/native-stack@npm:7.2.0 the TalkBack issue persist. Having testID prop messes things up heavily, simply removing it make things work. |
My workaround is to use |
Description
I have the following React Native code:
I'm working on accessibility to my app and found that after adding the
testID
above, I cannot focus on each one of the texts on talkback mode, the talkback focus them together only. This is reproduced in android only.When removing the
testID
, each of the texts is focused separately as needed for the talkback. But since it is a big app with a lot of tests, removingtestID
s from the components is not an option.It is not reproduced in iOS.
Can you please advise? Thanks
Steps to reproduce
React Native Version
0.71.13
Affected Platforms
Runtime - Android
Output of
npx react-native info
Stacktrace or Logs
Reproducer
N/A
Screenshots and Videos
No response
The text was updated successfully, but these errors were encountered: