-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Open
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet
Description
Caveat: I'm not an accessibility expert so perhaps there is an alternative mechanism available to clear selections. But the usual way (tabbing to the clear button) is not working.
Reproduction Steps
- open NVDA
- visit https://react-select.com/
- tab to any select example that has a selected item and that is clearable (at the time of this writing the first example satisfies these conditions)
- tab again
Expected Behavior
I would expect Step 4 to focus the "X" that clears the selected option.
Actual Behavior
You can't focus the clear button.
Proposed Solution
Make the clear div
a button
tag.
Am I Willing To Submit A PR For This?
Yes, absolutely. The company I work for has budget for fixing a11y issues in the open source libraries we use or that we are considering using.
Metadata
Metadata
Assignees
Labels
issue/bug-unconfirmedIssues that describe a bug that hasn't been confirmed by a maintainer yetIssues that describe a bug that hasn't been confirmed by a maintainer yet