Skip to content

Selected State does not annonce when ProgressBarAndroid Component selected #64

@amarlette

Description

@amarlette

From facebook/react-native#30958

Description

Does not announce "selected" on the focus of ProgressBarAndroid Component.

This issue is covered in-depth by parent issue #30842, please check there for more details.

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.

React Native version:

0.63

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions