SPB Git

Repository Public

ACCESSIBILITY.md 3.0 KB 36 lines markdown

1# Accessibility23Target: WCAG 2.2 level AA. **No conformance claim is made.** What follows is what was built and how it was checked.45## Built in67- Landmarks (`header`, `nav` with distinct labels, `main`, `footer`, labelled regions), one `h1` per page, ordered headings, skip link « Aller au contenu ».8- Everything is keyboard-operable; visible 3 px focus ring; no keyboard trap (dialogs are native `<dialog>`).9- Forms: every control has a label; errors and results are announced through `aria-live` regions; quiz feedback is text (« Bonne réponse », « Votre réponse — à écarter »), never colour alone.10- Player: native `<button>`, `<select>` and `<input type="range">` controls with French labels and `aria-valuetext`; shortcuts listed in a help dialog (`?`) and on `/accessibilite`; shortcuts are inactive while typing; captions rendered from WebVTT; transcript with the current segment marked `aria-current`; transcript export as plain text.11- Tabs follow the WAI-ARIA pattern (arrow keys, Home/End, roving tabindex).12- Ordering questions use « Monter / Descendre » buttons (no drag-and-drop requirement); matching uses `<select>`.13- Diagrams: the SVG drawing is `aria-hidden`; controls are native inputs; the step narration is a live region; each diagram has an « Équivalent textuel » that reflects its current state.14- Figures imported from the course: `alt` from the course's figure manifest, plus the same description in a visible `<details>`.15- Scrollable tables and code are focusable regions with a label.16- `prefers-reduced-motion` honoured; text reflows at 320 px; zoom to 200 % does not clip (relative units).17- Language: `lang="fr-CA"`; English terms in the glossary are marked `lang="en"`.1819## How it was checked2021| Check | Tool | Scope | Result |22|---|---|---|---|23| Automated rules (WCAG 2.0/2.1/2.2 A+AA, best practices) | axe-core via Playwright (`e2e/a11y.spec.ts`) | every route, production and preview, light and dark; plus interactive states (corrected quiz, player panels, help dialog, mobile menu, confirmation dialog) | 0 violation — see `IMPLEMENTATION_STATUS.md` for the run |24| Keyboard-only operation | Playwright (`player.spec.ts`, `features.spec.ts`) | player shortcuts, diagram stepper and radio groups, quiz ordering | pass |25| Horizontal overflow at 375 px | Playwright (`mobile.spec.ts`) | every route, both modes | pass |26| Reduced motion | Playwright | landing page computed styles | pass |2728## Not done — stated plainly2930- **No screen-reader session** (VoiceOver, NVDA, JAWS) has been run by a person. Automated rules catch only part of what matters.31- **No test on a real iPhone/iPad**; iOS full-screen uses the system player (handled in code, untested on device).32- No user testing with people who rely on assistive technology.33- Imported figures keep the course's dark background in the light theme.34- PDF slides (not offered yet) are not tagged in the course repository; the equivalent content must remain on the session page.35- No contact address is published for accessibility feedback (none has been provided; none was invented).36
Files main
Menu

Theme