squirrelscan
GitHub

Video Captions

Checks that videos have captions or transcripts

Checks that videos have captions or transcripts

Rule ID a11y/video-captions
Category Accessibility
Scope Per-page
Severity warning
Weight 5/10

Solution

All video content needs captions for deaf/hard-of-hearing users (WCAG 1.2.2). Add <track kind='captions' src='captions.vtt' srclang='en'> to video elements. For embedded videos (YouTube, Vimeo), enable captions in the embed settings. Also provide a text transcript for complex content. Auto-generated captions should be reviewed for accuracy.

Enable / Disable

Disable this rule

[rules]
disable = ["a11y/video-captions"]

Disable all Accessibility rules

[rules]
disable = ["a11y/*"]

Enable only this rule

[rules]
enable = ["a11y/video-captions"]
disable = ["*"]

Type to search…

↑↓ navigate↵ openesc close