# Accessibility Docs

WCAG 2.2 AA + RGAA 4.1.2. 14 topic files, every criterion assigned with complete RGAA test protocols (test conditions, methodology steps, cas particuliers, notes techniques). Load this README first, then load only relevant files.

## Quick Lookup — WCAG 2.2 A+AA

| WCAG   | Criterion                            | File                                |
| ------ | ------------------------------------ | ----------------------------------- |
| 1.1.1  | Non-text Content (A)                 | `a11y-images-media`                 |
| 1.2.1  | Audio-only/Video-only (A)            | `a11y-images-media`                 |
| 1.2.2  | Captions Prerecorded (A)             | `a11y-images-media`                 |
| 1.2.3  | Audio Description or Alternative (A) | `a11y-images-media`                 |
| 1.2.4  | Captions Live (AA)                   | `a11y-images-media`                 |
| 1.2.5  | Audio Description Prerecorded (AA)   | `a11y-images-media`                 |
| 1.3.1  | Info and Relationships (A)           | `a11y-semantic-html`, `a11y-tables` |
| 1.3.2  | Meaningful Sequence (A)              | `a11y-semantic-html`                |
| 1.3.3  | Sensory Characteristics (A)          | `a11y-color-contrast`               |
| 1.3.4  | Orientation (AA)                     | `a11y-motion-reflow`                |
| 1.3.5  | Identify Input Purpose (AA)          | `a11y-forms`                        |
| 1.4.1  | Use of Color (A)                     | `a11y-color-contrast`               |
| 1.4.2  | Audio Control (A)                    | `a11y-images-media`                 |
| 1.4.3  | Contrast Minimum (AA)                | `a11y-color-contrast`               |
| 1.4.4  | Resize Text (AA)                     | `a11y-motion-reflow`                |
| 1.4.5  | Images of Text (AA)                  | `a11y-images-media`                 |
| 1.4.10 | Reflow (AA)                          | `a11y-motion-reflow`                |
| 1.4.11 | Non-text Contrast (AA)               | `a11y-color-contrast`               |
| 1.4.12 | Text Spacing (AA)                    | `a11y-motion-reflow`                |
| 1.4.13 | Content on Hover or Focus (AA)       | `a11y-focus`                        |
| 2.1.1  | Keyboard (A)                         | `a11y-keyboard`                     |
| 2.1.2  | No Keyboard Trap (A)                 | `a11y-keyboard`                     |
| 2.1.4  | Character Key Shortcuts (A)          | `a11y-keyboard`                     |
| 2.2.1  | Timing Adjustable (A)                | `a11y-motion-reflow`                |
| 2.2.2  | Pause, Stop, Hide (A)                | `a11y-motion-reflow`                |
| 2.3.1  | Three Flashes (A)                    | `a11y-motion-reflow`                |
| 2.4.1  | Bypass Blocks (A)                    | `a11y-navigation`                   |
| 2.4.2  | Page Titled (A)                      | `a11y-navigation`                   |
| 2.4.3  | Focus Order (A)                      | `a11y-focus`                        |
| 2.4.4  | Link Purpose in Context (A)          | `a11y-navigation`                   |
| 2.4.5  | Multiple Ways (AA)                   | `a11y-navigation`                   |
| 2.4.6  | Headings and Labels (AA)             | `a11y-headings`                     |
| 2.4.7  | Focus Visible (AA)                   | `a11y-focus`                        |
| 2.4.11 | Focus Not Obscured (AA)              | `a11y-focus`                        |
| 2.5.1  | Pointer Gestures (A)                 | `a11y-touch-targets`                |
| 2.5.2  | Pointer Cancellation (A)             | `a11y-touch-targets`                |
| 2.5.3  | Label in Name (A)                    | `a11y-forms`                        |
| 2.5.4  | Motion Actuation (A)                 | `a11y-touch-targets`                |
| 2.5.7  | Dragging Movements (AA)              | `a11y-touch-targets`                |
| 2.5.8  | Target Size Minimum (AA)             | `a11y-touch-targets`                |
| 3.1.1  | Language of Page (A)                 | `a11y-semantic-html`                |
| 3.1.2  | Language of Parts (AA)               | `a11y-semantic-html`                |
| 3.2.1  | On Focus (A)                         | `a11y-forms`                        |
| 3.2.2  | On Input (A)                         | `a11y-forms`                        |
| 3.2.3  | Consistent Navigation (AA)           | `a11y-navigation`                   |
| 3.2.4  | Consistent Identification (AA)       | `a11y-navigation`                   |
| 3.2.6  | Consistent Help (A)                  | `a11y-navigation`                   |
| 3.3.1  | Error Identification (A)             | `a11y-forms`                        |
| 3.3.2  | Labels or Instructions (A)           | `a11y-forms`                        |
| 3.3.3  | Error Suggestion (AA)                | `a11y-forms`                        |
| 3.3.4  | Error Prevention (AA)                | `a11y-forms`                        |
| 3.3.7  | Redundant Entry (A)                  | `a11y-forms`                        |
| 3.3.8  | Accessible Authentication (AA)       | `a11y-forms`                        |
| 4.1.2  | Name, Role, Value (A)                | `a11y-aria-patterns`                |
| 4.1.3  | Status Messages (AA)                 | `a11y-live-regions`                 |

