-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
TextInput accessibilityValue
is ignored on iOS
#29981
Comments
|
This is working as intended. From the UIKit Documentation:
The accessibility values are automatically inferred as per the accessibility attributes for UIControl. |
Sorry for my delayed response. I understand your point as to why the We can easily work around this, but I am curious as to why this wouldn't be considered a bug when it conflicts with what is outlined in documentation (and behaves as I expected in Android). |
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. |
This issue was closed because it has been stalled for 7 days with no activity. |
Any updates on this? We would also like to use |
Description
Using a
TextInput
with anaccessibilityValue
andvalue
, I find that in iOS only thevalue
is read aloud andaccessibilityValue
is ignored. For example:<TextInput accessibilityValue={text: "read me instead"} value={"value"}/>
would read "Value" instead of "Read me instead"React Native version:
0.63.2
Expected Results
I expect the
accessibilityValue
takes precedence, as I am able to do in other types of Views. I think I was able to see it behave as expected in Android, but it could've been coincidence.The text was updated successfully, but these errors were encountered: