Captions make video audio accessible to people who are deaf or hard of hearing. They can also support viewers using a non-native language and some neurodivergent viewers. section 3.4.2
Choose closed captions when possible: viewers can turn them on or off and customize their appearance. Use open captions when user control is not technically feasible or the playback context does not allow customization. section 3.4.2
Make captions meaningful and accurate:
- Include spoken dialogue, speaker identification, and meaningful non-speech sounds. section 3.4.2
- Review automatically generated captions for accuracy and meaning. section 3.4.2
<video controls src="/latest/podcast.webm"> <track kind="captions" src="/latest/captions/podcast.vtt" srclang="en" /> </video>
Link a time-coded WebVTT caption file to a video using the HTML track element. section 3.4.2
