Accessibility for Storybook
Integrates WCAG 2.2 compliance and automated accessibility auditing into Storybook workflows using axe-core and WAI-ARIA patterns.
This skill provides a comprehensive playbook for implementing accessibility in Storybook, centering on the @storybook/addon-a11y configuration and axe-core integration. It guides developers through setting up automated audits that fail on violations in CI via Vitest browser mode, while offering a deep reference for WAI-ARIA patterns and manual checks that automated tools miss. Whether you are performing a contrast audit, building keyboard-accessible components, or verifying WCAG 2.2 AA compliance, this skill ensures your component library is inclusive and robust from the ground up.
Key Features
01Standardized patterns for accessibility stories including Focus, Keyboard, and Reduced Motion.
02CI/CD integration using Vitest browser mode to fail builds on a11y violations.
03Comprehensive WAI-ARIA cheatsheet for roles, states, and properties.
04Manual check checklists for focus traps, screen reader announcements, and touch targets.
052 GitHub stars
06Automated WCAG 2.2 AA auditing via axe-core and @storybook/addon-a11y integration.
Use Cases
01Configuring and troubleshooting the official Storybook accessibility addon.
02Enforcing keyboard navigation and ARIA standards across a component library.
03Performing deep accessibility audits on complex UI molecules and organisms.