The HTML <track> element associates a timed text file, such as WebVTT, with audio or video. Use it to offer captions that help people who are deaf or hard of hearing follow dialogue and meaningful sounds. section 3.4.2
<video controls src="/latest/podcast.webm"> <track kind="captions" src="/latest/captions/podcast.vtt" srclang="en" /> </video>
This example links a WebVTT caption file to a video. The browser loads the file separately and displays its cues at their timestamps when captions are enabled. section 3.4.2
Caption files should include spoken dialogue, speaker identification, and meaningful non-speech sounds. Review auto-generated captions for accuracy and meaning. Tracks can also provide subtitles in other languages, audio descriptions, or chapter titles. section 3.4.2
