Android: Checked/Unchecked State does not announce #30843
Labels
Accessibility Team - Evaluated
Accessibility
Platform: Android
Android applications.
React Native Engineering - Evaluated
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 theAccessibilityNodeInfo
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.The text was updated successfully, but these errors were encountered: