Free SEO audit for new clients — claim yours
Home/Blog/SEO/Image Captions and Surrounding Text: The Overloo…
SEO

Image Captions and Surrounding Text: The Overlooked Image Signal

Image Captions and Surrounding Text: The Overlooked Image Signal
Table of contents
  1. How Google works out what an image shows
  2. Caption, alt text, title attribute and nearby copy: four different jobs
  3. What a useful caption says that the image cannot
    1. A caption pattern for each common image type
  4. Marking up captions with figure and figcaption
  5. Placing images next to the words that explain them
  6. Captions for charts, graphs and data images
  7. Three caption rewrites, before and after
    1. A plumber’s blog post about water heaters
    2. A software company’s how-to guide
    3. An online store’s product page
  8. How captions, alt text and AI tools fit together
  9. Questions about image captions and SEO
    1. Do image captions help SEO?
    2. Should my caption and alt text say the same thing?
    3. Does every image need a caption?
    4. Does Google read the image title attribute?
    5. Can I still put captions in my image sitemap?
  10. Where to start with your image captions this week
  11. Further reading on image captions seo
  12. Sources for this image captions guide

When people talk about image SEO, they almost always talk about alt text. Alt text matters, and we have a full guide on writing alt text for SEO and accessibility. But many business owners believe that alt text is the only way Google understands an image. It isn’t.

Google reads the whole page around an image: the caption under it, the paragraph next to it, the heading above it and the topic of the page itself. On most sites, that surrounding text is left to chance. Images get dropped wherever they fit the design, captions are missing or say “Image 1,” and the paragraph that explains the picture sits three scrolls away.

In this guide, let me explain how Google uses captions and nearby text, how captions differ from alt text and titles, how to write captions people actually read, how to mark them up properly, and how to handle charts and data images. I will finish with some before-and-after examples you can copy.

How Google works out what an image shows

Search engines have become better at recognizing what is inside a picture, but Google’s own guidance still points to words on the page. Its image guidelines say so directly:

“Google extracts information about the subject matter of the image from the content of the page”

— Google Search Central, Google image SEO best practices

The same guidance names captions and image titles among those sources. The SEO Starter Guide adds a simple line that sums up the whole idea: “The text that’s near images can help Google better understand what the image is about” (Google SEO Starter Guide).

So in practice, Google can draw on several layers of text when it looks at an image:

  • The file name, such as gutter-guard-before-after.jpg.
  • The alt text inside the <img> tag.
  • The caption directly under or above the image.
  • The nearby paragraph and heading that discuss the same thing.
  • The page title and topic as a whole.

When all five layers agree, the image is easy to understand. When they disagree, for example a photo of a kitchen on a page about roof repair with a caption that says “Our team,” the signal is muddy. If you are new to image basics, our lesson on image SEO: alt text, file names and speed covers the first two layers. This article is about the rest.

Caption, alt text, title attribute and nearby copy: four different jobs

These four are often mixed up, so let me put them side by side.

ElementWho sees itMain jobTypical length
Alt textScreen reader users; everyone if the image fails to load; search enginesReplace the image with words when it can’t be seenA short phrase or sentence
CaptionEvery visitor; search enginesAdd context the image can’t give on its ownOne or two sentences
Title attributeMouse users who hover; not reliably read by screen readersOptional extra tooltipA few words, if used at all
Nearby copyEvery visitor; search enginesExplain the point the image supportsA paragraph or more

The most useful rule I can give you: alt text says what the image shows; the caption says why it matters. WebAIM’s guidance on alt text makes a related point: when an image has a caption, the alt text should not simply repeat it (WebAIM). Ahrefs’ alt text guide says much the same thing: if a caption already describes the image, repeating it in the alt text is redundant.

The title attribute is the weakest of the four for people. I rarely add one. If you want the details on that, read our article on the title attribute and SEO.

What a useful caption says that the image cannot

A photo can show you a cracked foundation. It can’t tell you where it is, how old the crack is, what caused it, or what the repair cost. That is the caption’s job. Good captions usually add one or more of these:

  • What to notice. “Note the hairline crack running from the window corner.”
  • Context. Where, when, which product, which model or version.
  • Numbers. Sizes, results, dates or prices that the picture alone can’t show.
  • Source or credit. Who took the photo, or where the data came from.
  • The takeaway. The one point you want the reader to remember from the image.

And here is what bad captions look like:

  • “Image 1” or “Photo” (no information at all).
  • A copy of the alt text, word for word.
  • A string of keywords: “roof repair roofing contractor roof leak fix Dallas.”
  • A caption that doesn’t match the image, often left over from an old template.

A caption pattern for each common image type

Different images need different captions. Here is the pattern I suggest for the image types most business sites use.

Image typeCaption patternExample
Before-and-after photoWhat changed + timeframe“The same patio before and after pressure washing, taken two hours apart.”
Product detailFeature + why it matters“The double-stitched heel seam, which is where most hiking boots fail first.”
Software screenshotWhere in the tool + what to click or notice“Search Console’s Performance report with Search type set to Image.”
Chart or graphMain finding + data source and date“Organic leads grew every month from January to June (example data).”
Process stepStep number + action“Step 3: seal the joint with butyl tape before fitting the flashing.”
Team or location photoWho, where, doing what“Our installation crew fitting solar panels on a farmhouse roof.”

Marking up captions with figure and figcaption

Visually, a caption is just small text under an image. In HTML, it is better to tie the two together with the <figure> and <figcaption> elements. That makes the relationship clear to browsers, assistive technology and any system reading your page’s structure. MDN describes the accessibility benefit directly:

“The <figcaption> provides the accessible name for the parent <figure>.”

— MDN Web Docs, The figure element

Here is a basic example you can copy:

<figure>
  <img src="/images/gutter-guard-before-after.jpg"
       alt="Gutter half full of wet leaves next to a clean gutter fitted with a mesh guard"
       width="1200" height="800">
  <figcaption>Same roof, one autumn apart: the left run has no guard, the right run has a fine stainless mesh guard.</figcaption>
</figure>

A few rules that keep this markup clean:

  1. One figcaption per figure. It can be the first or last child of the <figure>.
  2. Keep alt text on the img. A caption does not replace the alt attribute. Write alt text that describes the image, and a caption that adds context.
  3. Don’t use figure for every image. It is meant for self-contained content that is referenced by the main text, such as a photo, diagram, chart or code example. Decorative images and icons don’t need it.
  4. Make the caption real text. Don’t bake captions into the image file. Text inside an image is harder to read, can’t be translated and isn’t easy for search engines to use.
  5. Check what your CMS outputs. In WordPress, the Image block wraps an image in a figure and puts its caption in a figcaption. Some page builders use plain div elements instead. View the page source to check.

A note on sitemaps: Google used to accept an <image:caption> tag in image sitemaps, but that tag was deprecated in 2022, and Google’s image sitemap documentation now lists it as removed. Captions belong on the page. Our guide on image sitemaps explains what still belongs in the sitemap.

Placing images next to the words that explain them

Placement is the most overlooked part of this. Google’s guidance is short and practical:

“Wherever possible, make sure images are placed near relevant text and on pages that are relevant to the image subject matter.”

— Google Search Central, Google image SEO best practices

In real pages, here is what that means:

  • Put the image inside the section it supports, right after the paragraph that introduces it. Not at the top of the article as a generic header, and not in a gallery at the bottom.
  • Refer to the image in the text. A line like “As the photo below shows, the crack runs from the window corner” links your words to the picture.
  • Keep one topic per section. If a section covers two products, place each product’s image next to its own paragraph.
  • Use a descriptive heading above the section. The heading is part of the context too.
  • Avoid sliders for important images. Carousels often push images away from the text that explains them, and later slides may only load on click.

Here are the placement problems I see most often, and the simple fix for each:

Placement problemWhy it weakens the signalFix
Generic hero image at the top of every postThe image has no clear link to any one paragraphUse a topic-specific image, or move the explanatory image into the section it supports
All photos collected in a gallery at the endEach photo is far away from the text that describes itSpread the photos through the article, one per relevant section
Image in a sidebar widgetThe sidebar text is usually unrelated to the imageMove important images into the main content
Text baked into the imageThe words can’t be read as page textPut the words in a caption or paragraph; keep the image clean
Same stock photo used on many pagesThe image says nothing specific about any pageUse an original image instead of a stock photo

This also matters for people coming from Google Images. When someone clicks an image result, they land on your page and look for the image. If it sits next to a clear explanation, they stay. Our guide on getting traffic from Google Images covers that visitor’s journey in more depth.

Captions for charts, graphs and data images

Charts are where captions do the most work. A chart is packed with information, and alt text alone can’t carry it. The W3C’s accessibility tutorial puts it this way:

“Complex images contain substantial information – more than can be conveyed in a short phrase or sentence.”

— W3C Web Accessibility Initiative, Complex images tutorial

The W3C suggests a two-part approach: a short text alternative that identifies the image, plus a longer description that gives the key information in text. A <figure> with a <figcaption> is one of the approaches it describes, and it has a nice side effect: the full description is visible to every reader and to search engines.

Here is how I would caption a chart, step by step:

  1. Start with a short title in bold: what the chart measures and the time period.
  2. State the main finding in one plain sentence. Most readers only want this.
  3. Give the key numbers in text, so they can be read, copied and quoted.
  4. Name the source and date of the data. If the data is illustrative, say so.
  5. Keep the alt text short and point to the caption, or give a one-line summary.
  6. For big data sets, add a table below the chart with the full numbers.
