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

Accessibility Issues #757

Open
avnerarbel1 opened this issue Jun 17, 2024 · 0 comments
Open

Accessibility Issues #757

avnerarbel1 opened this issue Jun 17, 2024 · 0 comments

Comments

@avnerarbel1
Copy link

The DropDownPicker has several accessibility issues.
When in VoiceOver mode, the element should declare its role and state.

Level A - 1.3.1 Info and Relationships -

An easy fix - add role and state to the dropdown:
<TouchableOpacity accessibilityRole='combobox' accessibilityState={{expanded: open}} style={_style} onPress={__onPress} onLayout={__onLayout} {...props} ref={onRef} pointerEvents={pointerEvents} disabled={disabled} testID={testID}>

In addition, the accessibility properties should be exported:
accessible
accessibilityRole
accessibilityState
accessibilityLabel

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

No branches or pull requests

1 participant