-
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
accessibilityLabel does not work for Text component on iOS #14123
Comments
Thank you, @curioustechizen! I will fix that. |
Hi there! This issue is being closed because it has been inactive for a while. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. Either way, we're automatically closing issues after a period of inactivity. Please do not take it personally! If you think this issue should definitely remain open, please let us know. The following information is helpful when it comes to determining if the issue should be re-opened:
If you would like to work on a patch to fix the issue, contributions are very welcome! Read through the contribution guide, and feel free to hop into #react-native if you need help planning your contribution. |
@curioustechizen Could you please verify that it is already fixed? (It should be.) |
@shergin Does not seem to be fixed. With
I still see Is there a way to programmatically display current RN version on screen - just to make sure I'm not messing something up? |
@curioustechizen You can use https://github.com/rebeccahughes/react-native-device-info#example to get the current version. |
@Leeds-eBooks I don't want to display the app version - I want to find out the version of ReactNative that's being used in the app. I couldn't find a way to do that with the linked library. |
Ah stupid me, sorry! A hacky way would be to |
Hello. Any updates regarding this issue? |
Sorry, not yet. 😞 (t21623750) |
@shergin thank you for the quick response. |
We are currently working at it. I will keep posting updates here. |
Thank you. |
Hello @shergin, |
@curioustechizen @vasyares The fix has been made and is in a PR. Setting the |
This has been fixed as of 915a020 |
Description
Continuing the discussion from #13648 (comment), for
<Text>
component on iOS, the actual label of the text always overrides thetestID
andaccessibilityLabel
Reproduction Steps and Sample Code
react-native init
Expected: The Accessibility Inspector should say the Label is
welcome
.Actual: The Accessibility Inspector says the Label is
Welcome to React Native!
.Note: - with the same set of properties on Android the
contentDescription
iswelcome
which is what I expect.Additional Information
The text was updated successfully, but these errors were encountered: