Accessibility
Focus you can see, keyboard paths that match the platform, measured contrast, and words for every mark.
Focus
Every interactive element shows the same focus ring when reached by keyboard: two pixels of blue, measured at 3:1 or better on every ground. It sits just outside a control, and just inside rows, tabs and menu items so it is never clipped. Clicking a button or link does not draw it; text fields show it whenever they have focus. Focus is never removed without a replacement.
Keyboard
Each component follows the platform convention for its role, so nothing has to be learned twice.
- Button and switch
- Enter or Space activates. Tab moves to the next control.
- Link
- Enter follows the link.
- Menu
- Arrow keys move, Home and End jump, Escape closes and returns focus, Tab leaves.
- Nested menu
- Right arrow or Enter opens, Left arrow or Escape returns to the parent item.
- Dialog
- Focus moves in and stays in; Escape closes and focus returns to the opener.
- Tabs
- Arrow keys move and select; only the selected tab is in the tab order.
- Radio group, segmented control
- Arrow keys move the choice; Tab leaves the group.
- Plate of wells
- Arrow keys move between wells, Home and End jump in a row, Enter or Space selects.
- Tooltip, popover
- Escape dismisses and returns focus to the trigger.
Names and announcements
- Every control has a name. Icon-only controls take a
labelthat names their object. - Fields keep visible labels; hints and errors are connected to the field so they are read with it.
- Outcomes use
role="status"and are announced politely. Only failures userole="alert". - Marks are pictures: their words live in a legend, a label or the accessible name. Decorative drawings are hidden.
- Tables keep header semantics on phones, where rows are shown as labelled cards.
Measured contrast
Contrast is calculated from the palette, not judged by eye, with translucent colors blended over their ground. The full matrix is on the color page; the tightest pairs are here.
- Secondary text on canvas, day
- 8.7:1, minimum 4.5:1
- Tertiary text on inset, day
- 4.8:1, minimum 4.5:1
- Tertiary text on inset, night
- 4.5:1, minimum 4.5:1
- Blue text on inset, day
- 5.0:1, minimum 4.5:1
- Field edge on canvas, day
- 3.7:1, minimum 3:1
- Earned rim on canvas, day
- 3.7:1, minimum 3:1
- Focus ring on canvas, night
- 6.0:1, minimum 3:1
Targets and motion
- Controls are 44 pixels tall by default and touch targets stay at least 44; small 32 pixel controls sit in dense rows with room around them.
- Nothing goes below 13 pixels, and text reflows with the browser's text size.
- Reduced motion, from the account or the device, removes transitions, entrances and every lift and press.
- Color is never the only signal: states have words, and data marks have shapes.