Accessible.JS
summary
JavaScript must not break accessibility; the talk gives concrete fixes: use aria-live="polite"/"assertive" for timed updates, toggle aria-hidden when showing modals and restore document.activeElement afterward, use tabindex="-1" to remove offscreen focusable items and set tabindex=0/1 for custom widgets, and always add keyboard handlers alongside onclick. Tests recommended are Lighthouse, WAVE, ChromeVox and a11y.js; notes legal risk (EU 2016 directive, UK lawsuits) and links to a demo and GitHub repo (accessible-js).
AI-written summary · about








