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

Announce checkbox and radio button roles on VoiceOver #37414

Closed
wants to merge 1 commit into from

Commits on May 15, 2023

  1. Announce checkbox and radio button roles on VoiceOver (facebook#37414)

    Summary:
    Pull Request resolved: facebook#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: e00a4bdde39cc960aea26d46c5e7f4500ed80fef
    carmenvkrol authored and facebook-github-bot committed May 15, 2023
    Configuration menu
    Copy the full SHA
    03cdb15 View commit details
    Browse the repository at this point in the history