Foundations
Accessibility
Accessibility is built into the tokens and components and checked on every build, not reviewed at the end.
Contrast gate
WCAG 2.x contrast for every declared pairing (50). If one drops below its minimum, the token build stops.
| Pairing | Probe | Minimum | ||
|---|---|---|---|---|
| text.primary on surface.page | 18.92 | 4.5 | Pass | |
| text.primary on surface.card | 19.79 | 4.5 | Pass | |
| text.secondary on surface.page | 7.13 | 4.5 | Pass | |
| text.secondary on surface.card | 7.46 | 4.5 | Pass | |
| accent.default on surface.page | 4.57 | 4.5 | Pass | |
| accent.default on surface.card | 4.78 | 4.5 | Pass | |
| text.onInverse on surface.inverse | 18.92 | 4.5 | Pass | |
| text.onInverse on surface.inverseHover | 12.99 | 4.5 | Pass | |
| text.onAccent on accent.default | 4.78 | 4.5 | Pass | |
| text.onAccent on accent.hover | 6.55 | 4.5 | Pass | |
| text.onAccent on accent.pressed | 8.56 | 4.5 | Pass | |
| accent.pressed on surface.page | 8.19 | 4.5 | Pass | |
| accent.pressed on surface.card | 8.56 | 4.5 | Pass | |
| border.control on surface.page | 3.52 | 3.0 | Pass | |
| border.control on surface.card | 3.68 | 3.0 | Pass | |
| focus on surface.page | 4.57 | 3.0 | Pass | |
| focus on surface.card | 4.78 | 3.0 | Pass | |
| text.primary on surface.subtle | 15.45 | 4.5 | Pass | |
| text.primary on surface.sunken | 16.89 | 4.5 | Pass | |
| text.secondary on surface.sunken | 6.36 | 4.5 | Pass | |
| focus on surface.sunken | 4.08 | 3.0 | Pass | |
| accent.default on surface.sunken | 4.08 | 3.0 | Pass | |
| text.secondary on surface.subtle | 5.82 | 4.5 | Pass | |
| accent.pressed on surface.subtle | 6.69 | 4.5 | Pass | |
| status.positive.fg on surface.page | 6.29 | 4.5 | Pass | |
| status.positive.fg on surface.card | 6.58 | 4.5 | Pass | |
| status.positive.fg on status.positive.bg | 5.12 | 4.5 | Pass | |
| status.caution.fg on surface.page | 5.90 | 4.5 | Pass | |
| status.caution.fg on surface.card | 6.17 | 4.5 | Pass | |
| status.caution.fg on status.caution.bg | 5.33 | 4.5 | Pass | |
| status.info.fg on surface.page | 7.78 | 4.5 | Pass | |
| status.info.fg on surface.card | 8.13 | 4.5 | Pass | |
| status.info.fg on status.info.bg | 7.17 | 4.5 | Pass | |
| status.danger.fg on surface.page | 5.80 | 4.5 | Pass | |
| status.danger.fg on surface.card | 6.06 | 4.5 | Pass | |
| status.danger.fg on status.danger.bg | 5.43 | 4.5 | Pass | |
| text.primary on status.danger.bg | 17.72 | 4.5 | Pass | |
| text.primary on status.info.bg | 17.44 | 4.5 | Pass | |
| text.primary on status.caution.bg | 17.10 | 4.5 | Pass | |
| text.primary on status.positive.bg | 15.40 | 4.5 | Pass | |
| text.onAccent on status.danger.fg | 6.06 | 4.5 | Pass | |
| text.onAccent on status.danger.hover | 8.04 | 4.5 | Pass | |
| text.onInverseSecondary on surface.inverse | 9.32 | 4.5 | Pass | |
| text.onInverseSecondary on surface.inverseHover | 6.39 | 4.5 | Pass | |
| accent.onInverse on surface.inverse | 6.31 | 4.5 | Pass | |
| surface.inverse on text.onInverse | 18.92 | 4.5 | Pass | |
| surface.inverse on surface.subtle | 15.45 | 4.5 | Pass | |
| border.control on surface.inverse | 5.38 | 3.0 | Pass | |
| accent.default on surface.inverse | 4.14 | 3.0 | Pass | |
| surface.inverse on accent.default | 4.14 | 3.0 | Pass |
Focus
Every interactive element shows a ring in the focus colour, offset from the element, when focused by keyboard. The keyboard test checks this on every focus stop.
Automated checks
- Contrast gate on every token build.
- axe-core on every page, at desktop and phone width.
- Keyboard tests for focus rings, dialogs, menus, tabs, search, forms, messages and filters.
- Lint rules against raw elements, inline styles and arbitrary values.
- Status and meaning never depend on colour alone: every tone has a word or an icon.