SpinTheMic
Pro

Interview practice question

A custom dropdown can't be used with a keyboard

Frontend Engineering · Accessibility · Intermediate

A custom-styled dropdown select only works with a mouse. How would you make it accessible?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Prefer native select (stylable increasingly).
  • Otherwise follow combobox/listbox APG pattern.
  • Keyboard: arrows, Enter, Escape, typeahead.
  • Roles and aria-expanded/activedescendant.
  • Use tested library.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics