Closed Captions Carry More Than Dialogue

In an imagined web video, a caption reads Knocking at the door while the camera shows someone looking up from a table. The door stays outside the frame. Closed captions put dialogue and other sounds needed to understand the video into timed text that viewers can show or hide. In this scene the words carry the part that the picture leaves out: what made the person look up.

A hand knocks on a slate-blue door beside a charcoal microphone on a stand.

Which part of the soundtrack becomes text?

In its guide to captions and subtitles, the W3C Web Accessibility Initiative states: "Captions are a text version of the speech and non-speech audio information needed to understand the content." The definition has room for a sound with no words in it. For a viewer who cannot hear the knock, a caption naming it makes the reaction in the picture easier to interpret.

The relevant sound depends on the scene. In its transcription guidance, the W3C Web Accessibility Initiative uses approaching hoofbeats as an example of non-speech audio that can carry information. The same guidance reserves descriptions of background music for occasions when the music matters to understanding the video. A steady tune behind a conversation and hoofbeats that tell someone a horse is approaching serve different purposes in the soundtrack.

Who is speaking can also be part of the information. The W3C Web Accessibility Initiative recommends identifying speakers where it matters. In a hypothetical scene where the picture stays on the listener while a second person speaks, a name beside the words can distinguish the unseen speaker from the person on camera. The picture shows who is listening. The caption can supply who is talking.

What the Soundtrack Supplies
  • Speech: The words spoken in the scene
  • Speaker identity: Who is speaking when the distinction matters
  • Non-speech sound: A sound the viewer needs to understand the scene
  • Background music: Included when it matters to understanding the content

Does the label ‘subtitles’ settle what the track contains?

The W3C Web Accessibility Initiative uses captions for text in the same language as the spoken audio and subtitles for speech translated into another language. The guide also notes that some regions use subtitles for both. An English-language track labelled subtitles could therefore accompany English speech or translate speech in another language. The label alone leaves the relationship to the audio open.

The difference in purpose helps explain what the track might say about the knock. Translated subtitles are usually there to supply the meaning of spoken words to viewers who can hear the soundtrack but do not know the spoken language. The W3C guide also allows for subtitles that translate the caption content, including descriptions of sounds. In that case the knock can appear as text in the translation as well.

Two Terms for the Language Relationship
Intralingual subtitles:
Text in the same language as the audio
Interlingual subtitles:
Text in a different language from the audio

The guide calls same-language subtitles intralingual and translated subtitles interlingual. These terms describe the relationship between the spoken and written languages. The label closed answers a different question: whether a person watching the video can turn the text off.

What does a timestamp tell the video player?

The caption text describes the knock. Its timing tells the player where the words fit. MDN Web Docs describes a WebVTT caption file as having a header followed by entries called cues, with optional blocks such as styles before the cues. Each cue pairs its text with a start and end time. A cue for the knock can carry the short description and the interval in the video when the description belongs on screen.

Suppose the cue for Knocking at the door runs from 00:06.000 to 00:08.000. In a player displaying that track, the caption is eligible to show during that interval, from six seconds into the video to eight seconds. The times refer to positions in playback. They have no connection with the hour at which the knock was recorded or the hour at which the viewer presses play.

MDN Web Docs describes an HTML track element as a way to associate a separate text file with the media. The element's kind setting identifies how the supplied text is to be used. In a video with a WebVTT caption track, the timed caption may appear as an overlay, text drawn over the video, while its cue is active and the track is showing. The lettering is supplied by the track alongside the picture.

The Browser's Side of the Markup
Supplied markup or track data
HTML track points to a WebVTT file identified as captions
Cue text with start and end times
Rendered result in a browser displaying the caption track
Timed caption text can appear over the video
The words appear during the cue's interval when the track is showing

