Skip to content
Design System
GitHub

Button

v0.17.1

Primary, secondary, outline, ghost, destructive and link; 36, 44 and 48 px; loading state with a delayed spinner.

Roles

What a screen reader is told each part is, measured in the examples on the Overview tab.

  • button
  • status
  • Follows the WAI-ARIA pattern Button.
  • Announces changes through a live region, so a screen reader reads an update without focus moving to it.

Keyboard

KeysAction
EnterSpaceActivate

Colour contrast

Computed from the shipped theme for the colours this component uses, on page and card backgrounds; the lower of the two is shown. WCAG 2.2 AA.