Skip to content
Design System
GitHub

Choice field

v0.15.1

A choice as a whole tappable row (checkbox, radio or switch with label, description and count); FieldSet groups them under one question.

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

    KeysAction
    SpaceToggle the focused checkbox or switch
    ↑ ↓Move between radio options

    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.