Accessibility Guardrail & Compliance
Enforces WCAG 2.1 AA compliance and ARIA standards through automated hooks and component pattern validation.
This skill automates the enforcement of web accessibility standards within your codebase, specifically targeting React components and frontend development workflows. It utilizes PostToolUse hooks to catch common accessibility violations like missing ARIA labels, improper keyboard event handlers on non-semantic elements, and invalid nested interactive components. By integrating Playwright AXE and a comprehensive visual checklist, it ensures your application remains WCAG 2.1 AA compliant while preventing regressions in focus management, touch targets, and motion preferences.
Key Features
01Detection and prevention of nested interactive elements to avoid event bubbling bugs.
02Automated ARIA attribute enforcement for interactive widgets and screen readers.
03Integration with Playwright AXE for automated accessibility testing fixtures.
04Validation of keyboard event handlers for mouse-only click events on div or span tags.
05Visual checklist validation for focus rings, touch targets, and high-contrast modes.
063 GitHub stars
Use Cases
01Standardizing accessible UI patterns such as focus management and touch target sizing across teams.
02Achieving and maintaining WCAG 2.1 AA compliance in enterprise web applications.
03Automating accessibility audits during the code review process or pre-commit stage.