<audio> elements must have a <track> for captions
Log in (Premium content) Request a demo
<track>element must be present, with
kind="captions"set as a property. Captions are text—synchronized with the audio file—of the dialog, narration, and any important auditory information, for the benefit of deaf users.
The Algorithm, in Simple Terms
<audio>elements to ensure each contains a
<track>element with the
Why this is Important
Without a caption for an audio file, deaf users are not able to know the meaningful information that the audio conveys such as identifying who is speaking, its dialogue, and non-speech information conveyed through sound such as musical cues or sound effects. Captions provide the part of the content that is available via the audio track.
How to Fix the Problem
kind attribute of the
<track> element contains the value "captions". Ensure the caption text content conveys all meaningful information in the
<audio> element such as who is speaking, a transcript of the dialogue, musical cues, and sound effects.
- HTML 5