-
Notifications
You must be signed in to change notification settings - Fork 296
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
accessibilityLabel for Picker not read by VoiceOver #310
Comments
I just updated our app to use @react-native-picker/picker 2.4.0, and I'm still running into this issue. It's making the Sleep Timer in Podverse almost unusable for screen reader users, as we can't announce each individual "hours" "minutes" "seconds" column. Are we the only ones running into this issue? Other than setting an accessibilityLabel to the component, I'm not sure what else we're supposed to do to make this work. Also, when I test the iOS Clock app and use its picker for sleep alarms, it reads "5 hours" or "30 minutes"...maybe the accessibilityLabel needs to be added to the Picker.Item rather than the Picker? |
It looks like accessibility-related props aren't being added to the final picker element at all. This is what I get as the rendered JSX when I was trying to write tests using Test:
Code under test:
Output of
|
I'm also running into this issue, using the Picker with React Native Windows. Any |
🎉 This issue has been resolved in version 2.4.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@Naturalclar I believe this still might be an issue for iOS, since I only really fixed it for Windows. Would you be able to re-open it? |
Hi @Naturalclar I can confirm that this issue still persists with 2.4.4 |
Still seeing this on 2.7.5 |
Reopening it for iOS |
Hi, @Naturalclar I'm a blind engineer. I'm using this component in an iOS development, and I can confirm that this issue still persists on this platform. Could you please take a look at it? I would try to fix it, but my Objective C skills are nil. Thanks in advance! |
🎉 This issue has been resolved in version 2.8.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@Naturalclar Yeaaaah! ¡Tested with Voice over and it works like a charm! Thanks!!!!!!!!!!!!! |
@react-native-picker/picker 1.16.5
iOS 14
I can't get the accessibilityLabel to be read by VoiceOver on an iOS device with a simple Picker example. Instead it is reading the currently selected PickerItem for the focused Picker. Am I doing something wrong? Or does the accessibilityLabel prop on the Picker not get read by VoiceOver?
In the example below I would like the word "hours" read before
In the render:
How the
hourItems
is defined:It also seems that I cannot change the accessibilityLabel or accessibilityHint for the PickerItems, so I have no way of announcing to the user this Picker value represents the selected number of hours.
The text was updated successfully, but these errors were encountered: