Skip to content
Vertical Jump Designs-uiFront-End Studio
Get Pro

v3.9 is out.

Get started

Accessibility

Accessibility is built in, not bolted on. Every component targets WCAG 2.2 AA and follows the WAI-ARIA Authoring Practices for its pattern, so keyboard, screen reader and low-vision users get a working interface by default.

What's built in

  • Keyboard support Each component follows the WAI-ARIA Authoring Practices pattern for what it is (tabs, menu, dialog, listbox, combobox and so on), including the full keyboard model.
  • Native elements first Buttons are <button>, links are <a>, inputs are <input>. ARIA is added only where HTML has no equivalent, so browsers and assistive technology get semantics they already understand.
  • Names, descriptions and errors Labels, hints and error messages are wired up with aria-labelledby, aria-describedby and aria-invalid. Icon-only controls require an aria-label in their types, so a missing name is a compile error.
  • Focus management Every interactive element has a visible focus ring. Dialogs and drawers trap focus while open and return it to the control that opened them; the rest of the page becomes inert.
  • Contrast in both modes Text pairs meet 4.5:1 and UI boundaries and icons 3:1, in light and dark mode and for every brand. The token pairs are verified by an automated contrast check.
  • More than color State never relies on color alone: selected, invalid and current states add an icon, text or a change of shape.
  • Target size Pointer targets are at least 24×24 CSS pixels, the WCAG 2.2 minimum. Default control heights are 32, 40 and 48 pixels.
  • Announcements Async and status changes (toasts, loading states, result counts, copy confirmations) are announced through live regions.
  • Reduced motion and high contrast Animations respect prefers-reduced-motion, and interactive components have Windows High Contrast (forced colors) styles so they stay usable there.

What's up to you

Components can't know your content. A few things are always the app's job, and the APIs are shaped to make them easy.

Give every control a name

Use a visible label (directly, or through Field) wherever you can. A placeholder isn't a label: it disappears as soon as someone types.

tsx
// A visible label, wired up for you
<Field label="Email" hint="We'll never share it.">
  <Input type="email" />
</Field>

// An icon-only control needs a name of its own
<IconButton aria-label="Delete draft" variant="ghost" tone="danger">
  <TrashIcon />
</IconButton>

Keep a sensible heading outline

Components that render headings (Heading, Card.Title, Accordion, EmptyState, Alert…) take a level or headingLevel prop separate from their visual size. Pick the level that fits where the component sits on the page.

tsx
// The level follows the page outline; the size follows the design.
<Heading level={2} size="lg">Billing</Heading>
<Card.Title level={3}>Payment method</Card.Title>

Describe images

Image requires alt. Describe what the image shows, or pass alt="" when it's purely decorative. Avatar is named by its alt or name; set decorative when the name is already shown beside it.

Localize built-in text

Wrap your app in LocaleProvider to translate every component's built-in words (a close button's name, "Loading", result counts) into one of 32 languages; see Localization. Per-component props such as closeLabel, loadingLabel or resultsLabel still override single strings.

Keep custom styles accessible

When you style your own UI, pair colors the way the components do: text on --color-{tone} uses --color-on-{tone}, and text on --color-{tone}-subtle uses --color-{tone}-subtle-text. Those pairs are the ones checked for contrast. See Design tokens.

How it's tested

Every component has Storybook stories covering its variants and states, and each story runs automated axe accessibility checks. Color token pairs are verified against WCAG 2.2 AA contrast ratios by a script, for both modes. These docs also audit every component page with axe-core and Lighthouse; see the Accessibility report at the end of each component page.

Automated checks catch a share of issues, not all of them. Test your own flows with a keyboard and a screen reader too.