WebVTT stores timed text cues aligned with audio or video. For captions, include spoken dialogue, speaker identification, and meaningful non-speech sounds. Browsers overlay cues at their timestamps when enabled, and assistive technologies can access them. Tracks can also provide subtitles, audio descriptions, or chapter titles. section 3.4.2
<video controls src="/latest/podcast.webm"> <track kind="captions" src="/latest/captions/podcast.vtt" srclang="en" /> </video>
Associate a WebVTT caption file with video using the native HTML track element. section 3.4.2
WEBVTT 00:00:01.000 --> 00:00:04.000 Ive: Welcome to our weekly podcast. This always brings me joy! 00:00:05.000 --> 00:00:06.000 Jess: [Claps hand and laughs out loud] 00:00:07.000 --> 00:00:09.000 Jess: Hi, guys! And what a day to be recording this
See timed cues, caption text, speaker names, and a non-speech sound in a podcast example. section 3.4.2
