Accessibility

Accessibility

The target is WCAG 2.2 AA. This page states what is built in, what is checked automatically, and what has been verified by hand. It makes no compliance claim beyond that.

implemented

Color contrast

Computed from resolved token values. Text must reach 4.5:1; non-text indicators (focus ring, control borders) 3:1.

PairMinDarkLight
Body text on page4.5:116.12:116.12:1
Body text on layer4.5:114.91:114.43:1
Secondary text on page4.5:19.14:15.84:1
Secondary text on raised4.5:17.17:16.50:1
Text on accent fill (buttons, highlights)4.5:19.28:19.28:1
Accent text on page4.5:19.28:116.12:1
Annotation text on page4.5:19.28:116.12:1
Focus ring on page (non-text)3:19.28:116.12:1
Control border on page (non-text)3:15.33:14.10:1

Every accent keeps ink text readable

lavender · 9.28:1 text on fill

signal · 13.82:1 text on fill

ember · 6.85:1 text on fill

acid · 14.89:1 text on fill

rose · 6.71:1 text on fill

cobalt · 5.09:1 text on fill

violet · 4.62:1 text on fill

emerald · 7.71:1 text on fill

cyan · 10.82:1 text on fill

crimson · 4.64:1 text on fill

amber · 10.70:1 text on fill

sand · 11.35:1 text on fill

npm run tokens:check runs the same maths for every theme × accent pair (128 checks) and fails the build on any shortfall.

Keyboard navigation

  • A skip link is the first focusable element on every page.
  • All controls are native elements: links, buttons, radio groups, selects, sliders. Radio groups are one tab stop with arrow-key movement.
  • Focus order follows reading order. Pinned scroll scenes do not change focus order.
  • In System Studio, a component list provides a full keyboard alternative to clicking in Inspect Mode, and Escape clears a selection.

Focus management

  • Every focusable element shows a 2px ring offset 3px, using color.focus.ring (accent in dark, ink in light), so it is visible on any surface.
  • The documentation search is an ARIA combobox: arrows move, Enter opens, Escape clears.
  • The System Studio editor is an isolated page. It uses fixed colours and sizes so its own focus and contrast do not depend on the design being edited.

Component accessibility

ComponentBuilt inAuthor responsibility
ButtonNative button/anchor, focus ring, 32 to 56px targets, loading announces busy, icons hiddenMeaningful label; accessible name for icon-only
CardValidated text contrast on each surface, no implied roleA heading; do not nest cards
NavigationLandmark, label, aria-current, 44px targetsKeep the link set short and meaningful

Reduced-motion behavior

  • The operating-system preference is the default. A visitor can override it in System Studio with an explicit choice; a preset and Randomize Design never override an OS reduced-motion request (motion is left as it is).
  • The six motion styles map onto three tiers: Cinematic, Smooth and Dynamic run on the expressive tier, Subtle on the subtle tier and Off on reduced. Switching style rebuilds every scene once, so no ScrollTrigger is duplicated and native scrolling is never replaced.
  • Reduced mode removes scroll scenes entirely: content sits in normal flow in its final state. Skim does the same and also removes decorative layers.
  • Nothing essential depends on animation, a game or a customisation step.

Configuration safeguards

  • Studio offers curated options validated at build time (all curated accents on both themes). The one free value, a custom accent colour, is validated as hex and its text, accent-text and focus colours are derived to reach 4.5:1; the picker explains limits such as a pale colour on a light page. Text and background roles never take the accent.
  • Typography controls are discrete safe steps: weights are clamped to the font's real range and sizes are scaled with a per-typeface fit factor, so headings cannot overflow in the tested configurations.
  • Randomize Design is constrained by documented rules and category locks, and every change can be undone (see Presets and Randomize Design).
  • The full-bleed hero places text over a photograph on a dark scrim and always uses the dark colour roles. Contrast over a photograph cannot be guaranteed by token maths alone; the scrim is strong, but this combination has not been measured on every image area.
  • The editor shows a live contrast measurement of the colours currently rendered.
  • Reset is reachable from the header, the editor toolbar and the footer, and also clears instance overrides.
  • Invalid component combinations are normalised in the shared model and explained in the playground.

Verification status. Contrast is computed and enforced by script. Keyboard paths, focus rings and landmarks were checked by hand and with DOM audits in a desktop browser. No screen reader, real device, or full automated accessibility audit (such as axe) has been run on this iteration, so WCAG 2.2 AA conformance is a goal, not a claim.

Beyond Design System v0.4.0Human-led. AI-assisted. System-driven.