Accessibility
What this system already does for you on every page, without being asked - and, just as importantly, what it doesn't do yet. WCAG 2.2 AA is the baseline referenced throughout.
Automatic on every page
Injected sitewide by experience.js - a page doesn't opt in, and can't opt out.
Focus
The shared --color-focus-ring token follows the configured focus state. Keyboard focus uses :focus-visible; selected examples can also demonstrate a fixed focus state. Some semantic action variants use their own status color. Verify each variant with a keyboard and in forced-colors mode.
Motion
Every transition and animation sitewide resolves to one of six shared motion tokens (Motion isn't yet its own Foundation page, but the tokens exist in theme.css). Under prefers-reduced-motion, animation and transition durations sitewide collapse to near-zero - a user who has asked their OS to reduce motion gets that everywhere in this system, not page-by-page.
Touch targets
Shared target sizing defaults to 44px and cannot be configured below 44px in the sizing editor. Explicit compact component examples retain their documented size variants. Check actual hit areas, spacing between adjacent targets and zoom behavior on each supported device; a configured token alone does not establish accessibility conformance.
Color contrast
Colors shows live AA/AAA contrast checks for text pairs and a separate 3:1 non-text check for essential Control Border boundaries. Recheck each actual component surface, state and alpha blend; a token badge does not certify all uses. Picker simulations for protanopia, deuteranopia and tritanopia are simplified previews. Use labels, shapes and messages alongside color.
Localization and preferences
Theme, density and direction (RTL) are each a real, live, sitewide toggle (Settings), persisted per browser and synced instantly across any other open tab of this system - not a per-page setting you'd have to repeat.
Known gaps - not yet done
Said plainly, not glossed over:
Foundation editor state model
Draft: an unfinished value in an editor. Preview: a valid configuration rendered in the current page. Auto-save: valid edits written to local storage without waiting for Save. Apply: the shared Foundation resolver updates the current page and marked examples from valid settings. Export: Markdown and JSON include the currently applied settings. If storage fails, a visible warning identifies the unsaved preview; reload restores the last durable save.
Text-color ownership: --text-hi, --text-mid and --text-dim resolve through the H6, Body and Caption color roles. Typography role colors also apply directly through --type-*-color to headings, paragraphs and validation text. Changing a role can therefore update both its text and the semantic aliases that refer to it.
Rollback: editor Reset actions remove that section's saved configuration and restore defaults. Grid, Spacing and Radius can restore project-context recommendations. AI approval Undo only reverses its demonstration; it does not reset Foundation settings.
Storage recovery: editor persistence uses window.ADSStorage. Invalid values remain drafts; failed writes retain the previous durable save; failed resets leave it intact. Copy failures provide a manual-copy instruction rather than reporting success.
Selection semantics: a product/system "card" is a native <button> - its is-active class is what you see, but until now nothing told assistive technology which one was actually chosen. Every product-card-grid/system-card-grid is now a labelled toggle group (role="group" with an aria-label naming the choice, e.g. "Spacing system" or "What are you building?"), and every card's aria-pressed is kept in sync with is-active on every selection, reset, and page load - never just one or the other. Where picking a card also surfaces a recommendation (Spacing/Radius/Grid & Layout's "Recommended" callout), that callout is now role="status" aria-live="polite", so the outcome is announced the moment it appears, not only discoverable by navigating to it afterward. Verified via DOM assertions (exactly one aria-pressed="true" per group at all times, correct role/label/live-region attributes) rather than a physical screen reader - a real AT pass (VoiceOver/NVDA) remains a legitimate, separate follow-up.
Foundation release contract
The checks above are shared across every Foundation. This is the section-specific half: what counts as a compatible vs. breaking change to that section's own tokens, how a removed/renamed value gets deprecated instead of silently breaking saved projects, and what evidence closes a change as release-ready. One team (Design System Team) owns all nine sections today - a legitimate choice at this system's current size, not a gap - so "owner" isn't repeated per row below.
{}
Accessibility - Markdown export
This page's own content, as Markdown - copy it straight into your design system docs or hand it to an AI/agent workflow.
Implementation contract
Saved validated choices override project recommendations, which override system defaults. This implementation contract governs static specimens. Resolved tokens in the current export are authoritative values. Component exceptions must name the affected role and reason.
Acceptance
Verify keyboard, names/roles/values, visible focus, focus return, error association, status announcements and reading order. Test 200% zoom, text-spacing overrides, narrow reflow, RTL, reduced motion, forced colors and touch targets. WCAG AA checks are per actual usage, not a single token badge.
Layout and state
Use the shared three-column responsive reference layout, 16px row gaps, 24px panel padding and 16px mobile padding. Valid choices auto-save/apply; unfinished drafts stay unapplied. Versioned recovery preserves unreadable records and offers backup/reset. Defaults are not proof of acceptance.
Evidence
Report automated model/DOM checks separately from rendered-browser, real font and screen-reader checks. Record page, viewport, theme, state, method, outcome and artifact. Do not mark an unavailable check complete.
Machine contract: section rules, storage, units and acceptance
{
"schemaVersion": 1,
"authority": "Saved validated choices override project recommendations, which override system defaults. This implementation contract governs static specimens. Resolved tokens in the current export are authoritative values. Component exceptions must name the affected role and reason.",
"governance": {
"owners": "Design System Lead owns token and compatibility policy. Designers own specimens and interaction contracts. Developers own resolver/export/import parity. QA and Accessibility own release evidence. Product teams own domain-specific confidence, privacy and retention policies.",
"changes": "Change the JSON contract first, regenerate documentation/defaults/catalog/tokens, then run model, DOM and recipient checks. Link the changed finding IDs and evidence in the release review.",
"compatibility": "Keep hue-named CSS tokens as compatibility aliases while semantic consumers migrate. Additive tokens retain schemaVersion 1. A removed/renamed key or changed stored meaning requires a schema migration, a version bump and a documented replacement before release. Keep the prior reader fixture until the migration is verified.",
"deprecation": "Record old key, replacement, reason, introduced version, planned removal version and affected consumers. Do not remove a token while an active consumer still uses it. Future records are preserved rather than coerced.",
"scope": "This is a web design system with one shared workspace profile. Native dp/sp adaptation and real agent execution require separate adapters and acceptance. User-defined colors and responsive exceptions require product-specific rendered verification."
},
"storage": {
"version": 1,
"legacy": "Unversioned valid records migrate in memory. Typography headingScaleVersion 2 applies the smaller six-heading scale once to older records, retaining other roles and existing font/color/style metrics. Later custom size edits are retained. Unsupported future records are preserved. The next successful write stamps the migrated version.",
"future": "Reject unsupported future versions. Preserve raw data. Offer backup and explicit reset.",
"invalid": "Foundation selections preview locally until Save foundation succeeds. Saved Foundation editors require Edit foundation before changes. Cancel discards the preview. Invalid drafts never replace saved records; storage failures retain the editable preview and the last durable record.",
"concurrency": "A storage event refreshes applied tokens and disables stale editor controls until reload. Never merge simultaneous edits silently."
},
"units": {
"base": "1rem = 16px at default browser settings. Do not fix the root font size.",
"use": "Prefer rem for typography, spacing and control dimensions. Hairline borders and viewport thresholds may use px. Both equivalents appear in Markdown. SVG strokes use viewBox units. Ratios, percentages, columns, timing and weights are unitless or retain their own units.",
"native": "Web CSS px/rem are not native dp/sp. A native adapter must map semantic roles, support text scaling and test device density. Native rendering is not shipped by this web library."
},
"acceptance": [
"Compare page, applied tokens, durable record, Machine View and exported instructions.",
"Test valid, unfinished, invalid, missing, malformed, legacy and future records. Exercise storage failure, reset, reload and another tab.",
"Test 320, 375, 768, 1024 and 1440px widths, 200% zoom, text-spacing overrides, RTL and long/localized labels.",
"Use keyboard and screen reader. Confirm focus return, names, values, error associations and status announcements.",
"Verify actual rendered text/surface pairs, forced colors, reduced motion, print and exported recipes in a recipient fixture. Source or DOM checks alone are not rendered acceptance."
],
"layers": {
"content": 0,
"sticky": 20,
"popover": 40,
"scrim": 60,
"dialog": 70,
"toast": 80,
"tooltip": 90,
"rules": "Each overlay gets an explicit owner and close/focus-return path. Portal menus out of clipped scroll containers. Nested dialogs stack one scrim per modal owner. Escape closes the top dismissible layer. Tooltips never block actions. Test collision and zoom; do not infer stacking order from shadow size."
},
"section": {
"title": "Accessibility",
"rules": {
"Acceptance": "Verify keyboard, names/roles/values, visible focus, focus return, error association, status announcements and reading order. Test 200% zoom, text-spacing overrides, narrow reflow, RTL, reduced motion, forced colors and touch targets. WCAG AA checks are per actual usage, not a single token badge.",
"Layout and state": "Use the shared three-column responsive reference layout, 16px row gaps, 24px panel padding and 16px mobile padding. Valid choices auto-save/apply; unfinished drafts stay unapplied. Versioned recovery preserves unreadable records and offers backup/reset. Defaults are not proof of acceptance.",
"Evidence": "Report automated model/DOM checks separately from rendered-browser, real font and screen-reader checks. Record page, viewport, theme, state, method, outcome and artifact. Do not mark an unavailable check complete."
}
}
}