Skip to content
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

[0.18] accessibilityState and accessibilityValue deprecation? #2373

Closed
1 task done
marklawlor opened this issue Aug 24, 2022 · 3 comments
Closed
1 task done

[0.18] accessibilityState and accessibilityValue deprecation? #2373

marklawlor opened this issue Aug 24, 2022 · 3 comments
Labels

Comments

@marklawlor
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

0.18 removed accessibilityState and accessibilityValue due to deprecation in this commit 174ebb3, but I don't believe they were deprecated?

There's no mention on the React Native docs of the deprecation and are they part of the [w3c] Web Props umbrella issue as target attributes. Maybe I've missed something but I don't believe they should have been removed.

Expected behavior

Steps to reproduce

Test case

Additional comments

No response

@marklawlor marklawlor added the bug label Aug 24, 2022
@necolas
Copy link
Owner

necolas commented Aug 24, 2022

They were deprecated in React Native Web for a while, and that RFC is aimed at replacing them in React Native

@necolas necolas closed this as completed Aug 24, 2022
@marklawlor
Copy link
Contributor Author

Are you able to point in the direction on what API's to use instead?

I'm currently trying to migrate some RN components which use these props and I'm struggling to find information on it.

@intergalacticspacehighway
Copy link
Contributor

intergalacticspacehighway commented Aug 24, 2022

there are accessibility* mappings that still work. e.g. accessibilityValueMax, accessibilityValueMin, accessibilityChecked. Would need a platform check though and not very clear if they'll be supported in long term.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants