Sub topic 10
What makes captions accessible
This chapter assumes you can read a short Python script and a WebVTT file. You should also know that an AI tool can draft captions (covered in the chapter on drafting captions and transcripts). Here you learn what a caption file must contain to serve the people who depend on it. The later chapter on checking captions against the audio uses these criteria as its checklist.
Why accuracy alone is not enough
A caption file can match the spoken words and still fail a viewer. Captions are used by people who are deaf or hard of hearing. They are also used by people watching without sound, by people in a second language, and by people who process text better than speech. Each group needs the same thing: the text must carry everything the audio carries, and it must be readable in the time it is on screen.
Accessibility standards describe this need in terms of equivalence. The Web Content Accessibility Guidelines (WCAG) require captions for prerecorded audio in synchronized media at Level A. They also require that captions be accurate and in sync. Your institution or region may add legal requirements on top of this, so confirm which standard applies to your course.
Captions are not the same as subtitles. Subtitles usually assume the viewer can hear and only need the dialogue translated. Captions assume the viewer cannot hear, so they include meaningful non-speech sound.
The five properties of an accessible caption
An accessible caption track has these properties.
- Complete. Every spoken word that matters is present, in order. Nothing is summarized or dropped to save space.
- Accurate. Words, names, numbers, and technical terms are spelled correctly.
- Synchronized. Each cue appears when the words are spoken and leaves soon after.
- Readable. Cues are short enough to read at a comfortable speed and are broken at natural points.
- Equivalent. Speaker changes and meaningful non-speech sounds are marked.
An AI draft usually does reasonably well on the first property for clear speech. It is weaker on the others, especially the last. Speech-to-text tools often leave out sound descriptions and speaker labels, because they were built to produce words and not to describe a soundtrack.
Completeness and equivalence
Speaker identification
If the video has more than one voice, the viewer must know who is speaking. This matters most when the speaker is off screen. Common conventions are a name in brackets or a dash at the start of a line when the speaker changes.
WEBVTT
00:00:00.000 --> 00:00:03.000
<v Maya>Today we compare two budgets.
00:00:03.200 --> 00:00:06.000
<v Jon>Which one starts with the lower rent?The <v> tag is the WebVTT voice span. Players that support it can show or style the speaker name. Players that do not support it may show the tag text or hide it, so test in the player your course uses.
Non-speech sound
Include sounds that a hearing viewer would use to understand the scene. A bell that signals the end of a timer counts. Generic background hum does not.
WEBVTT
00:00:10.000 --> 00:00:12.500
[timer beeps]
00:00:12.500 --> 00:00:16.000
That beep means the five minutes are over.Describe the sound in square brackets, in present tense, and keep it short. Music that sets mood or carries meaning can be noted, for example [upbeat music]. Do not describe what is already visible on screen.
Meaningful on-screen speech and reading
If the narrator reads text aloud from a slide, the captions carry the words as spoken. If a slide shows text the narrator never says, captions are not the place to repeat it. That need belongs to the visual description and the transcript, which are separate concerns from this chapter.
Synchronization
A cue should appear at or just before the first word and disappear shortly after the last word. A cue that lags by a second makes a viewer read words that the speaker has already moved past. A cue that leaves too early cuts reading short.
Timing errors in AI drafts come in a few common forms:
- A constant offset, where every cue is late by the same amount. This usually comes from a leading silence or an intro that was trimmed after the captions were made.
- Drift, where the error grows over the video. This often happens when the audio was re-encoded at a different speed or frame rate.
- Cue boundaries that fall in the middle of a phrase, because the tool split text by length and not by meaning.
A constant offset is easy to fix. You shift all cues by one value. Drift is harder, because the error is not the same everywhere, and you may need to re-time sections by hand.
Readability
Readability is mostly arithmetic. A viewer needs time to read, and the line length determines how much fits on screen. Common guidance from caption style guides is:
- Up to two lines per cue.
- Around 32 to 42 characters per line.
- A reading speed of roughly 15 to 20 characters per second for adult viewers, lower for children or complex material.
- A minimum cue duration of about one second, and a maximum of about six or seven.
These figures are guidelines, not law. Your organization's style guide takes priority. What matters is that you pick numbers and check against them every time.
Line breaks
Break lines at phrase boundaries, not at a fixed character count. Avoid ending a line on an article or preposition. A break like "the / budget" is harder to read than "the budget / starts here".
Checking reading speed with a script
The timing check in the previous chapter on drafting catches cues that end before they start. It does not catch cues that are too fast to read. The script below adds a reading-speed and line-length check.
import re
TIME = re.compile(
r"(\d+):(\d{2}):(\d{2})\.(\d{3}) --> (\d+):(\d{2}):(\d{2})\.(\d{3})"
)
def seconds(h, m, s, ms):
return int(h) * 3600 + int(m) * 60 + int(s) + int(ms) / 1000
def check_readability(text, max_cps=20, max_line=42, max_lines=2):
problems = []
lines = text.splitlines()
i = 0
while i < len(lines):
m = TIME.search(lines[i])
if not m:
i += 1
continue
start = seconds(*m.groups()[:4])
end = seconds(*m.groups()[4:])
i += 1
cue_lines = []
while i < len(lines) and lines[i].strip():
cue_lines.append(lines[i])
i += 1
plain = [re.sub(r"<[^>]+>", "", ln) for ln in cue_lines]
label = f"cue at {lines[i - len(cue_lines) - 1].split(' --> ')[0]}"
if len(plain) > max_lines:
problems.append(f"{label}: more than {max_lines} lines")
for ln in plain:
if len(ln) > max_line:
problems.append(f"{label}: line over {max_line} characters")
duration = end - start
chars = sum(len(ln) for ln in plain)
if duration > 0 and chars / duration > max_cps:
rate = chars / duration
problems.append(f"{label}: {rate:.1f} characters per second")
return problems
sample = """WEBVTT
00:00:00.000 --> 00:00:01.000
This sentence is far too long to read in one second.
00:00:01.500 --> 00:00:05.000
This one is fine.
"""
print(check_readability(sample))Running it on the sample flags the first cue for a line over 42 characters and for a reading speed above 20 characters per second. The second cue passes. The script strips tags such as <v Maya> before counting, so the speaker label does not inflate the length. Like the earlier timing check, it measures form only. A cue can pass every number and still contain the wrong word.
Format and delivery
Use a standard, supported format
WebVTT is the standard caption format for HTML5 video and works in most course platforms. SRT is simpler and widely accepted but cannot carry styling or voice tags. Check which format your platform accepts before you generate a whole course of captions.
Captions versus open captions
Closed captions can be switched on and off by the viewer. Open captions are burned into the picture. Prefer closed captions where you can. They can be resized, restyled, searched, and translated, and a viewer can adjust them to their needs. Open captions cannot be corrected without re-exporting the video.
Provide a transcript as well
A transcript is the full text of the audio, without timing. It helps people who use a screen reader or a braille display, and it is searchable. Many accessibility standards expect a text alternative for audio-only content, such as a podcast lesson. Keep the transcript and the captions consistent. If you fix a word in one, fix it in the other.
Putting the criteria together
The diagram shows how the five properties map to checks you can run. Scripts cover form. A person with the audio covers content.
Common errors
- Treating the AI output as final because it has no spelling mistakes. Spelling is not accuracy. A tool can write a real word that is the wrong word.
- Removing filler words and false starts to make cues shorter. Light cleanup is acceptable for readability, but do not change what the speaker said. Follow your style guide on this.
- Leaving out sound descriptions because the tool did not produce any.
- Checking sync only at the start of the video. Check at the start, the middle, and the end to catch drift.
- Ignoring the player. A caption file that is valid can still look wrong in the course platform. Open it there before sign-off.
Summary of criteria
| Property | What it means | Easy to automate? |
|---|---|---|
| Complete | All meaningful speech is present | No |
| Accurate | Words, names, and numbers are correct | No |
| Synchronized | Cues match the audio timing | Partly |
| Readable | Line length and reading speed are within limits | Yes |
| Equivalent | Speakers and non-speech sounds are marked | No |
Exercise
A caption file passes your readability script with no problems. A reviewer still rejects it. Name two properties of an accessible caption that the script cannot confirm, and say how you would check each one.
Show answer
The script cannot confirm accuracy or equivalence (completeness and sync are also acceptable answers). To check accuracy, play the video with the audio and compare the captions to what is said, paying attention to names, numbers, and technical terms. To check equivalence, listen for speaker changes and meaningful non-speech sounds, such as a timer or an alert, and confirm that each one is marked in the captions. Sync can be checked by sampling cues at the start, middle, and end of the video.
Exercise
A cue lasts 1.5 seconds and contains 45 characters across one line. Using the limits in the script above (20 characters per second, 42 characters per line), which limits does it break?
Show answer
It breaks both. The line is 45 characters, which is over 42. The reading speed is 45 / 1.5 = 30 characters per second, which is over 20. A fix is to lengthen the cue if the audio allows, or to split the text into two cues at a phrase boundary.