In short
Every media item that carries information needs a text equivalent: captions and a transcript for a video, a transcript for a podcast, a title for an embedded iframe, a written address next to a map, a summary and plain data for a chart or an infographic. Once the task is done, a deaf or blind person, someone with the sound off, a search engine crawler and a language model all have access to the same information as the viewer.
Why it matters
A video, an audio file, an interactive map or an infographic is opaque to anyone who cannot see or hear it. WCAG success criterion 1.1.1 “Non-text Content” requires a text alternative for all non-text content; guideline 1.2 details time-based media:
| Criterion | Level | Requirement for prerecorded media |
|---|---|---|
| 1.2.1 Audio-only and Video-only | A | Transcript for audio only; transcript or audio track for silent video |
| 1.2.2 Captions | A | Synchronized captions for video with sound |
| 1.2.3 Audio Description or Media Alternative | A | Audio description or full transcript |
| 1.2.5 Audio Description | AA | Audio description of unspoken visual information |
Crawlers are in the same position as a blind user. Google's video documentation stresses the title and description specific to each video page, but promises nothing about analyzing the soundtrack. Generative engine crawlers read text: they do not watch the video embedded in the page and do not read the figures drawn in an infographic. A transcript published in HTML turns this content into passages that these tools can extract and possibly cite. No practice guarantees a citation.
Simple images are covered by neighboring tasks: provide ALT text for informative images (opens in a new tab) and use empty ALT for decorative images (opens in a new tab). This guide covers everything else.
What it improves
- Accessibility WCAG success criteria 1.1.1 and 1.2.1 to 1.2.5, and their equivalents in the French RGAA (Référentiel général d'amélioration de l'accessibilité), Multimedia and Frames themes.
- Audience Many videos are watched with the sound off, especially on mobile; captions make them understandable in that case.
- Indexing and long tail The transcript adds indexable text to the page that uses the real vocabulary of the subject.
- Generative engines What is said, the figures and the explanations in the video or chart become readable and quotable. A plausible effect, not guaranteed.
- Rankings No documented direct effect of captions themselves; the effect comes through the text added to the page.
How to check
Inventory. List the site's media with a crawler such as Screaming Frog (custom extraction of video, audio and iframe elements) or, page by page, with this script in the console:
console.table([...document.querySelectorAll('video, audio, iframe, canvas, svg[role="img"], object, embed')].map((el) => ({
type: el.tagName.toLowerCase(),
source: el.currentSrc || el.src || el.data || '',
titre: el.getAttribute('title') || el.getAttribute('aria-label') || '',
pistes: el.querySelectorAll ? el.querySelectorAll('track').length : 0,
})));
The table columns give the type, the source, the title (titre) and the number of tracks (pistes).
Expected checks:
- every
<iframe>has atitlethat describes its content (“Video: putting up a wall shelf”, “Map of how to get to the Lyon store”); - every video with sound offers captions, checked by a human;
- every podcast or video has a transcript reachable from the page;
- every chart or infographic comes with text that states its conclusions and, if the figures matter, the data in a table.
WAVE and axe DevTools flag iframes without a title (axe rule frame-title) and <video> elements without a caption track (rule video-caption, which requires manual review). No tool judges the quality of a transcript.
How to implement
Before you start
Choose the alternative based on the media:
| Media | Minimum alternative | Complete alternative |
|---|---|---|
| Video with speech | Proofread captions | Captions, transcript, audio description if the image carries unspoken information |
| Silent video or explainer animation | Text description below the video | Transcript describing each step |
| Podcast, audio | Transcript | Transcript with speakers and links mentioned |
| Iframe (video, map, third-party form) | title attribute |
title and equivalent content in the page |
| Interactive map | Written address, opening hours and directions | Route described from landmarks |
| Chart, infographic | Concluding sentence | Conclusion and data table, see provide a text alternative for charts (opens in a new tab) |
| Informative animated GIF | alt describing the action shown |
Video with controls and text |
Writing guidelines:
- Captions: verbatim, synchronized, with meaningful sounds in square brackets (“[phone ringing]”) and speaker identification. Automatic captions are a draft: proofread them, especially proper names, figures and technical terms.
- Transcript: full text, structured with subheadings if it is long, with a description of important visual elements. Publish it in HTML on the page, in a collapsible block or right below the media, rather than as a PDF.
- Chart: start with the conclusion (“Online sales doubled between 2023 and 2025”), then the figures.
Complete HTML template for a video hosted on the site:
<figure>
<video controls preload="metadata" width="1280" height="720" poster="/videos/montage-etagere.jpg">
<source src="/videos/montage-etagere.mp4" type="video/mp4">
<track kind="captions" src="/videos/montage-etagere.fr.vtt" srclang="fr" label="French" default>
<track kind="descriptions" src="/videos/montage-etagere.desc.fr.vtt" srclang="fr" label="Audio description (text)">
</video>
<figcaption>Putting up a wall shelf in 5 steps (3 min 20 s).</figcaption>
</figure>
<details>
<summary>Video transcript</summary>
<p><strong>Camille:</strong> For this shelf, you need a drill, two 8 mm wall plugs and a level.</p>
<p>[On screen: the tools laid out on the workbench.]</p>
<p><strong>Camille:</strong> First, draw a horizontal line 1.50 m from the floor…</p>
</details>
Minimal WebVTT file (montage-etagere.fr.vtt), in UTF-8:
WEBVTT
00:00:00.000 --> 00:00:04.000
For this shelf, you need a drill,
00:00:04.000 --> 00:00:07.500
two 8 mm wall plugs and a level.
00:00:07.500 --> 00:00:09.000
[drilling noise]
The .vtt file must be served from the same origin as the page, or the <video> tag must carry the crossorigin attribute and the server hosting the file must allow the request. Serve it with the text/vtt type.
Iframe and map:
<iframe src="https://www.youtube-nocookie.com/embed/ID_VIDEO" title="Video: putting up a wall shelf in 5 steps" width="560" height="315" loading="lazy" allowfullscreen></iframe>
<iframe src="https://www.google.com/maps/embed?pb=…" title="Map: Lyon store, 12 rue Exemple" width="600" height="400" loading="lazy"></iframe>
<p>12 rue Exemple, 69003 Lyon. Metro line B, Place Guichard stop, a 3-minute walk. Open Tuesday to Saturday, 10 am to 7 pm.</p>
YouTube and Vimeo
In YouTube Studio, open the Subtitles menu, choose the video, add the language, then click “Add”: upload a file with or without timing, use auto-sync from a transcript, or type the text manually. Always proofread automatic captions before publishing them. The embedded player then shows these captions, but the transcript stays inside the iframe: publish it in the page as well. Vimeo lets you add caption files in each video's settings; the exact menu label depends on the interface version, so refer to Vimeo's help.
WordPress
Versions WordPress 6.4 and later.
- Video block (file hosted in the Media Library): in the block toolbar, the “Text tracks” option adds a WebVTT file, with a label, a source language and a kind (subtitles, captions, descriptions, chapters).
- YouTube or Vimeo Embed block: captions are managed on the platform. Check in the HTML that the generated iframe has a
title; WordPress fills it in from the video title, so fix it in the template if your theme removes it. - Transcript: add a Details block below the video, with “Transcript” as its summary, and paste the text as paragraphs.
- Charts: below a chart image, add a concluding paragraph and a Table block with the data.
- Podcasts: podcast plugins often let you attach a transcript to the episode; check that it is displayed as HTML on the episode page, not only as a downloadable file.
Shopify
Versions Shopify admin and Online Store 2.0 themes, all plans, November 2026.
Videos added to a product's media are described in the admin (media alt text), but adding a caption track there is not documented: for a video with speech, host it on YouTube or Vimeo with captions, then embed it. For a background video or a product demo in a theme section, add a text block or a collapsible block with the transcript. In a custom section, give iframes a title:
<iframe
src="https://www.youtube-nocookie.com/embed/{{ section.settings.youtube_id }}"
title="Video: {{ section.settings.video_title | escape }}"
width="560" height="315" loading="lazy" allowfullscreen></iframe>
{%- if section.settings.transcription != blank -%}
<details>
<summary>Video transcript</summary>
{{ section.settings.transcription }}
</details>
{%- endif -%}
Declare youtube_id and video_title (text) and transcription (rich text) in the section schema so that the merchant fills them in from the theme editor.
Laravel
Versions Laravel 11 to 13.
Blade component that enforces the title and the transcript, in resources/views/components/video.blade.php:
@props(['src', 'titre', 'sousTitres' => null, 'poster' => null])
<figure>
<video controls preload="metadata" @if($poster) poster="{{ $poster }}" @endif>
<source src="{{ $src }}" type="video/mp4">
@if($sousTitres)
<track kind="captions" src="{{ $sousTitres }}" srclang="{{ app()->getLocale() }}" label="Captions" default>
@endif
</video>
<figcaption>{{ $titre }}</figcaption>
</figure>
@if($slot->isNotEmpty())
<details>
<summary>Video transcript</summary>
{{ $slot }}
</details>
@endif
Serve .vtt files from public/ or from the same domain. If your media is on external storage (S3, R2), configure the bucket's CORS headers for the site's origin and add crossorigin="anonymous" to the <video> tag. Map vtt to the text/vtt MIME type in the web server if it is missing (types in Nginx, AddType text/vtt .vtt in Apache).
Next.js
Versions Next.js 15 and 16 (App Router).
type Props = { src: string; vtt: string; titre: string; transcription: React.ReactNode };
export function Video({ src, vtt, titre, transcription }: Props) {
return (
<>
<figure>
<video controls preload="metadata">
<source src={src} type="video/mp4" />
<track kind="captions" src={vtt} srcLang="fr" label="French" default />
</video>
<figcaption>{titre}</figcaption>
</figure>
<details>
<summary>Video transcript</summary>
{transcription}
</details>
</>
);
}
In JSX, the attribute is written srcLang. Put the .vtt files in public/. Render the component on the server so that the transcript is in the initial HTML. The eslint-config-next package loads eslint-plugin-jsx-a11y but only enables a few of its rules: add 'jsx-a11y/iframe-has-title': 'error' in a rules block of eslint.config.mjs, after the Next.js configuration, to detect iframes without a title. Run the analysis with npx eslint .: the next lint command was removed in Next.js 16. The same components are written identically with Nuxt or Astro.
Common mistakes
- Publishing automatic captions without proofreading: wrong proper names and figures, no punctuation.
- Transcript as a PDF or an external link: less convenient for users and less directly usable than HTML on the page.
- Captions burned into the image: they cannot be turned off or translated, and no bot can read them. Prefer a WebVTT track, even if you also offer the burned-in version on social networks.
- Iframe without a
title, or with a generic title (“iframe”, “YouTube video player”): the screen reader does not announce what it contains. - Infographic published without the text: the figures, conclusions and sources only exist in the image.
- Map without a written address: neither screen readers nor bots read an embedded map.
- Autoplaying video with sound: success criterion 1.4.2. If it lasts more than 3 seconds, provide a way to stop it.
Frequently asked questions
Do video captions improve SEO?
Captions mostly have an indirect effect on SEO. Google does not document any ranking advantage tied to a caption track. It is the transcript published in HTML on the page that adds indexable text, using the real vocabulary of the subject, and makes what is said readable by generative engine crawlers. Captions serve deaf people first, and everyone who watches with the sound off.
What is the difference between captions and a transcript?
Captions are synchronized with the video and appear during playback, in WebVTT format for example. A transcript is the full text of the content, published on the page, readable without playing the video, and it can also describe the visual information. WCAG requires captions for any prerecorded video with sound, and a transcript for audio-only content.
Are YouTube's automatic captions enough?
No, YouTube's automatic captions are not enough as they stand. They regularly get proper names, figures, technical terms and punctuation wrong, and they flag neither changes of speaker nor meaningful sounds. Use them as a draft: proofread and correct them in YouTube Studio before publishing, then reuse the corrected text for the transcript published on your page.
How do you make an infographic accessible and readable by AI?
Pair the infographic with HTML text that covers its essentials: a concluding sentence, the key figures with their sources, and a data table if the detail matters. Give the image short alt text that states the subject and points to this text. Screen readers, Google and generative engine crawlers read this text; they do not read the figures drawn in the image.
Resources
- W3C WAI: Making Audio and Video Media Accessiblew3.org
- W3C WAI: Transcripts, Captions/Subtitles and Audio Descriptionw3.org
- W3C: Understanding Success Criterion 1.2.2, Captionsw3.org
- W3C WAI: Complex Images (charts, diagrams)w3.org
- MDN: the track element and the WebVTT formatdeveloper.mozilla.org
- YouTube Help: Add subtitles and captionssupport.google.com
- WordPress: Video block and text trackswordpress.org
- Google Search Central: Video SEO best practicesdevelopers.google.com
Updated on
Topic checklist (PDF)