Skip to content
Design System
GitHub

Time picker

v0.23.3Beta

TimePicker (slots in a popover) and TimeInput (typed), on a 24-hour "HH:mm" value.

Roles

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

  • button
  • textbox
  • Follows the WAI-ARIA pattern Button.

Keyboard

KeysAction
EnterCommit the typed time (TimeInput)
TabLeave the field; the time is read on blur
EnterSpaceOpen the list of slots (TimePicker)
TabIn the list: one stop, on the picked slot (or the first free one)
↑↓Previous or next free slot
Page UpPage DownSix slots back or forward
HomeEndFirst or last free slot
EnterSpacePick the focused slot and close
EscClose and return focus

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.