HighWCAG 1.2.2 · Level APerceivable
Video Component Lacks Subtitles/Captions
Flags video player elements that do not contain a child <track kind="captions"> or <track kind="subtitles"> node.
Rule ID: custom-video-captions-missing · reported under Needs review, because a person should confirm it.
Who this affects
Deaf and hard-of-hearing people, and anyone watching without sound, miss what is said.
WCAG 1.2.2 Captions (Prerecorded): read the W3C explanation of Captions (Prerecorded)
How to fix it
Problem
<video controls src="/assets/intro.mp4"></video>Fixed
<video controls src="/assets/intro.mp4"><track default kind="captions" srclang="en" src="/captions_en.vtt"></video>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.