What problem does it solve?
This Skill empowers developers to write precise, non-flaky, and meaningful accessibility tests for their web applications using Vitest, ensuring WCAG compliance and adherence to W3C ARIA Authoring Practices.
Core Features & Use Cases
- Comprehensive Accessibility Testing: Covers W3C ARIA patterns, WCAG 2.2 AA/AAA compliance, and real browser testing.
- Mode Selection: Guides the use of Vitest's Browser Mode for interactive tests and jsdom mode for structural checks and axe scans.
- Automated Fixes: Includes a mandatory autofix behavior for detected accessibility violations.
- Use Case: Ensure your new modal component is fully accessible by testing its focus management, keyboard navigation, ARIA attributes, and screen reader announcements using Vitest Browser Mode.
Quick Start
Use the vitest-a11y skill to write accessibility tests for the provided React component.