~/talk

Recipe for an Accessible Component

Talkat Reactathon 2020 · 2020-03-30..03-31· [accessibility, component-design]
links:none on file
links:none on file
slides:none on file

Builds an accessible accordion live in CodeSandbox, runs Chrome Lighthouse to find a failing contrast ratio then raises it to contrast 5.74 so it passes WCAG, swaps a div for a semantic button and adds aria-expanded aria-controls and aria-labelledby plus role=region, implements keyboard behavior with a parent-managed focused index and refs so up/down arrow navigation loops and Escape collapses, and demonstrates the component working end to end without external libraries.

AI-written summary · about

  1. 0:00Introduction
  2. 4:10Demo
  3. 7:23Coding
  4. 14:34Keyboard Navigation
  5. 19:50Conclusion
~/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.