Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Announce checkbox and radio button roles on VoiceOver (#37414)
Summary: Pull Request resolved: #37414 Previously, when focusing on a checkbox or radio button in React Native Fabric with VoiceOver, it wasn't announcing the role, e.g. "checkbox". Instead it would just say [label][state], e.g. "Automatically check for updates, unchecked". This is an extremely confusing experience for screen reader users because they don't know what kind of element they are focusing, including how to interact with it. "checkbox" and "radio button" aren't recognized as [Apple iOS traits](https://developer.apple.com/documentation/uikit/uiaccessibilitytraits?language=objc), but we'd like to have consistency with the mobile safari experience. Reviewed By: cipolleschi Differential Revision: D45797554 fbshipit-source-id: 418e73342aaa8d0986e330bfd54078be27d3491f
- Loading branch information