Interview practice question
Building an accessible autocomplete search
Frontend Engineering · Accessibility · Experienced
How would you build an accessible autocomplete search input with suggestions?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Combobox pattern: input role combobox, listbox popup.
- aria-expanded, aria-controls, aria-activedescendant.
- Arrow keys, Enter, Escape.
- Announce result counts (live region).
- Don't move focus off input.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.