~/talk

Making Single Page Apps accessible

Talkat Laracon AU 2019 · on Thursday, 2019-10-31· [accessibility, frontend-architecture]
slides:none on file

Shows concrete fixes for SPA accessibility: use semantic HTML not div soup, link labels to inputs or hide them with an sr-only pattern, update document.title and manage focus on client-side routing with refs and tabindex=-1, prefer native buttons to div hacks, use fragments to avoid extra DOM nodes, and test with tooling like axe Lighthouse Accessibility Insights plus keyboard checks and VoiceOver or NVDA. Implementations and code patterns are described, not just theory.

AI-written summary · about

  1. 0:00Intro
  2. 2:17Are JavaScript frameworks bad for accessibility?
  3. 3:01What is web accessibility?
  4. 3:41357,000 Australians have a visual impairment
  5. 3:581 in 6 Australians are affected by hearing loss
  6. 4:34Accessibility benefits everyone
  7. 7:11Semantic HTML
  8. 10:46Fragments for valid html
  9. 12:12Inputs & labels
  10. 15:13Page titles
  11. 16:38Visible focus styles
  12. 18:00Focus management
  13. 18:12SPA'S use silent routing
  14. 22:09Tooling & Testing
  15. 24:51Automated testing is just the first step
  16. 26:37Screenreader
~/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.