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

Picker Accessibility: Does it announce "disabled" or Checked/Unchecked State #215

Open
amarlette opened this issue Feb 21, 2021 · 0 comments
Labels
good first issue Good for newcomers

Comments

@amarlette
Copy link

amarlette commented Feb 21, 2021

Picker Accessibility

In regards to facebook/react-native#30940, facebook/react-native#30962, facebook/react-native#30946 & facebook/react-native#30957 has react-native-picker already addressed these accessibility issues? Any help in identifying if this issue has been addressed in this repo would be greatly appreciated!

Picker Component does not announce "disabled"

Expected results

When a component is "disabled", screen readers should announce this as part of their focus announcement. Clicks to these elements should also have no effect.

Picker Component does not announce Checked/Unchecked State

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.

Picker Component doesn't disable click functionality when disabled

Expected results

When a component is "disabled", screen readers should announce this as part of their focus announcement. Clicks to these elements should also have no effect.

If a component has both a "disabled" prop and allows "accessibilityState: disabled", the "disabled" prop should be the authority on the state of the component (ignoring accessibilityState: disabled).

Selected State does not annonce when Picker Component selected

Expected results

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>.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants