Accessibility
Add WCAG accessibility rules to your agents and audit your code.
Three-Prong Approach
Hypr's accessibility approach combines three strategies:
- Generate Accessible Code
Add WCAG rules to your agents so they produce accessible code from the start.
- Third-Party Tools
Integrate tools like axe-core in CI/CD for automated testing.
- AI Review
Use the Accessibility Analyzer for comprehensive audits.
Adding Accessibility Rules
Enable accessibility rules on your existing agents:
/hypr:a11y This adds WCAG 2.1 AA rules to your frontend and backend executors, so they generate accessible code by default.
Running an Audit
Audit existing code against WCAG criteria:
/hypr:a11y-audit The Accessibility Analyzer grades your code against all 78 WCAG 2.1 success criteria and reports the conformance level (A, AA, or AAA).
Related Commands
- /hypr:a11y - Enable accessibility rules