Alt text, captions and titles do three different jobs. Alt text is a hidden text alternative that screen readers read in place of the image. A caption is visible text under the image that every visitor sees. A title is either the image's name in your media library or an optional tooltip, and it should never carry information people need.
The three at a glance
| Alt text | Caption | Title |
|---|---|---|---|
Where it lives |
| Visible text, often a | WordPress media name, or the HTML |
Who sees it | Screen reader users; everyone if the image fails to load | Every visitor | Site editors; sometimes a hover tooltip |
Job | Replace the image's meaning | Add context the image can't show | Name the file, or offer optional advice |
Required? | Yes (empty | No | No |
Alt text: a replacement for the image
Alt text is for someone who can't see the picture. WCAG 2.2 Success Criterion 1.1.1 requires a text alternative that serves the equivalent purpose for non-text content, and the alt attribute is how an image provides it. The W3C's guidance for informative images is to convey the meaning in a short phrase or sentence, without "image of" or "picture of."
Google's image SEO documentation calls alt text the most important attribute for image metadata and says Google uses it, with computer vision and the page's content, to understand an image.
Example: alt="Electrician repairing an outdoor electrical panel"
Caption: context for everyone
A caption is part of the page. It is where you put things the photo can't show by itself: who, where, when, why it matters. In HTML, MDN describes figcaption as the caption or legend for the rest of a figure element's contents.
```html
<figure>
<img src="electrician-panel.avif"
alt="Electrician repairing an outdoor electrical panel">
<figcaption>Replacing a storm-damaged panel in Tulsa, March 2026.</figcaption>
</figure>
```
Notice that the caption doesn't repeat the alt text. The W3C notes that when nearby text already explains an image, a short text alternative is enough. A screen reader user hears both, so make them complement each other.
Title: a name, or an optional tooltip
"Title" means two different things, which is where most confusion comes from.
The WordPress Media Library Title field is the name of the media item. WordPress's documentation says a title is often shown on attachment pages and galleries if themes or plugins display it. A descriptive title ("Outdoor electrical panel repair") is far easier to find in a large library than "IMG_4382."
The HTML title attribute is advisory text, usually shown as a tooltip on hover. MDN lists it as highly problematic for people on touch-only devices, keyboard users, screen reader and magnifier users, and people with motor or cognitive impairments, because browser and assistive technology support is inconsistent. So don't rely on it, and never use it instead of alt text.
Same photo, three fields
Here is what AI vision wrote for one photo in our sample run of 54 business images (a free-license Unsplash photo), unedited:
- Alt text: Male electrician in a yellow hard hat and gloves repairing an electrical panel on an exterior wall
- Title: Electrician Performing Electrical Repairs
- Caption: A professional electrician carefully inspecting and repairing an external electrical panel installation.
The three fields do different jobs, but in this draft the caption mostly restates the alt text. On a real electrician's site, the caption is the place for facts only you know: the town, the job, the result. That is the edit a person should make before publishing.
Common mistakes
- Copying the caption into the alt text, so screen reader users hear it twice.
- Putting key information in a tooltip title that touch and keyboard users can't reach.
- Leaving camera file names as media titles.
- Keyword-stuffing any of the three. Google's documentation specifically warns against it in alt text.
Writing all three at once
Our image caption generator writes the alt text, title and caption for each photo in one pass, from what is in the picture, and you check and edit every field before it is saved. It is included from Starter up, at 2 credits per photo; the Free plan is compression only. See also the alt text generator and image title generator.
Keep reading
Sources
- www.w3.org/WAI/tutorials/images/informative
- www.w3.org/WAI/WCAG22/Understanding/non-text-content.html
- developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/title
- developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/figcaption
- wordpress.org/documentation/article/media-library-screen
- developers.google.com/search/docs/appearance/google-images
Questions
Short answers to what people ask about this.