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

Issue: Dropdown does not pass A11 Accessibility linting #214

Open
ParkerSchmitt opened this issue Sep 15, 2023 · 0 comments · May be fixed by #215
Open

Issue: Dropdown does not pass A11 Accessibility linting #214

ParkerSchmitt opened this issue Sep 15, 2023 · 0 comments · May be fixed by #215

Comments

@ParkerSchmitt
Copy link

ParkerSchmitt commented Sep 15, 2023

I have a project that uses this component along with https://github.com/aryella-lacerda/react-native-accessibility-engine to help enforce accessibility within our UI.

Accessibility assertions failing output:

DropDown > View > TouchableWithoutFeedback

    Problem:  "This component is pressable but the user hasn't been informed that it behaves like a button/link/radio"
    Solution: "Set the 'accessibilityRole' prop to button or link or imagebutton or radio or tab"

 View > View > TouchableWithoutFeedback

    Problem:  "This component is pressable but the user hasn't been informed that it behaves like a button/link/radio"
    Solution: "Set the 'accessibilityRole' prop to button or link or imagebutton or radio or tab"

    Problem:  "This button is not accessible (selectable) to the user"
    Solution: "Set the 'accessible' prop to 'true' or remove it (pressables are accessible by default)"
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

Successfully merging a pull request may close this issue.

1 participant