Skip to main content
  1. Docs
  2. Guides
  3. Accessibility

Accessibility

WCAG 2.2 AA is built in. Names, headings and words are yours.

Target
WCAG 2.2 AAEvery component
Checked
axeOn every pull request

01 — Built in

What every component does.

KeyboardEvery control works by keyboard, with the WAI-ARIA keys: each component's Accessibility tab lists them.
FocusA 2px ring on every focusable part; dialogs move focus in, keep it there and give it back.
Roles and statesBase UI's roles, names and states: aria-expanded, aria-selected, aria-current and the rest.
ColourStatus never rests on colour alone: an icon, a word, or a hidden word for screen readers carries it.
MotionUnder reduced motion every duration drops to 0: what moves fades or holds still.
Forced coloursBorders and indicators are drawn in system colours, so nothing disappears.
DisabledDisabled buttons stay focusable, so the reason can be read.

02 — Yours to do

What only your page knows.

NamesAn aria-label on every icon-only control; a label on every field; a label on every Table, Tabs list and ScrollArea.
HeadingsOne <h1> a page (PageHeader's title), then levels in order.
Languagelang on <html>, and on any passage in another language: <div lang="hi">.
WordsStatus in words: a Badge says Blocked; an Alert says what to do.
AnnouncementsAlert's announce, only for an alert that appears; a role="status" for a change shown elsewhere.
names.tsx
<IconButton icon={DownloadIcon} aria-label="Download invoice" />
<Table label="Users" … />
<TabsList aria-label="Priya Sharma">…</TabsList>

03 — Tested

How it's checked.

axe, WCAG 2.2 A and AA, in Chromium on every pull request; Firefox and WebKit every night; the keys in each component's table, in a test; forced colours, reduced motion and right to left. Each component's Accessibility tab says what's tested for it.

Next — GuidesRight to left