Rule

Video captions

Video content must have captions.

Rule
media-captions
WCAG 2.2
1.2.2 Captions (Prerecorded) (opens in a new tab) (Level A)
Severity
Critical

What it checks

Prerecorded video with sound needs captions. The rule passes a <video> that has a <track kind="captions">. A video with no source, or one that is muted and has no controls, has no sound anyone can hear and passes too.

When a person decides

Any other video is sent for review rather than failed, because captions can be burned into the picture or supplied by the player, and the markup shows neither.

A video with only a subtitles track, or a <track> with no kind, which defaults to subtitles, is also sent for review. Subtitles carry dialogue for people who can hear the audio. Captions also carry sound effects and other audio information that deaf and hard of hearing viewers need.

Example

Sent to review

<video controls src="product-tour.mp4" width="640" height="360"></video>

Passes

<video controls src="product-tour.mp4" width="640" height="360">
  <track kind="captions" src="product-tour.en.vtt" srclang="en" label="English">
</video>

The engine is tested against both examples.

How to fix it

Add a WebVTT file with <track kind="captions" src="…" srclang="en" label="English">, covering speech and the sounds that matter.

Check your own pages

This rule runs in every pour audit: the browser extension, the bookmarklet, the command line and the editor. Get pour, free.