Skip to content

Accessibility

The target is WCAG 2.1 AA for every screen of the platform and every page of this site. Accessibility is not a separate pass: it is in the tokens, the markup and the build.

  • Text contrast 4.5:1; large text (24 px, or 19 px bold) 3:1.
  • Non-text contrast 3:1 for control borders, the focus ring, checked states and chart series.
  • Focus visible on every interactive element: a 2 px ring in --xg-color-focus-ring, offset 2 px. Never removed, never color-only.
  • Keyboard: everything a mouse can do, a keyboard can do, in a logical order. Overlays trap focus and return it.
  • Targets at least 24 × 24 px; 32 px for icon buttons, 40 px for default controls.
  • Meaning never by color alone: status badges carry a word, deltas carry ▲/▼ and a sign, chart series carry labels.
  • Motion respects prefers-reduced-motion; glass respects prefers-reduced-transparency.
  • Native first: <button>, <a>, <input>, <select>, <dialog>, popover. ARIA only where HTML has no element (tabs, menus, switches, sort state).
  1. Contrast, in the build. tokens/contrast-pairs.json lists every text and UI pair the components use (35 pairs). npm run tokens measures each one in all 4 themes (140 checks) and fails the build if one is below its minimum. Translucent colors are composited over the surface they sit on before measuring. Today: 140 pass, 0 fail.
  2. Markup, in review. Each component page lists its accessibility contract; review checks the markup against it.
  3. People, before Ready. A component reaches Ready only after a keyboard-only pass and a screen-reader pass (VoiceOver and NVDA) are recorded on its page.

The tables below are generated from the measurement on this build. Switch nothing: all four themes are shown.

