Skip to content
Design System
GitHub

Copy button

v0.23.0

Copies a value; the icon becomes a check for 1.5 s.

Roles

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

  • button
  • 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
EnterSpaceCopy

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.