WCAG 1.2.2: Captions (Prerecorded)
WCAG 1.2.2, titled "Captions (Prerecorded)", is a Level A success criterion requiring captions for all prerecorded audio content in synchronized media, with limited exceptions. This ensures that individuals who are deaf or hard of hearing, as well as others in diverse contexts, can fully access and comprehend video content.
Introduction to WCAG 1.2.2 Captions (Prerecorded)
This success criterion requires that if your website includes prerecorded synchronized media (which is media containing both audio and visual components, like a video), then comprehensive captions must be available for all the audio content. "Prerecorded" means the media is not live and can be edited before distribution.
What are captions? Captions are a text alternative for the audio information in synchronized media. They are displayed on-screen, synchronized with the video, and typically include not only spoken dialogue but also crucial non-speech audio information such as sound effects, musical cues, and speaker identification. Unlike subtitles, which primarily translate dialogue for foreign languages, captions aim to provide a complete textual representation of all audio for those who cannot hear it.
Why WCAG 1.2.2 Matters: Accessibility Impact
Providing captions for prerecorded media is not just a best practice; it’s a critical component of web accessibility that significantly broadens the reach and usability of your content. Adhering to WCAG 1.2.2 ensures:
Success Criteria and Requirements (Level A)
The full text of WCAG 1.2.2 states: "Captions are provided for all prerecorded audio content in synchronized media, except when the media is a media alternative for text."
Key Components Explained:
Practical Guidelines for Compliance
Achieving compliance with WCAG 1.2.2 involves several steps for content creators and developers:
Examples
Correct Implementation: Using HTML5 <video> with <track>
This approach uses the native HTML5 video player capabilities to provide closed captions.
HTML Structure
Example WebVTT File (captions.vtt)
Explanation: The <track> element specifies the location of the WebVTT file. The kind="captions" attribute indicates its purpose, srclang="en" specifies the language, and label="English" provides a user-facing description. The default attribute makes these captions appear automatically, but users can still toggle them off.
Incorrect Implementations
Scenario 1: No Captions Provided
Reason for Failure: This video has audio content but lacks any <track> element for captions, making it inaccessible to deaf or hard-of-hearing users.
Scenario 2: Incomplete Captions
Imagine a video where someone says "Hello!" and then a loud bell rings. The caption file only says:
Reason for Failure: The caption file correctly captures the dialogue but completely omits the significant non-speech audio event ("[Loud bell rings]"), which could be crucial for understanding the video’s context or narrative.
Scenario 3: Poorly Synchronized Captions
A video shows a person speaking, but the text for their dialogue appears several seconds too early or too late, making it difficult or impossible to follow.
Reason for Failure: Even if the text is accurate, incorrect timing renders the captions practically unusable for synchronized media. This fails the "synchronized" aspect of the criterion.
Best Practices and Common Pitfalls
Best Practices
Common Pitfalls
Conclusion
WCAG 1.2.2 Captions (Prerecorded) is a foundational criterion for inclusive web design. By providing accurate, complete, and properly synchronized captions for all prerecorded audio, developers and content creators can greatly enhance media accessibility. This not only meets essential accessibility standards but also ensures equitable access to information for all users.
Related posts
- WCAG 5.2.3: Complete processes
- WCAG 5.2.4: Only Accessibility-Supported Ways of Using Technologies
- WCAG 5.2.5: Non-Interference
- WCAG 5.3.1: Required elements of the conformity declaration
- WCAG 5.3.2: Optional Components of a Conformance Claim
Still looking for answers?
Ask our experts using online chat