liveBook · Manning

Media player

As explained in Architecting Accessibility

A media player is software that presents audiovisual content and provides controls for playback and related media features.

Accessible media players let people navigate playback by keyboard, identify controls, and turn captions on or off. Audio description can preserve visual context when someone cannot watch the screen. section 3.4.2

When choosing or configuring a player:

  • Prefer native browser controls to custom controls, but test keyboard navigation, visible focus, and screen-reader behavior. section 3.4.2
  • For caption tracks, provide language tags and labels; use a default track when appropriate. Test third-party caption controls with a keyboard and screen reader. section 3.4.2
<video controls src="/latest/podcast.webm">
  <track kind="captions" src="/latest/captions/podcast.vtt" srclang="en" />
</video>

A native video element with controls and a caption track shows a simple starting point for accessible playback. section 3.4.2

How Architecting Accessibility covers it

How deep it goes
Specifies control names, keyboard focus, caption settings, track metadata, and testing, but not a custom-player implementation.
Examples
Uses a cooking-while-streaming scenario and HTML video, caption tracks, and third-party embeds.
What you can do after
Configure accessible playback with native controls, caption tracks, language labels, and keyboard and screen-reader testing.
How it connects
Connects media players with captions, audio description, keyboard navigation, screen readers, and multilingual text tracks.

This explainer was generated by Manning's knowledge graph from the text of Architecting Accessibility. The section links point to the parts of the book it draws on.