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

Conversation

carmenvkrol
Copy link
Contributor

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, but we'd like to have consistency with the mobile safari experience.

Reviewed By: cipolleschi

Differential Revision: D45797554

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner fb-exported labels May 12, 2023
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45797554

@analysis-bot
Copy link

analysis-bot commented May 12, 2023

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 8,732,590 -3
android hermes armeabi-v7a 8,043,922 -3
android hermes x86 9,221,936 -4
android hermes x86_64 9,074,911 -1
android jsc arm64-v8a 9,297,784 -2
android jsc armeabi-v7a 8,486,547 -5
android jsc x86 9,358,531 -1
android jsc x86_64 9,615,108 -5

Base commit: d8ced6f
Branch: main

carmenvkrol added a commit to carmenvkrol/react-native that referenced this pull request May 15, 2023
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: ec5213a385611e37a7d208c1d091ac5b1d9eac19
carmenvkrol pushed a commit to carmenvkrol/react-native that referenced this pull request May 15, 2023
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.

Differential Revision: https://www.internalfb.com/diff/D45797554?entry_point=27

fbshipit-source-id: 6354a7687d2c70c2736aa8e426ba043f58f1f502
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45797554

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 pushed a commit to carmenvkrol/react-native that referenced this pull request May 15, 2023
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.

Differential Revision: https://www.internalfb.com/diff/D45797554?entry_point=27

fbshipit-source-id: d851c29f8e5ed1f77480b1ce261febde0e3ec62b
@facebook-github-bot
Copy link
Contributor

This pull request was exported from Phabricator. Differential Revision: D45797554

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label May 15, 2023
@facebook-github-bot
Copy link
Contributor

This pull request has been merged in 12f4a19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants