Reusable Widgets That Work!
summary
Demonstrates building accessible, reusable tabs, accordions, toggle buttons and modal dialogs with Vue.js and WAI‑ARIA rules, showing live CodePen/GitHub examples that actually trap focus, close on Escape and restore focus to the opener. Implements a Vue focus directive to focus across components, focus guards to enforce tab trapping, slot-based components for reusable headers/buttons and aria-pressed toggles that change only state attributes while keeping visible labels stable.
AI-written summary · about
