react-native-element-dropdown icon indicating copy to clipboard operation
react-native-element-dropdown copied to clipboard

Issue: Dropdown does not pass A11 Accessibility linting

Open ParkerSchmitt opened this issue 2 years ago • 0 comments

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)"

ParkerSchmitt avatar Sep 15 '23 19:09 ParkerSchmitt