Skip to content

Android: Selected State does not annonce when selected #30842

@amarlette

Description

@amarlette

Description

Does not announce "selected" on focus of:

React Native version:

v0.63

Expected Behavior

Upon focus of an element with the "selected" accessibilityState set to true, the focus announcement should say "selected". Upon change from selected to not selected, no additional announcement should be made, however on state change from unselected to selected, an announcement of "selected" should be made. This works properly on some element, such as <Text>, and not on others, such as <Button>.

Snack

https://snack.expo.io/NCALByZTa

Android Details

The "selected" accessibilityState should correlate with Android's View's "selected" property, which seems to be properly working in most instances. It is likely the components where this doesn't work have problems on the Javascript side, and not the Android side.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions