Inaccessible websites? - it's you, not JavaScript
summary
Claim: JavaScript often causes, not solves, accessibility failures and small fixes restore usability. Demos show a div-as-button that excludes keyboard users and is fixed with tabindex + role + keydown and preventDefault; a modal that requires focus trapping, Escape to close and focus restore and the sample code implements and works; motion respects prefers-reduced-motion media query or matchMedia; WHO stat 15% appears. Testing and dev tools used include Lighthouse aXe Wave and VS Code/webhint and eslint-plugin-jsx-a11y.
AI-written summary · about
chapters (13)
- 0:00Start
- 2:44Multiple type of disabilities
- 3:21Cognitive and neurological
- 6:10versus for interactivity
- 11:16Keyboard interactions
- 12:35Event handlers
- 17:13Modal interactions
- 24:48Use Case - Animations
- 28:14Useful tools and extensions
- 30:48TESTING
- 31:00DEVELOPMENT
- 32:43Conclusion
- 33:25Resources
related talks
30mAccessible.JS
33mAccessibility and JS: side-by-side
42mCSS, JavaScript and Accessibility
29mJavaScript for Everybody
38mWeb accessibility - it's not just about HTML
32mCommon ways we break accessibility and how to avoid them
41mWhat If We Talked About Web Accessibility?
26mMake the internet a better place - with coding for accessibility
