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
Summary: 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: 4a3ebc804de01606dd7cdaf6d753ea5d59789a29
- Loading branch information