--- name: a11y description: "Universal accessibility best practices and standards across all technologies (HTML, CSS, React, MUI, Astro, React Native). WCAG 2.1/2.2 Level AA compliance, semantic HTML, ARIA, keyboard navigation, color contrast. Trigger: When implementing UI components, adding interactive elements, or ensuring accessibility compliance." allowed-tools: - documentation-reader - web-search - file-reader --- # Accessibility (a11y) Skill ## Overview This skill centralizes accessibility guidelines and best practices for all technologies and frameworks used in the project, including HTML, CSS, React, MUI, Astro, React Native, and more. It covers semantic structure, ARIA usage, color contrast, keyboard navigation, and compliance with WCAG and WAI-ARIA standards. ## Objective Ensure all user interfaces meet accessibility standards (WCAG 2.1/2.2 Level AA minimum) across all technologies. This skill provides universal accessibility guidance that technology-specific skills can reference. --- ## When to Use Use this skill when: - Building UI components with interactive elements - Implementing forms, modals, or custom widgets - Adding dynamic content or live regions - Ensuring keyboard navigation - Reviewing accessibility compliance - Testing with screen readers Don't use this skill for: - Technology-specific implementation (delegate to react, html, etc.) - General coding patterns (use conventions skill) - Pure backend logic (no UI) --- ## Critical Patterns ### ✅ REQUIRED: Semantic HTML Elements ```html
Content
Content
Submit
``` ### ✅ REQUIRED: Keyboard Accessibility ```typescript // ✅ CORRECT: Keyboard events