Skip to content
Design System
GitHub

Label

v0.10.0

Accessible label for any control.

Roles

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

No role of its own: it is read as the text it contains.

    Keyboard

    Nothing in it takes focus: it is read, not operated, so it has no keys.

    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.