Skip to content

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.
Contrast pairings
PairingProbeMinimum
text.primary on surface.page18.924.5Pass
text.primary on surface.card19.794.5Pass
text.secondary on surface.page7.134.5Pass
text.secondary on surface.card7.464.5Pass
accent.default on surface.page4.574.5Pass
accent.default on surface.card4.784.5Pass
text.onInverse on surface.inverse18.924.5Pass
text.onInverse on surface.inverseHover12.994.5Pass
text.onAccent on accent.default4.784.5Pass
text.onAccent on accent.hover6.554.5Pass
text.onAccent on accent.pressed8.564.5Pass
accent.pressed on surface.page8.194.5Pass
accent.pressed on surface.card8.564.5Pass
border.control on surface.page3.523.0Pass
border.control on surface.card3.683.0Pass
focus on surface.page4.573.0Pass
focus on surface.card4.783.0Pass
text.primary on surface.subtle15.454.5Pass
text.primary on surface.sunken16.894.5Pass
text.secondary on surface.sunken6.364.5Pass
focus on surface.sunken4.083.0Pass
accent.default on surface.sunken4.083.0Pass
text.secondary on surface.subtle5.824.5Pass
accent.pressed on surface.subtle6.694.5Pass
status.positive.fg on surface.page6.294.5Pass
status.positive.fg on surface.card6.584.5Pass
status.positive.fg on status.positive.bg5.124.5Pass
status.caution.fg on surface.page5.904.5Pass
status.caution.fg on surface.card6.174.5Pass
status.caution.fg on status.caution.bg5.334.5Pass
status.info.fg on surface.page7.784.5Pass
status.info.fg on surface.card8.134.5Pass
status.info.fg on status.info.bg7.174.5Pass
status.danger.fg on surface.page5.804.5Pass
status.danger.fg on surface.card6.064.5Pass
status.danger.fg on status.danger.bg5.434.5Pass
text.primary on status.danger.bg17.724.5Pass
text.primary on status.info.bg17.444.5Pass
text.primary on status.caution.bg17.104.5Pass
text.primary on status.positive.bg15.404.5Pass
text.onAccent on status.danger.fg6.064.5Pass
text.onAccent on status.danger.hover8.044.5Pass
text.onInverseSecondary on surface.inverse9.324.5Pass
text.onInverseSecondary on surface.inverseHover6.394.5Pass
accent.onInverse on surface.inverse6.314.5Pass
surface.inverse on text.onInverse18.924.5Pass
surface.inverse on surface.subtle15.454.5Pass
border.control on surface.inverse5.383.0Pass
accent.default on surface.inverse4.143.0Pass
surface.inverse on accent.default4.143.0Pass

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.