liveBook · Manning

WebVTT

As explained in Architecting Accessibility

WebVTT is a web format for timed text tracks containing cues aligned with audio or video tracks.

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

How Architecting Accessibility covers it

How deep it goes
Defines cues as start and end timestamps plus text separated by blank lines, without detailing broader file syntax.
Examples
Uses podcast captions with timestamps, speaker names, dialogue, and a described laugh.
What you can do after
Build timed caption files and associate them with video using the HTML track element.
How it connects
Connects with HTML track elements, video, captions, subtitles, audio descriptions, and chapter titles.

This explainer was generated by Manning's knowledge graph from the text of Architecting Accessibility. The section links point to the parts of the book it draws on.