Video Caption

Users who are deaf or hard of hearing need captions that give them information about the videos on a web page.

Accessibility

Use of video captions

Users who are deaf or hard of hearing need captions that give them information about the videos on a web page: e.g. who is speaking, what they are saying and what is happening.

 

How the SeoChecker video caption audit fails

When <video> elements have no <track> element with the attribute kind=”captions”, SeoChecker will notify it.

 

How can I add captions to a video?

<video> element with the kind=”captions” attribute need minimum one track element.

<video width="300" height="200">
    <source src="marathonFinishLine.mp4" type="video/mp4">
    <track src="captions_en.vtt" kind="captions" srclang="en" label="english_captions">
    <track src="audio_desc_en.vtt" kind="descriptions" srclang="en" label="english_description">
    <track src="captions_es.vtt" kind="captions" srclang="es" label="spanish_captions">
    <track src="audio_desc_es.vtt" kind="descriptions" srclang="es" label="spanish_description">
</video>

Share this Guide

Did you like it? Share it!

Share this tool

Web tools for modern developers. Try these one!

Over 50 generators, builders and validators to improve your SEO and web performances

Home Back to top of the page