What alt text is
Alt text is written in an image’s alt attribute. Its first job is to give a text alternative when an image cannot be seen, loaded or understood visually. The right wording depends on the image’s purpose in that specific page.
On https://seoenergy.org/en/terms/alt-text/, a diagram that explains a crawl path needs a description of the relationship shown. A decorative background flourish does not need the same treatment because it adds no information to the article.
<img src="seo-audit-checklist.png" alt="SEO audit checklist with crawl, indexation and internal-link checks">
Why alt text matters for accessibility
People using screen readers need an equivalent way to understand information and functions carried by images. An alt attribute can provide that equivalent when it states the useful content or action, rather than every visible detail.
Images are not all alike. The decision begins with purpose: does the image convey information, perform an action, repeat nearby text or decorate the page? That question produces better alternatives than a generic rule about word count.
Informative, functional and decorative images
Informative images add meaning. Their alternatives should communicate the point that matters in context. A chart may need a nearby written summary because a short attribute cannot carry every value and trend.
Functional images act as links, buttons or controls. Their alternative should describe the action or destination, such as “Open SEO audit guide,” instead of “Magnifying-glass icon.” Decorative images should usually use an empty alt attribute so assistive technology can skip them.
When to use an empty alt attribute
Use alt=“” when an image is genuinely decorative or when its information is already supplied in nearby text. Empty alt text tells assistive technology that the image adds nothing to the current reading path.
Leaving the attribute out is different. A missing attribute can make a screen reader announce a filename or handle the image inconsistently. Empty is a deliberate choice; missing is often an omission.
Alt text versus a caption
A caption is visible text for all readers. It can explain context, credit a source or add a longer interpretation. Alt text is an alternative for the image itself. The two can overlap, yet they serve different situations.
If a screenshot has a visible caption saying what the reader should notice, the alt text can be shorter. If the screenshot contains a critical error message, the text should also be available in the article rather than buried only in an image.
Alt text versus the title attribute
The HTML title attribute may appear as a hover tooltip in some browsers. It is not a dependable replacement for an image alternative and should not carry information that users need in order to operate or understand the page.
Keep the necessary meaning in the alt attribute or in surrounding text. A tooltip is an optional interface detail, not a substitute for accessible content.
Write concise contextual alternatives
Describe what the image contributes to this page. “Woman at a laptop” may be enough for a general stock photo, while “Search Console report showing a rise in indexed pages after a redirect fix” is useful in an SEO case study.
Do not start every attribute with “Image of” or “Picture of.” A screen reader already identifies the element. Start with the content, function or result that a reader needs.
Alt text and image search
Google uses alt text with page content and computer-vision systems to understand images. Clear alternatives can support image understanding, but the page context, caption, filename and image placement also matter.
Keywords belong only when they describe the image naturally. Repeating a target phrase in unrelated image attributes makes the page worse for readers and can look like spam.
Linked images and button images
When an image is the only content of a link, its alt text becomes the practical link label. It should tell the visitor where the link goes or what the control does.
For example, an image that links to https://seoenergy.org/en/guides/seo-audit/ can use “Read the SEO audit guide.” The label is more useful than a visual description of the icon.
How to audit alt text
Start with an image inventory, then review the purpose of the images that matter. A scanner can find missing attributes, but it cannot decide whether a sentence actually explains the image in context.
-
Find images with missing alt attributes and inspect their function on the page.
-
Check decorative images for an intentionally empty alt attribute.
-
Review linked-image alternatives as link labels, not as visual descriptions.
-
Make sure complex charts and diagrams have their essential information available in nearby text.
Common alt-text mistakes
-
Using filenames such as IMG_4829.jpg as the alternative.
-
Stuffing a keyword into images that do not represent the topic.
-
Describing every decorative element instead of marking it empty.
-
Putting a long data table into an alt attribute instead of explaining it in page text.
FAQ
What is alt text?
Alt text is the text alternative in an image's alt attribute. It communicates the image's purpose or content when visual access is unavailable.
How does alt text help SEO?
Useful alt text helps search systems understand an image in the context of its page. Its primary purpose remains accessibility.
What should good alt text include?
Include the information or action that the image contributes in that location. Keep it specific and concise.
When should alt text be empty?
Use an empty alt attribute for decorative images or images whose meaning is already fully repeated in adjacent text.
What is the difference between alt text and an image caption?
Alt text is an alternative for the image. A caption is visible supporting text that can add context, credit or interpretation.