## Quick Lookup — RGAA 4.1

| RGAA        | Theme              | File                  |
| ----------- | ------------------ | --------------------- |
| 1.1–1.9     | Images             | `a11y-images-media`   |
| 2.1–2.2     | Frames             | `a11y-semantic-html`  |
| 3.1–3.3     | Colors             | `a11y-color-contrast` |
| 4.1–4.13    | Multimedia         | `a11y-images-media`   |
| 5.1–5.8     | Tables             | `a11y-tables`         |
| 6.1–6.2     | Links              | `a11y-navigation`     |
| 7.1–7.5     | Scripts            | `a11y-keyboard`       |
| 8.1–8.10    | Mandatory elements | `a11y-semantic-html`  |
| 9.1         | Headings           | `a11y-headings`       |
| 9.2–9.4     | Document structure | `a11y-semantic-html`  |
| 10.1–10.6   | CSS presentation   | `a11y-motion-reflow`  |
| 10.7        | Focus visibility   | `a11y-focus`          |
| 10.8–10.10  | Hidden content     | `a11y-motion-reflow`  |
| 10.11–10.14 | Reflow/hover/focus | `a11y-focus`          |
| 11.1–11.13  | Forms              | `a11y-forms`          |
| 12.1–12.11  | Navigation         | `a11y-navigation`     |
| 13.1–13.12  | Consultation       | `a11y-motion-reflow`  |

## By Topic

### 1. Semantic Structure — CRITICAL

| File                 | Criteria                                               | Pattern                                 |
| -------------------- | ------------------------------------------------------ | --------------------------------------- |
| `a11y-semantic-html` | WCAG 1.3.1–1.3.2, 3.1.1–3.1.2 · RGAA 2.x, 8.x, 9.2–9.4 | Semantic elements, language, frames     |
| `a11y-headings`      | WCAG 2.4.6 · RGAA 9.1                                  | Heading hierarchy, descriptive headings |
| `a11y-tables`        | WCAG 1.3.1 · RGAA 5.1–5.8                              | Table headers, captions, associations   |

### 2. Interactive Patterns — CRITICAL

| File                 | Criteria                                                   | Pattern                                         |
| -------------------- | ---------------------------------------------------------- | ----------------------------------------------- |
| `a11y-focus`         | WCAG 1.4.13, 2.4.3, 2.4.7, 2.4.11 · RGAA 10.7, 10.11–10.14 | Focus indicators, focus order, hover content    |
| `a11y-keyboard`      | WCAG 2.1.1–2.1.4 · RGAA 7.1–7.5                            | Keyboard operability, no traps, shortcuts       |
| `a11y-touch-targets` | WCAG 2.5.1–2.5.8 · RGAA 13.10–13.12                        | Min 24×24px targets, pointer gestures, dragging |

### 3. Content — HIGH

| File                  | Criteria                                        | Pattern                               |
| --------------------- | ----------------------------------------------- | ------------------------------------- |
| `a11y-images-media`   | WCAG 1.1.1, 1.2.x, 1.4.2, 1.4.5 · RGAA 1.x, 4.x | Alt text, captions, audio description |
| `a11y-color-contrast` | WCAG 1.3.3, 1.4.1, 1.4.3, 1.4.11 · RGAA 3.x     | Contrast ratios, color independence   |
| `a11y-forms`          | WCAG 1.3.5, 2.5.3, 3.2.x, 3.3.x · RGAA 11.x     | Labels, errors, autocomplete, auth    |
| `a11y-navigation`     | WCAG 2.4.x, 3.2.3–3.2.6 · RGAA 6.x, 12.x        | Skip links, page titles, landmarks    |

### 4. Dynamic Content — HIGH

| File                 | Criteria                                          | Pattern                               |
| -------------------- | ------------------------------------------------- | ------------------------------------- |
| `a11y-sr-content`    | _(pattern file)_                                  | Screen reader text, sr-only technique |
| `a11y-live-regions`  | WCAG 4.1.3                                        | aria-live announcements               |
| `a11y-motion-reflow` | WCAG 1.3.4, 1.4.x, 2.2.x, 2.3.1 · RGAA 10.x, 13.x | Reduced motion, reflow, timing        |

### 5. ARIA Patterns — MEDIUM

| File                 | Criteria   | Pattern                              |
| -------------------- | ---------- | ------------------------------------ |
| `a11y-aria-patterns` | WCAG 4.1.2 | Disclosure, tabs, menu, alert dialog |
