Agentic Design System

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.

Skip to content
A "Skip to content" link is prepended to every page, targeting a real, focusable <main> landmark
2.4.1
Heading structure
Every visually-styled "panel title" is retrofitted into a real <h2>, not left as a plain, non-semantic paragraph
1.3.1
Page outline
An "On this page" navigation landmark is auto-built from a page's real headings once there are more than two
2.4.5
Current page
The active sidebar link carries aria-current="page" automatically
4.1.2
Icon-only buttons
Any icon-only button's title attribute is copied to aria-label automatically, so it has a real accessible name
4.1.2
Clickable cards
A card that navigates on click is a real <a> element, not a div with a click handler and no keyboard path
2.1.1
Horizontal scroll regions
Any horizontally-scrolling comparison table is marked role="region" with a descriptive label
1.3.1

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:

ARIA depth per component
Table and Modal have rich, component-specific ARIA; simpler components mostly rely on shared shell chrome - not independently audited component-by-component
Uneven
200% zoom / reflow
Not individually verified per component across the 63-component library
Unverified
Text spacing override (1.4.12)
Not tested against a user style sheet that overrides line-height/letter-spacing/word-spacing
Unverified

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.

Radius and Typography
Valid font, type-role and radius edits auto-save and apply through the shared Foundation resolver. Save confirms persistence; reload restores the saved settings. Typography reset cancels pending font uploads before restoring defaults.
Auto-save + auto-apply
Colors (Brand, Surface, Status, Neutral)
Valid brand, surface, status and neutral edits auto-save and apply immediately. Incomplete hex values keep the previous valid configuration. The local Save action confirms the current configuration; it is not required to propagate valid edits.
Auto-save + auto-apply
Spacing, Grid & Layout, Borders, Shadows, Icons, Typography (per-level size/weight/line-height/italic/color)
Valid dimension, border, shadow, grid and icon settings auto-save and apply through foundation-runtime.js. Marked component examples inherit shared metrics. Markdown includes the selected recipe and current resolved tokens, with equivalent px/rem dimensions. Icon uploads are reference assets, not a replacement for every component icon.
Auto-save + auto-apply

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.

Write fails (quota exceeded, storage unavailable)
The error is caught instead of thrown uncaught mid-click - your on-screen selection can still change, but a visible banner says the change may not have persisted, and the field's previous saved value (if any) is left exactly as it was, since a failed write never reaches localStorage at all.
Caught, reported, old value kept
Read fails or the record is corrupt JSON
Falls back to this section's own documented default - same as "nothing was ever saved" - but now says so with a visible banner, instead of silently defaulting with no sign your prior save was lost.
Falls back, reported
Record from a future/unrecognized schema
All Foundation records use schemaVersion 1. Valid unversioned records migrate in memory and are stamped on the next successful edit. Future, malformed and invalid records are preserved and cannot be overwritten by ordinary saves. Back up raw saved settings, then use explicit section reset to recover. Typography also has a one-time heading-scale migration.
Versioned, preserved

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.

Colors
Additive: a new semantic alias. Breaking: a renamed/removed CSS custom property - deprecate by keeping the old variable as an alias for one release instead, noted in your release notes. Release-ready when: contrast badges recompute correctly, Dark Mode sync holds across all 4 sections, and the full-site regression sweep is clean.
Alias, don't remove
Grid & Layout
Additive: a new product card or layout pattern. Breaking: a changed data-product slug or grid-type key - deprecate by keeping the old slug as an entry in PROJECT_PRODUCT_TYPE_MAP rather than deleting it outright. Release-ready when: the Project setup to Spacing/Radius/Grid & Layout sync matrix passes for every category and the regression sweep is clean.
Keep slug mapped
Typography
Additive: a new semantic level or platform preset. Breaking: a renamed font-size/weight token - deprecate by migrating a saved profile's per-level state on read, the same pattern project-model.js already uses for product-type migration. Release-ready when: a profile saved under the prior shape still loads and renders without error.
Migrate on read
Spacing
Additive: a new product card. Breaking: a renamed system key (2px/4px/8px/Adaptive) or data-product slug - deprecate by aliasing the old slug/key rather than removing it. Release-ready when: the same 3-page product/platform sync matrix as Grid & Layout passes.
Alias, don't remove
Radius
Additive: a new philosophy. Breaking: a numeric token's meaning changing without its name changing - deprecate by renaming rather than reassigning a numeric token's value, since a token name must keep meaning the same thing. Release-ready when: a section's Machine View value matches the live computed CSS custom property it claims to represent.
Rename, don't reassign
Borders
Additive: a new preset. Breaking: a state's property becoming fixed after being advertised as editable - deprecate an editable property by relabeling it fixed in the same release the UI control is removed, not after. Release-ready when: every input the Config panel exposes actually changes what Save persists.
Relabel same release
Shadows
Additive: a new elevation layer. Breaking: a philosophy's resolved recipe changing without its name changing - deprecate a philosophy by keeping its name mapped to a new recipe only with a release note, never silently. Release-ready when: a Machine View's resolved value matches the live rendered box-shadow.
Note recipe changes
Icons
Additive: a new library. Breaking: an uploaded/custom icon reference no longer resolving - deprecate a library by keeping its id resolvable even once no longer offered as a default choice. Release-ready when: uploaded references survive reload, removal and reset, including blocked storage and interrupted file reads.
Keep id resolvable
AI & Agents
Additive: a new rule or example. Breaking: a demo's cited evidence no longer matching its named source - deprecate an example by removing it in the same release its citation stops matching, not leaving a stale one live. Release-ready when: every citation in this section has been re-checked against the real file/line it names.
Re-check citations

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."
    }
  }
}