<figure role="group" aria-labelledby="fig3-cap">
  <img src="/images/lead-sources-2026.png"
       alt="Bar chart of leads by source; details in the caption">
  <figcaption id="fig3-cap">
    <strong>Leads by source, Jan–Jun (example data).</strong>
    Organic search brought 410 leads, paid search 260, referrals 90 and social 40.
    Organic search was the largest source in every month.
  </figcaption>
</figure>

That example uses made-up numbers for illustration, which is why the caption says “example data.” Do the same on your own site whenever a chart is not based on real data. For more on making charts readable, see our guide to data visualization in content.

Three caption rewrites, before and after

Let me show you what this looks like on real-world kinds of pages. These are examples I wrote for this article, not client pages.

A plumber’s blog post about water heaters

Before: no caption. Alt text: “water heater.”

After: Alt text: “Corroded bottom of a tank water heater with rust stains on the floor.” Caption: “Rust around the base of the tank usually means the tank itself is leaking, which can’t be repaired; it needs replacing.”

The alt text describes the picture. The caption adds the expert point a homeowner needs.

A software company’s how-to guide

Before: Caption: “Screenshot.” Alt text: “screenshot.”

After: Alt text: “Export settings dialog with CSV format selected.” Caption: “Choose CSV, not XLSX, if you plan to import the file into another tool. CSV is the format most import tools accept.”

An online store’s product page

Before: Caption: “Best waterproof hiking boots cheap hiking boots men.”

After: Alt text: “Hiking boot sole with deep, multi-directional lugs.” Caption: “5mm lugs grip wet rock and mud; the sole is replaceable by any cobbler.”

For store images specifically, our guide to product image alt text goes deeper into the alt side.

How captions, alt text and AI tools fit together

Many sites now use AI tools to write alt text in bulk. That can save time, but these tools only see the image. They don’t know why it is on the page. A caption written by someone who knows the topic adds exactly what the AI can’t: the reason the image matters. If you use AI for alt text, read our guide to AI-generated alt text first, and keep captions written by a person on your most important images.

Captions also matter for images that should not get alt text at all. When a caption next to an image fully explains it, the image may be redundant for screen reader users, and empty alt text can be the right choice. The W3C’s informative images tutorial makes a similar point about images whose content is already described in nearby text. I cover that edge case in our guide to decorative images and empty alt text.

Questions about image captions and SEO

Do image captions help SEO?

Google says it uses page content, including captions, to understand what an image is about. So a clear caption gives Google more context for the image and helps readers at the same time. It is a supporting signal, not a ranking shortcut.

Should my caption and alt text say the same thing?

No. Screen reader users hear both, so repeating the same words is tiresome. Let the alt text describe what the image shows, and let the caption add context: why it matters, where it came from, or what to notice.

Does every image need a caption?

No. Captions earn their place on charts, screenshots, process photos, product details and anything a reader might misread. Decorative images, logos and simple illustrations usually don’t need one.

Does Google read the image title attribute?

Google’s image guidelines mention captions and image titles as sources of information, but the title attribute is weak for people: it only shows on mouse hover and is not reliably read by screen readers. Put important information in visible text instead.

Can I still put captions in my image sitemap?

No. Google deprecated the image:caption sitemap tag in 2022. Captions now need to be on the page, ideally in a figcaption element next to the image.

Where to start with your image captions this week

You don’t need to caption every image on your site. Start where captions add the most:

  • Your top 10 pages by traffic: check every chart, screenshot and product photo.
  • Any image that sits far away from the text that explains it: move it.
  • Captions that repeat alt text or contain keyword lists: rewrite them.
  • Your theme or page builder: confirm it outputs figure and figcaption.

For the full image picture, from file sizes to formats, read our guide to image SEO. And if you want help writing clear, useful copy around your images, our content writing service can take it off your plate. Just get a free quote and tell us about your site.

Further reading on image captions seo

Sources for this image captions guide

  1. Google Search Central: Google image SEO best practices
  2. Google Search Central: SEO Starter Guide
  3. MDN Web Docs: The figure element
  4. W3C WAI: Complex images tutorial
  5. W3C WAI: Informative images tutorial
  6. WebAIM: Alternative text
  7. Ahrefs: Alt Text for SEO
  8. Google Search Central: Image sitemaps
Rohit Choudhary
Written byRohit ChoudharyCo-Founder, My SEO Experts

Rohit Choudhary is the co-founder of My SEO Experts and has more than 14 years of hands-on experience in SEO, paid advertising and digital marketing. Since starting out in 2011 he has helped hundreds of businesses grow through practical, data-driven search strategies, and he also serves as a consulting Digital Marketing Director for several US-based companies.

Keep reading

Related articles

Ready to grow your business online?

Get a free, no-obligation proposal tailored to your goals and budget.

CallFree Quote