video elements must have a track for captions

Log in (Premium content) Request a demo

Rule Description

An HTML5 <video> element must include a <track> element with kind="captions" set as a property. The captions should convey all meaningful auditory information in the video including dialogue, musical cues, sound effects, and other relevant information for deaf users.

The Algorithm, in Simple Terms

Ensures that the HTML5 <video> element is captioned.

Why this is Important

If a video has no caption, deaf users will have limited access to the information contained in it. Even if a captions track is available, ensure that it contains all the information necessary to understand the video, and not just dialogue.

How to Fix the Problem

Ensure all <video> elements have a caption using the <track> element with caption attribute. Ensure the caption conveys all meaningful information in the <video> element; this includes, but is not limited to, dialogue, musical cues, and sound effects.

Compliance Data & User Impact

User Impact: Critical
Disabilities Affected:
  • Deafness
Issue Type:
  • WCAG 2.0 (AA): MUST
  • Section 508: MUST
  • WCAG 2.1 (AA): MUST
WCAG Success Criteria:
  • 1.2.2 Captions (Prerecorded)
  • 1.2.3 Audio Description or Media Alternative (Prerecorded)
Section 508 Guidelines:
  • 1194.22 (a) Text equivalent for non-text elements

Related Deque University Course Pages

Other Related Resources

Additional Information

Relevant Technologies:
  • HTML5
Test Reliability: Automated testing is possible, with high accuracy
Rule ID: video-caption