--- name: accessibility-patterns description: Build inclusive web experiences following WCAG guidelines. Covers semantic HTML, ARIA, keyboard navigation, color contrast, and testing strategies. Triggers on accessibility, a11y, WCAG, screen readers, or inclusive design requests. license: MIT --- # Accessibility Patterns Build for everyone from the start. ## Core Principles (POUR) | Principle | Meaning | Example | |-----------|---------|---------| | **Perceivable** | Users can perceive content | Alt text, captions, contrast | | **Operable** | Users can interact | Keyboard access, enough time | | **Understandable** | Users can comprehend | Clear language, predictable | | **Robust** | Works with assistive tech | Valid HTML, ARIA | --- ## WCAG Levels | Level | Description | Target | |-------|-------------|--------| | A | Minimum | Must have | | AA | Standard | Industry standard, legal requirement | | AAA | Enhanced | Nice to have | **Target Level AA** for most projects. --- ## Semantic HTML ### Use the Right Element | Instead of | Use | |------------|-----| | `