Reusable Widgets That Work!
summary
Concrete, working patterns for accessible widgets: reusable Vue.js (and Svelte) components that implement focus traps and role="dialog" aria-modal="true" for modals, focus guards and tabindex="-1" to restore focus, and aria-pressed/aria-expanded/aria-controls for toggle buttons, accordions and tabs. Demos use GitHub-hosted code, Chrome Accessibility pane to inspect computed names, and VoiceOver to show AT/browser differences — toggles and dialogs change ARIA states live and the examples demonstrate looping focus and reliable keyboard behavior.
AI-written summary · about
chapters (7)
- 0:00Start
- 1:23The freshest software
- 5:55Framework
- 6:12Continuous Development
- 24:36Modal Example
- 30:34Toggle Button Examples
- 33:26Accordions Keyboard Interaction








