Inline edit
v0.69.0, changelogBetaText 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
| Keys | Action |
|---|---|
| Enter / F2 | On the text, edit it |
| Enter | In the field, save |
| Esc | In 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.
- TextLabels, values, bodyWCAG 1.4.3 Contrast (Minimum)Needs 4.5:1Light 17.3:1Dark 17.3:1
- Keyboard focus ringFocus visible, on every control in itWCAG 1.4.11 Non-text ContrastNeeds 3:1Light 17.3:1Dark 17.3:1