~/talk

Stuck in a Focus Trap

slides:none on file

Shows that a custom modal implementation fails common accessibility checks while the native dialogue element passes all four tested behaviors: opens, traps focus, puts focus on the first control, closes with Escape and returns focus to the opener. Demonstrates a resilient Oreo focus style (multiple rings) that stays visible on varied backgrounds, uses the built‑in color picker and radio/checkbox keyboard behaviors, and explains tabindex values (0, -1, positive) with the recommendation to avoid positive tabindex in favor of careful DOM order.

AI-written summary · about

  1. 0:00Keyboard accessibility intro
  2. 1:08Web use with keyboard
  3. 3:18Focus rings in action
  4. 7:20Keyboard navigation basics
  5. 9:09Good focus style
  6. 12:25Interactive elements focus
  7. 14:33Testing with radio buttons
  8. 16:40JS focus pitfalls
  9. 17:02Focus trap explained
  10. 20:15Custom vs HTML dialogue traps
  11. 23:31Testing focus traps
  12. 24:17HTML tabindex explained
  13. 28:58When to use tabindex -1
  14. 30:20Risks of tabindex >0
  15. 30:40Focus management summary
  16. 31:43Q&A on SPAs
  17. 34:33WCAG focus standards
  18. 36:18Skip links importance
~/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.