<video> elements must have captions
How to fix the video-caption accessibility rule. Images and text alternatives.
What this rule checks
Ensure <video> elements have captions
Who is affected
This video has no captions, so deaf and hard-of-hearing users miss the audio.
How to fix it
Add a captions track: <track kind="captions" src="captions.vtt" srclang="en">.
WCAG success criteria
When this rule fails, the page fails:
- 1.2.2 Captions (Prerecorded) (Level A, WCAG 2.0, 2.1, 2.2)
Find it on your own page
Scan a web page and the report lists every element that fails this rule, with screenshots outlining where they are, the code, and a selector you can paste into your browser’s developer tools.
More detail
- Deque University’s reference for video-caption (the makers of axe-core, the engine our scanner uses)
- All fix guides