Notes

  • Two widgets - the listbox itself and the toggle to hide/show
  • Lots of keyboard handling required.
  • Needs to track activedescendant so that focus can start at correct item
  • Why don't we just use a <select>

Gist