~/talk

Building an accessible auto-complete

slides:none on file

Step-by-step recipe for an accessible autocomplete: build a form with a labeled input, a separate Clear button (avoid browser-internal clear controls), a submit button, a UL of suggestions and a hidden div for instructions; use aria-expanded toggled true/false, aria-owns linking input to the results, role="listbox" on the UL and role="option"/aria-selected on LIs, tabindex management and aria-live="assertive" for dynamic counts; support Tab, Enter, Up/Down, Escape, restore sensible focus after actions and test with VoiceOver, NVDA or JAWS.

AI-written summary · about

  1. 0:00Introduction
  2. 8:01Focus
  3. 10:05Keyboardonly
  4. 16:28Markup
  5. 21:11DescribeBy
  6. 23:07Owns
  7. 24:09Expanded
  8. 26:17Unordered List
  9. 29:44Hidden div
  10. 32:55Other good examples
  11. 36:29Where focus goes
  12. 40:06Seeing real users
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.