Skip to content
Design System
GitHub

Text that reads as plain text until it is edited in place: a click, Enter or F2 turns it into a field of the same size, Enter or leaving the field saves, Esc puts the text back.

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.

Keyboard

KeysAction
Enter / F2On the text, edit it
EnterIn the field, save
EscIn the field, put the text back

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.