Skip to content
Design System
GitHub

Media player

v0.21.2Beta

A recorded clip (a robot's camera recording, an incident clip) with the kit's controls over a native video: play, a timeline with event markers, time, mute, speed, captions and full screen on a scrim; keys while focused; loading, buffering and unavailable states.

Roles

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

  • button
  • list
  • listitem
  • region
  • slider
  • status
  • Follows the WAI-ARIA pattern Slider.
  • Announces changes through a live region, so a screen reader reads an update without focus moving to it.

Keyboard

KeysAction
SpaceKPlay or pause (Space on a focused button presses that button)
←→Back or forward 5 seconds, also on the timeline
JLBack or forward 10 seconds
HomeEndOn the timeline: start or end of the clip
MMute or unmute
FFull screen, or leave it (Esc leaves it too)

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.