SampleUsePairRatioNeedsResult
AaHeading on page#0e0f2a on #f3f4fb17.09:14.5:1Pass · AAA
AaBody text on page#1c1d33 on #f3f4fb15.04:14.5:1Pass · AAA
AaMuted text on page#4a4b63 on #f3f4fb7.73:14.5:1Pass · AAA
AaBody text on card#1c1d33 on #ffffff16.50:14.5:1Pass · AAA
AaMuted text on card#4a4b63 on #ffffff8.48:14.5:1Pass · AAA
AaTable header text on subtle#4a4b63 on #eceefa7.34:14.5:1Pass · AAA
AaBody text on glass#1c1d33 on #fafafd15.87:14.5:1Pass · AAA
AaLink on card#3536d6 on #ffffff7.92:14.5:1Pass · AAA
AaLink on page#3536d6 on #f3f4fb7.22:14.5:1Pass · AAA
AaBrand ink (small text) on card#3536d6 on #ffffff7.92:14.5:1Pass · AAA
AaActive nav item text#3536d6 on #ededff6.86:14.5:1Pass · AA
AaPrimary button label#ffffff on #4b4cff5.56:14.5:1Pass · AA
AaPrimary button label, hover#ffffff on #3536d67.92:14.5:1Pass · AAA
AaTooltip text#ffffff on #0e0f2a18.74:14.5:1Pass · AAA
AaInput border on card (non-text, 3:1)#8f92ad on #ffffff3.05:13:1Pass · AA non-text
AaFocus ring on card (non-text, 3:1)#4b4cff on #ffffff5.56:13:1Pass · AA non-text
AaFocus ring on page (non-text, 3:1)#4b4cff on #f3f4fb5.07:13:1Pass · AA non-text
AaChecked checkbox / switch on card (non-text, 3:1)#4b4cff on #ffffff5.56:13:1Pass · AA non-text
AaCheck mark on checked checkbox (non-text, 3:1)#ffffff on #4b4cff5.56:13:1Pass · AA non-text
AaSuccess solid badge#ffffff on #15803d5.02:14.5:1Pass · AA
AaWarning solid badge#ffffff on #b453095.02:14.5:1Pass · AA
AaError solid badge / danger button#ffffff on #be123c6.29:14.5:1Pass · AA
AaInfo solid badge#ffffff on #3536d67.92:14.5:1Pass · AAA
AaNeutral solid badge#ffffff on #4a4b638.48:14.5:1Pass · AAA
AaLive badge / success alert#15803d on #f0fdf44.79:14.5:1Pass · AA
AaIn review badge / warning alert#b45309 on #fffbeb4.84:14.5:1Pass · AA
AaBlocked badge / error alert#be123c on #fff1f25.72:14.5:1Pass · AA
AaScheduled badge / info alert#3536d6 on #eeeeff6.91:14.5:1Pass · AA
AaPaused / Draft badge#4a4b63 on #eceefa7.34:14.5:1Pass · AAA
AaPositive delta on KPI card#15803d on #ffffff5.02:14.5:1Pass · AA
AaNegative delta, field error#be123c on #ffffff6.29:14.5:1Pass · AA
AaChart axis labels#4a4b63 on #ffffff8.48:14.5:1Pass · AAA
AaChart series 1 (graphical, 3:1)#4b4cff on #ffffff5.56:13:1Pass · AA non-text
AaChart series 2 (graphical, 3:1)#0d9488 on #ffffff3.74:13:1Pass · AA non-text
AaChart series 4 (graphical, 3:1)#6248e6 on #ffffff5.85:13:1Pass · AA non-text
SampleUsePairRatioNeedsResult
AaHeading on page#f4f5ff on #0c0d1f17.71:14.5:1Pass · AAA
AaBody text on page#dcdef2 on #0c0d1f14.43:14.5:1Pass · AAA
AaMuted text on page#a6a9c8 on #0c0d1f8.35:14.5:1Pass · AAA
AaBody text on card#dcdef2 on #13152c13.47:14.5:1Pass · AAA
AaMuted text on card#a6a9c8 on #13152c7.80:14.5:1Pass · AAA
AaTable header text on subtle#a6a9c8 on #1012288.01:14.5:1Pass · AAA
AaBody text on glass#dcdef2 on #13152e13.48:14.5:1Pass · AAA
AaLink on card#b4b5ff on #13152c9.39:14.5:1Pass · AAA
AaLink on page#b4b5ff on #0c0d1f10.06:14.5:1Pass · AAA
AaBrand ink (small text) on card#b4b5ff on #13152c9.39:14.5:1Pass · AAA
AaActive nav item text#b4b5ff on #2729527.21:14.5:1Pass · AAA
AaPrimary button label#ffffff on #4b4cff5.56:14.5:1Pass · AA
AaPrimary button label, hover#ffffff on #3536d67.92:14.5:1Pass · AAA
AaTooltip text#0e0f2a on #ffffff18.74:14.5:1Pass · AAA
AaInput border on card (non-text, 3:1)#7c7fa0 on #13152c4.61:13:1Pass · AA non-text
AaFocus ring on card (non-text, 3:1)#b4b5ff on #13152c9.39:13:1Pass · AA non-text
AaFocus ring on page (non-text, 3:1)#b4b5ff on #0c0d1f10.06:13:1Pass · AA non-text
AaChecked checkbox / switch on card (non-text, 3:1)#8384ff on #13152c5.73:13:1Pass · AA non-text
AaCheck mark on checked checkbox (non-text, 3:1)#0e0f2a on #8384ff5.99:13:1Pass · AA non-text
AaSuccess solid badge#ffffff on #15803d5.02:14.5:1Pass · AA
AaWarning solid badge#ffffff on #b453095.02:14.5:1Pass · AA
AaError solid badge / danger button#ffffff on #be123c6.29:14.5:1Pass · AA
AaInfo solid badge#ffffff on #3536d67.92:14.5:1Pass · AAA
AaNeutral solid badge#ffffff on #4a4b638.48:14.5:1Pass · AAA
AaLive badge / success alert#86efac on #152e3310.21:14.5:1Pass · AAA
AaIn review badge / warning alert#fcd34d on #3328279.88:14.5:1Pass · AAA
AaBlocked badge / error alert#fda4af on #3416308.50:14.5:1Pass · AAA
AaScheduled badge / info alert#b4b5ff on #25274e7.45:14.5:1Pass · AAA
AaPaused / Draft badge#a6a9c8 on #26283d6.30:14.5:1Pass · AA
AaPositive delta on KPI card#86efac on #13152c12.77:14.5:1Pass · AAA
AaNegative delta, field error#fda4af on #13152c9.48:14.5:1Pass · AAA
AaChart axis labels#a6a9c8 on #13152c7.80:14.5:1Pass · AAA
AaChart series 1 (graphical, 3:1)#8384ff on #13152c5.73:13:1Pass · AA non-text
AaChart series 2 (graphical, 3:1)#5eead4 on #13152c12.12:13:1Pass · AA non-text
AaChart series 4 (graphical, 3:1)#c4b5fd on #13152c9.71:13:1Pass · AA non-text
SampleUsePairRatioNeedsResult
AaHeading on page#0a1033 on #f6f7fd17.31:14.5:1Pass · AAA
AaBody text on page#2a3158 on #f6f7fd11.70:14.5:1Pass · AAA
AaMuted text on page#4a5275 on #f6f7fd7.13:14.5:1Pass · AAA
AaBody text on card#2a3158 on #ffffff12.51:14.5:1Pass · AAA
AaMuted text on card#4a5275 on #ffffff7.62:14.5:1Pass · AAA
AaTable header text on subtle#4a5275 on #f3f5ff7.01:14.5:1Pass · AAA
AaBody text on glass#2a3158 on #fcfdfe12.28:14.5:1Pass · AAA
AaLink on card#1a3cf5 on #ffffff6.98:14.5:1Pass · AA
AaLink on page#1a3cf5 on #f6f7fd6.53:14.5:1Pass · AA
AaBrand ink (small text) on card#1a3cf5 on #ffffff6.98:14.5:1Pass · AA
AaActive nav item text#1a3cf5 on #edeffe6.12:14.5:1Pass · AA
AaPrimary button label#ffffff on #1a3cf56.98:14.5:1Pass · AA
AaPrimary button label, hover#ffffff on #1230d68.68:14.5:1Pass · AAA
AaTooltip text#ffffff on #0a103318.51:14.5:1Pass · AAA
AaInput border on card (non-text, 3:1)#8a92b4 on #ffffff3.07:13:1Pass · AA non-text
AaFocus ring on card (non-text, 3:1)#4d6bff on #ffffff4.32:13:1Pass · AA non-text
AaFocus ring on page (non-text, 3:1)#4d6bff on #f6f7fd4.04:13:1Pass · AA non-text
AaChecked checkbox / switch on card (non-text, 3:1)#1a3cf5 on #ffffff6.98:13:1Pass · AA non-text
AaCheck mark on checked checkbox (non-text, 3:1)#ffffff on #1a3cf56.98:13:1Pass · AA non-text
AaSuccess solid badge#ffffff on #15803d5.02:14.5:1Pass · AA
AaWarning solid badge#ffffff on #b453095.02:14.5:1Pass · AA
AaError solid badge / danger button#ffffff on #be123c6.29:14.5:1Pass · AA
AaInfo solid badge#ffffff on #1a3cf56.98:14.5:1Pass · AA
AaNeutral solid badge#ffffff on #4a4b638.48:14.5:1Pass · AAA
AaLive badge / success alert#15803d on #f0fdf44.79:14.5:1Pass · AA
AaIn review badge / warning alert#b45309 on #fffbeb4.84:14.5:1Pass · AA
AaBlocked badge / error alert#be123c on #fff1f25.72:14.5:1Pass · AA
AaScheduled badge / info alert#1a3cf5 on #eef1ff6.20:14.5:1Pass · AA
AaPaused / Draft badge#4a4b63 on #eceefa7.34:14.5:1Pass · AAA
AaPositive delta on KPI card#15803d on #ffffff5.02:14.5:1Pass · AA
AaNegative delta, field error#be123c on #ffffff6.29:14.5:1Pass · AA
AaChart axis labels#4a4b63 on #ffffff8.48:14.5:1Pass · AAA
AaChart series 1 (graphical, 3:1)#1a3cf5 on #ffffff6.98:13:1Pass · AA non-text
AaChart series 2 (graphical, 3:1)#0d9488 on #ffffff3.74:13:1Pass · AA non-text
AaChart series 4 (graphical, 3:1)#6248e6 on #ffffff5.85:13:1Pass · AA non-text
SampleUsePairRatioNeedsResult
AaHeading on page#f3f5ff on #070a1f18.01:14.5:1Pass · AAA
AaBody text on page#d7dcf5 on #070a1f14.40:14.5:1Pass · AAA
AaMuted text on page#a3abd0 on #070a1f8.67:14.5:1Pass · AAA
AaBody text on card#d7dcf5 on #0f153813.04:14.5:1Pass · AAA
AaMuted text on card#a3abd0 on #0f15387.84:14.5:1Pass · AAA
AaTable header text on subtle#a3abd0 on #0c11308.16:14.5:1Pass · AAA
AaBody text on glass#d7dcf5 on #0e143613.21:14.5:1Pass · AAA
AaLink on card#a9b8ff on #0f15389.27:14.5:1Pass · AAA
AaLink on page#a9b8ff on #070a1f10.25:14.5:1Pass · AAA
AaBrand ink (small text) on card#a9b8ff on #0f15389.27:14.5:1Pass · AAA
AaActive nav item text#a9b8ff on #1b26607.35:14.5:1Pass · AAA
AaPrimary button label#ffffff on #1a3cf56.98:14.5:1Pass · AA
AaPrimary button label, hover#ffffff on #1230d68.68:14.5:1Pass · AAA
AaTooltip text#0e0f2a on #ffffff18.74:14.5:1Pass · AAA
AaInput border on card (non-text, 3:1)#7a83ad on #0f15384.79:13:1Pass · AA non-text
AaFocus ring on card (non-text, 3:1)#a9b8ff on #0f15389.27:13:1Pass · AA non-text
AaFocus ring on page (non-text, 3:1)#a9b8ff on #070a1f10.25:13:1Pass · AA non-text
AaChecked checkbox / switch on card (non-text, 3:1)#4d6bff on #0f15384.10:13:1Pass · AA non-text
AaCheck mark on checked checkbox (non-text, 3:1)#0e0f2a on #4d6bff4.34:13:1Pass · AA non-text
AaSuccess solid badge#ffffff on #15803d5.02:14.5:1Pass · AA
AaWarning solid badge#ffffff on #b453095.02:14.5:1Pass · AA
AaError solid badge / danger button#ffffff on #be123c6.29:14.5:1Pass · AA
AaInfo solid badge#ffffff on #1a3cf56.98:14.5:1Pass · AA
AaNeutral solid badge#ffffff on #4a4b638.48:14.5:1Pass · AAA
AaLive badge / success alert#86efac on #122e3d10.12:14.5:1Pass · AAA
AaIn review badge / warning alert#fcd34d on #2f28329.89:14.5:1Pass · AAA
AaBlocked badge / error alert#fda4af on #31163b8.49:14.5:1Pass · AAA
AaScheduled badge / info alert#a9b8ff on #1a245c7.54:14.5:1Pass · AAA
AaPaused / Draft badge#a6a9c8 on #2228486.25:14.5:1Pass · AA
AaPositive delta on KPI card#86efac on #0f153812.62:14.5:1Pass · AAA
AaNegative delta, field error#fda4af on #0f15389.37:14.5:1Pass · AAA
AaChart axis labels#a6a9c8 on #0f15387.71:14.5:1Pass · AAA
AaChart series 1 (graphical, 3:1)#4d6bff on #0f15384.10:13:1Pass · AA non-text
AaChart series 2 (graphical, 3:1)#5eead4 on #0f153811.98:13:1Pass · AA non-text
AaChart series 4 (graphical, 3:1)#c4b5fd on #0f15389.60:13:1Pass · AA non-text
  • An automated axe run per component in CI is planned (see Roadmap); today the contrast gate and review cover it.
  • The recorded screen-reader passes are pending for every component, which is why none is Ready yet.