Definition
Alt text is a written description of an image, supplied in the alt attribute of an img tag. Screen readers announce it to people who cannot see the image, browsers display it when the image fails to load, and search engines use it to understand what the image shows.

Why it matters
Alt text has two audiences and only one of them is a search engine. For somebody using a screen reader, it is the image. An unlabelled photograph is announced as nothing useful, and a decorative graphic with a paragraph of keywords in its alt attribute is an interruption.
The accessibility case is also the SEO case, because the thing that serves a reader is the thing that describes the image accurately. Google's guidance on images asks for descriptive alt text and specifically warns against stuffing it with keywords.
How it works
It is an attribute on the image tag:
<img src="/charts/inp-by-device.png"
alt="Interaction to Next Paint by device type, mobile slower than desktop" />
Three behaviours follow from it. A screen reader announces the text in place of the image. A browser shows it when the image cannot load. And search engines use it as a description of the image content, which is how images become findable in image search.
The W3C's guidance on text alternatives draws the distinction that matters most: images carrying information need a description, and purely decorative images should have an empty alt attribute, written as alt="". Empty is not the same as missing. Empty tells a screen reader to skip the image; missing leaves it to announce the filename, which is usually worse than silence.
Worked example
The same photograph, described for three different purposes:
- Missing
<img src="team-photo.jpg">
- Stuffed
alt="seo agency chicago best seo company chicago seo services"
- Decorative
alt=""
- Good
alt="Four people reviewing a site audit on a shared screen"

The test is simple. Read the alt text aloud instead of looking at the image. If the sentence around it still makes sense and nothing is lost, it is right.
Common mistakes
- Stuffing keywords.Named explicitly by Google as something to avoid, and it degrades the experience for the people the attribute exists to serve.
- Starting with "image of" or "picture of".A screen reader already announces that it is an image. The phrase is redundant.
- Leaving it off entirely.The filename gets announced, and
IMG_4821.jpghelps nobody. - Describing decorative images.An abstract background that adds nothing should carry
alt="". - Writing a paragraph.A sentence is almost always enough. If the image genuinely needs more, the explanation belongs in the page text, where everybody gets it.
Alt text and images in search
Describing the image accurately is most of the work, but it is not all of it. A descriptive filename helps, the image needs to be crawlable rather than blocked in robots.txt, and the surrounding text gives the image context. Oversized images are also a Core Web Vitals problem, which is a different issue reached through the same tag, and both get attention in an on-page SEO pass.