--- name: accessibility description: Use when building or reviewing UI components for keyboard and screen reader compatibility, adding ARIA to custom widgets, auditing a page for WCAG AA conformance, or preparing for a formal accessibility review. --- # Accessibility Build UIs that work for everyone — keyboard users, screen reader users, users with motor impairments, low-vision users, and users in constrained environments. ## When to Activate - Building or reviewing UI components (forms, modals, menus, tables) - Implementing keyboard navigation or focus management - Auditing a page or component for WCAG conformance - Adding ARIA attributes to custom interactive widgets - Reviewing color palette or typography choices for contrast - Writing E2E tests that must be accessible-first - Preparing for an accessibility audit or compliance review ## WCAG Conformance Levels | Level | What it means | Typical target | |---|---|---| | A | Bare minimum — removes critical blockers | Never ship below this | | AA | Standard legal/compliance baseline (most regulations) | Default target | | AAA | Enhanced — not always achievable for all content | Aim where practical | Most legal requirements (ADA, WCAG 2.1 AA, EN 301 549) map to **AA**. ## Semantic HTML First Use the right element before reaching for ARIA. ```html
Submit
Page Title

Page Title

``` ### Landmark Regions ```html