How should image alt text, captions, and title text be used, and when should each be included?

ProcrustesPR

Alt text helps people who cannot see an image understand its content or function; captions appear directly on the page and provide context for understanding the image. Image title text (the title attribute) appears as a tooltip on mouse hover in some browsers. Not every image needs all three, and they are not interchangeable. Start with alt text for images that convey information or serve a function, then add visible captions according to readers’ needs. Do not hide important information solely in the title attribute.

ProcrustesPRProcrustesPRHow Should a CMS Handle Images? From Upload Optimization to Descriptions and URL Management

Alt text describes an image’s content and function—it is not a keyword list

Alt text goes in an image’s alt attribute, allowing screen readers to convey information about the image and providing an alternative description when the image cannot be displayed. Google’s documentation states that search systems use alt text, computer vision, and page content together to understand images. Alt text is therefore not just for crawlers, nor does adding it guarantee rankings.

  • Informative images: Use simple, specific language to describe information relevant to the article, without piling on adjectives.
  • Functional images: If an image is a search button, describe its function as “Search” rather than merely describing its appearance. When an image serves as a link, its alt text can also serve as anchor text.
  • Purely decorative images: Yoast explicitly states that decorative images that convey no information do not need descriptive alt text. Keywords should not be required in every image’s alt text.

For example, if a photo shows an orange cat sleeping on a wooden floor, you could write “An orange cat sleeping on a wooden floor,” rather than “orange cat, cute cat, sleeping cat.” The point is to describe the scene accurately, not to increase the keyword count.

Captions make supplementary information visible to readers

Unlike alt text, captions appear directly on the page. Readers do not need to wait for an image to fail to load or use a mouse to read them. Supplementary information that all readers need should appear in a visible caption or the body text, rather than only in image attributes. For example, when using a Creative Commons image, first verify the original license, then provide attribution according to its requirements. This information can go in the caption.

Layouts also need to accommodate the content. In a 2015 design article, NN/g used the example of requiring all image captions to fit within two lines to warn that templates can impose arbitrary constraints. This is a caution about layout design, not a current platform rule: do not remove necessary explanations just to keep things tidy, and do not pad out captions for images that need no additional explanation.

The title attribute is optional; do not put important information only here

Here, title refers to an image’s HTML attribute, not the article’s headline. Some browsers display it as a hover tooltip, but accessibility guidance cited by Yoast notes that screen reader support is inconsistent and keyboard users may be unable to access these hints.

When deciding what to include, ask these questions in order: What would someone miss if they could not see the image? What explanation would they still need if they could see it? Address the first with alt text and the second with visible text. Use the title attribute only for additional, nonessential hints. If there are none to offer, there is no need to copy the alt text merely to fill the field. Once finished, follow Google’s documentation by testing accessibility and the reading experience on slow connections.

ProcrustesPRProcrustesPRHow should images of different sizes on the same website be named?

Image alt text, captions, and title text: perspectives from across the web

How should statistics in images be handled?

If an image’s main point is a statistic, its alt text should convey that statistic rather than simply say “statistical chart.” Any other text in the image that readers need to understand the content should also appear as text on the webpage, not just within the image. One contributor noted that alt text cannot fully replace readable body text. The specific wording should still depend on the image’s purpose in the article.

Must alt text include target keywords?

Not every image needs them. Some SEO advice recommends adding keywords to image alt text, but both Google’s documentation and Yoast’s guidance emphasize relevance and discourage keyword stuffing. A safer approach is to describe the image accurately first, then use keywords naturally where they fit the content. Alt text can provide context for search systems, but that does not mean it will necessarily improve rankings.

Can tools automatically generate alt text?

Yes, automatically generated text can serve as a draft, but a person should still check whether it fits the image and the page’s context. For example, the product image feature described in Yoast’s article suggests alt text based on product data and requires users to review it. In another AI example, the author removed unnecessary and repetitive descriptions. These examples do not mean that every tool can accurately recognize every image.

Can a good visible caption eliminate the need for alt text?

There is no blanket answer. One author considers visible captions more meaningful for editors and therefore recommends prioritizing them. However, Google’s documentation notes that alt text also helps people who use screen readers or cannot see images because of a slow connection. The two serve different reading situations, so the decision should depend on whether the image conveys information, rather than on search benefits alone.

ProcrustesPRHow many image variants should you prepare, and how should you manage them?

References

  1. 圖片搜尋引擎最佳化 (SEO) 最佳做法 | Google 搜尋中心  |  Documentation  |  Google for Developersdevelopers.google.com — Discusses: Must alt text include target keywords?; Can a good visible caption eliminate the need for alt text?
  2. Which Comes First? Layout or Content?www.nngroup.com · 2015-10-11T16:00:01+0000 — Source used in the article above.
  3. 從 IT 技術面細說 Search Console 的 27 組數字 KPI (4) 流量:圖片、影片、新聞等多媒體流量ithelp.ithome.com.tw — Discusses: Can a good visible caption eliminate the need for alt text?
  4. AI Overviews Now Answer Most Local Searches – How To Get Your Business Citedwww.searchenginejournal.com · 2026-07-22T09:30:25+00:00 — Source used in the article above.
  5. What Is Alt Text? Why It Matters & How to Write Itwww.semrush.com · 2021-03-16T11:00:00Z — Discusses: Can tools automatically generate alt text?
  6. HTML Image Alt 全攻略!簡單四原則,讓 Google 輕鬆看懂你的圖片!www.awoo.ai · 2022-12-01T10:58:58+00:00 — Source used in the article above.
  7. Img Alt是什麼?好的替代文字怎麼寫?SEO專家教你7秘訣!welly.tw · 2022-03-01T02:46:06.543Z — Source used in the article above.
  8. Image SEO: Optimizing images for search enginesyoast.com · 2026-09-12T12:00:00+00:00 — Discusses: How should statistics in images be handled?; Must alt text include target keywords?
  9. Online Personal Training Website SEO Questionwww.warriorforum.com — Discusses: Must alt text include target keywords?
  10. Basic SEO Optimizationwebmasters.stackexchange.com — Discusses: How should statistics in images be handled?
  11. 10 Best Practices to Follow for a Truly Accessible Websiteneilpatel.com · 2023-01-05T20:00:00+00:00 — Source used in the article above.

Related articles

How Should a CMS Handle Images? From Upload Optimization to Descriptions and URL ManagementHow should images of different sizes on the same website be named?How many image variants should you prepare, and how should you manage them?How do visual and short-form video trends in search results affect SEO?How can photography websites use SEO to increase visibility and attract clients?How can service and e-commerce websites improve search visibility? Start by distinguishing local needs from buying intentWhy optimize a website, and which tasks can be done for free?How can you use search results page features to attract traffic?
ProcrustesPR
ProcrustesPR