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

Android: Checked/Unchecked State does not announce #30843

Closed
5 tasks
amarlette opened this issue Feb 3, 2021 · 1 comment
Closed
5 tasks

Android: Checked/Unchecked State does not announce #30843

amarlette opened this issue Feb 3, 2021 · 1 comment

Comments

@amarlette
Copy link

amarlette commented Feb 3, 2021

Description

Does not announce "checked"/"not checked" on focus of:

Note: This is likely directly related to #30843, where the "selected" accessibilityState is equally non-functional on this same set of components.

React Native version:

0.63

Expected Behavior

Upon focus of an element with the "checked" accessibilityState, the screen reader should announce either "checked" or "not checked", or in the case of elements with the "switch" role, it should announce "on" or "off". Upon activation, if the state is changed, the new state should be announced.

Snack

https://snack.expo.io/ncQPLFuOz

Android Details

The "checked" accessibilityState should correspond to the "checked" property of the AccessibilityNodeInfo. For it to function properly, the "checkable" property of the AccessibilityNodeInfo must also be set to true. Since this is working for most components, I believe this is correctly implemented, and the issue lies on the Javascript side for these individual components.

@blavalla
Copy link
Contributor

This parent issue is no longer useful for tracking, see sub-issues for details.

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

No branches or pull requests

3 participants