Accessibility-Flavored React Components Make Your Design System Delicious!
summary
Shows concrete React components and code patterns: an icon component with guardrails that falls back to a label or renders aria-hidden, a button that supports icon children and aria-label, an input component with aria-invalid, aria-describedby and aria-live polite error announcements, and a disclosure widget using useState/useRef/useEffect for aria-expanded, focus management, escape and click‑outside handling. Demonstrations use Font Awesome React, Storybook, Gatsby, CodeSandbox and Vercel and cites WebAIM stats like 97.8% pages with accessibility errors, aria-expanded and aria-haspopup, useState/useRef/useEffect hooks.
AI-written summary · about
chapters (13)
- 0:00Introduction and agenda
- 1:04Why accessibility first?
- 4:23Design systems as cookbooks
- 8:00React as a kitchen utensil
- 9:11Accessible icon patterns
- 13:03Building an accessible icon component
- 17:27Accessible buttons with icons
- 20:16Accessible input components
- 24:11Disclosure widget patterns
- 36:28Demo of disclosure widgets
- 44:17Documenting components for accessibility
- 46:03Summary and closing
- 46:46Q&A on modals and Thor
