Video elements must have captions via <track kind='captions'> or <track kind='subtitles'>

time-based-media/video-captions · WCAG 1.2.2 · Level A

Video elements must have captions via <track kind='captions'> or <track kind='subtitles'>.

Captions provide text alternatives for audio content in videos, benefiting deaf users and those who cannot hear audio. Add a <track> element with kind='captions' pointing to a WebVTT caption file. Captions should include both dialogue and important sound effects.

Scan a page or repo for issues like this · All rules

Introduced in @accesslint/core v0.8.0