Timing can change the information a cue supplies even when its words stay the same. If the caption for a hypothetical knock appears while the person is still reading, it may announce the sound before the soundtrack does. If it appears after the person looks up, it may read as a separate event. Synchronisation places the description alongside the sound it represents.

The cue for a sound does not necessarily have to wait for a line of speech to end. The MDN WebVTT format guide describes overlapping cue times for caption tracks. If someone in the imagined scene were already speaking when the knock came, the interval for the description could overlap the interval for the spoken line. Each entry would still have its own start and end. The overlap belongs to the timing of what was heard, even if the cues occupy different lines on the picture.

Who can choose whether the caption is visible?

With closed captions, the viewer can show or hide the text. The W3C Web Accessibility Initiative distinguishes closed captions from open captions, which remain visible and cannot be turned off. In the imagined clip, a viewer can hide the closed caption and still see the person look up. The view changes in one respect: the text naming the knock is gone.

A web page can use the browser's default media player or a player supplied by the site. The W3C Web Accessibility Initiative's media player guidance distinguishes the browser's default player from other players with their own features. A site's controls are part of the interface the viewer encounters; the timed caption file supplies the wording and the playback interval. The file does not prescribe the location or appearance of a particular site's menu.

When the browser lists available text tracks, it can display a readable title supplied by the page's label setting. MDN Web Docs distinguishes that title from the kind setting that identifies the use of the track. In the imagined clip, English might be the title in the list, while the track's kind identifies it as captions. Neither field supplies the words that name the knock. Those are in the caption file itself.

The choice of which track starts enabled is another matter. MDN Web Docs describes the default setting as a request to enable a track unless the viewer's preferences indicate another track is more appropriate. A track can therefore be marked as the initial choice in the supplied markup without its name or its captions being rewritten. The default concerns which track is selected; the cue times concern when its words are shown.

What the Track List Uses
Label:
Supplies the name a browser can display in the track list
Default setting:
Marks a track for initial selection unless viewer preferences make another track more appropriate

The name in the list and the initial selection come from different settings.

The appearance of the visible text can vary even when the wording and timing stay the same. The W3C Web Accessibility Initiative says support for author-specified caption styling and placement is inconsistent across browsers and players. The same guidance notes that some players allow viewers to change the text size, colour or position of the captions. Where a player offers a larger text setting, the practical result is a larger line on the picture at the same point in playback.

Frequently Asked Questions

What does WebVTT stand for in web captioning?

WebVTT is the Web Video Text Tracks format. MDN Web Docs also describes chapter titles among the uses of text tracks. In a chapter track, the titles are there for navigation through the video.

Can a video player turn a caption file into an interactive transcript?

Some media players use a caption file to supply an interactive transcript, according to the W3C Web Accessibility Initiative. The transcript can highlight phrases as they are spoken. Selecting a phrase in the transcript can move playback to the corresponding point in the video.

Can a real-time captioner work away from the venue?

The W3C Web Accessibility Initiative describes both in-person and remote live captioning. A remote captioner can listen to the live sound over a phone or internet connection. The captioner does not have to be at the location of the event to follow its audio.

Can automatic captions serve as a draft for edited captions?

The W3C Web Accessibility Initiative describes automatically generated captions as a starting point for accurate captions and transcripts. Speech recognition can miss a word that reverses the meaning of a sentence. The automatic output may therefore need substantial editing against the original audio.

Can live captions need editing before a recording is posted?

The W3C Web Accessibility Initiative says live captions will probably need minor edits for accuracy if the event recording is posted. The text available during the live event can be revised for the recorded version. The guidance makes this a likely need rather than a claim that every recording requires the same changes.

Sources

  • W3C Web Accessibility Initiative: Captions/Subtitles
  • W3C Web Accessibility Initiative: Transcribing Audio to Text
  • W3C Web Accessibility Initiative: Media Players
  • MDN Web Docs: Web Video Text Tracks Format (WebVTT)
  • MDN Web Docs: The Embed Text Track element