SPB Git

Repository Public

ACCESSIBILITY.md 3.0 KB

# Accessibility

Target: WCAG 2.2 level AA. No conformance claim is made. What follows is what was built and how it was checked.

# Built in

  • Landmarks (header, nav with distinct labels, main, footer, labelled regions), one h1 per page, ordered headings, skip link « Aller au contenu ».
  • Everything is keyboard-operable; visible 3 px focus ring; no keyboard trap (dialogs are native <dialog>).
  • 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.
  • 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.
  • Tabs follow the WAI-ARIA pattern (arrow keys, Home/End, roving tabindex).
  • Ordering questions use « Monter / Descendre » buttons (no drag-and-drop requirement); matching uses <select>.
  • 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.
  • Figures imported from the course: alt from the course's figure manifest, plus the same description in a visible <details>.
  • Scrollable tables and code are focusable regions with a label.
  • prefers-reduced-motion honoured; text reflows at 320 px; zoom to 200 % does not clip (relative units).
  • Language: lang="fr-CA"; English terms in the glossary are marked lang="en".

# How it was checked

Check Tool Scope Result
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
Keyboard-only operation Playwright (player.spec.ts, features.spec.ts) player shortcuts, diagram stepper and radio groups, quiz ordering pass
Horizontal overflow at 375 px Playwright (mobile.spec.ts) every route, both modes pass
Reduced motion Playwright landing page computed styles pass

# Not done — stated plainly

  • No screen-reader session (VoiceOver, NVDA, JAWS) has been run by a person. Automated rules catch only part of what matters.
  • No test on a real iPhone/iPad; iOS full-screen uses the system player (handled in code, untested on device).
  • No user testing with people who rely on assistive technology.
  • Imported figures keep the course's dark background in the light theme.
  • PDF slides (not offered yet) are not tagged in the course repository; the equivalent content must remain on the session page.
  • No contact address is published for accessibility feedback (none has been provided; none was invented).
Files main
Menu

Theme