-
Notifications
You must be signed in to change notification settings - Fork 944
Closed
Labels
Milestone
Description
Here are some things I found when I tested the component!
What Works
- It works great from the keyboard. Very intuitive, and the clear results button is actionable. 👍
- Great job announcing the number of items available!
What Needs Work
- The input needs a label, as
placeholderisn't reliable in every assistive technology. You could use a uniquearia-label, or ideally, a<label>element with text wrapping the input (which increases the hit area). - In Voiceover, you can't navigate with the arrow keys alone so the directions announcing "navigate with the up and down arrow keys" is inaccurate. You could try adding
aria-activedescendantto the INPUT pointing to the ID of the currently highlighted item as you navigate. Here's a similar thread you could reference. - When an item is selected, the a11y-status-message says "no results" (see attached screenshot). It should say which item is selected. Same thing in NVDA and Voiceover.
Note: I can't even get codesandbox.io to load in IE, so I was unable to test it with JAWS.
dashed, ferdinandsalis, krambertech and razhgregwolanski, connor-baer and buda-fibonalabs
