Free scan

Fix "Video without captions" in HTML

Why it's a problem

A video whose soundtrack carries speech or meaningful sounds is inaccessible to Deaf and hard-of-hearing people without synchronised captions — and to anyone watching muted. axe-core cannot tell whether the video speaks: it reports a missing captions track as an item to review, not a certain failure.

How to fix it — HTML

Add a <track kind="captions"> in WebVTT format, synchronised and faithful to the dialogue, with meaningful sounds in brackets. Proofread auto-generated captions before publishing: recognition errors sometimes change the meaning. A video with no speech or meaningful sound does not need them.

Avoid
<video src="/demo.mp4" controls></video>
Correct
<video controls>
  <source src="/demo.mp4" type="video/mp4">
  <track kind="captions" src="/demo.fr.vtt" srclang="fr" label="Français" default>
</video>

Check your site in 30 seconds

Conformly detects this kind of issue across all your pages, continuously, and alerts you on every regression.

Free scan

Other fixes