Alt Text Definition
Alt text (alternative text) is a short written description of an image, added in the HTML with the alt attribute: <img src="https://www.seoyass.com/en/wp-content/uploads/2026/11/alt-text-seoyass.webp" alt="Alt text diagram: an image with its alt attribute read by a screen reader and a search engine">. It is read aloud by screen readers, displayed when the image cannot load, and used by search engines to understand what the image shows.
Good alt text serves two audiences at once: people who cannot see the image, and search engines that cannot fully interpret it. Writing it well is both an accessibility requirement and a simple image SEO practice.
What Is Alt Text?
The alt attribute belongs to the HTML <img> element. Its content replaces the image whenever the image is not seen:
- a blind or visually impaired visitor using a screen reader hears the alt text instead of seeing the image;
- when an image fails to load or images are disabled, the browser shows the alt text in its place;
- search engines read it as one of the signals describing the image and the page.
Alt text is not the same as the image title attribute, which appears as a tooltip on hover in some browsers, nor the caption, which is visible text below the image.
- How Google Uses Alt Text
- Why Alt Text Matters
- How to Write Good Alt Text
- Alt Text Examples
- Decorative, Functional and Informative Images
How Google Uses Alt Text
Google’s image SEO documentation says it uses alt text, along with computer vision and the content of the page, to understand the subject of an image. Alt text is also used as the anchor text when an image is a link.
Google recommends useful, information-rich alt text that uses keywords appropriately and in context, and warns against filling alt attributes with keywords, which creates a negative user experience and may cause a site to be seen as spam. It gives a simple progression: missing alt text is bad, a single word such as “puppy” is better, and a precise description such as “Dalmatian puppy playing fetch” is best.
Why Alt Text Matters
- Accessibility: without alt text, screen readers may read the file name or skip the image, and the information it carries is lost. Accessibility guidelines such as WCAG require a text alternative for meaningful images.
- Google Images: descriptive alt text helps images appear for relevant image searches, which can bring visitors.
- Page relevance: images described accurately reinforce the topic of the page.
- Linked images: for an image used as a link, the alt text works like anchor text.
- Resilience: when images fail to load, the alt text keeps the page understandable.
How to Write Good Alt Text
- Describe what matters in the image, in the context of the page: who, what, where, and any information the image conveys.
- Be specific but concise: usually one short sentence; there is no official length limit, but screen reader users appreciate brevity.
- Include the topic naturally when it is genuinely what the image shows, for example the service or place.
- Do not start with “image of” or “picture of”: screen readers already announce that it is an image.
- Write any text that appears in the image, if it carries information.
- Use empty alt text (
alt="") for purely decorative images, so screen readers skip them; do not omit the attribute.
Alt Text Examples
| Weak | Better |
|---|---|
| (no alt attribute) | Roofer replacing slate tiles on a terraced house roof |
| IMG_2045 | Before and after photo of a cleaned stone patio |
| image of kitchen | Fitted oak kitchen with a central island and pendant lights |
| plumber plumber leeds emergency plumber leeds cheap | Plumber repairing a leaking pipe under a kitchen sink |
Decorative, Functional and Informative Images
The W3C’s images tutorial distinguishes several types of images:
- Informative images convey information: describe it.
- Decorative images add no information, such as background patterns or ornaments: use
alt="". - Functional images are links or buttons, such as a logo linking to the home page or a search icon: describe the action or destination, for example “Home” or “Search”.
- Images of text: reproduce the text.
- Complex images, such as charts or diagrams: give a short alt text and a longer description nearby.
Alt Text and Other Image SEO Elements
Alt text works together with other signals. Google’s documentation also mentions descriptive file names (my-new-black-kitten.jpg is better than IMG00023.JPG), placing images near relevant text, captions, and image quality. Lightweight, well-compressed images in modern formats such as WebP also help page speed and Core Web Vitals.
Alt Text in WordPress
WordPress has an “Alternative Text” field for every image in the media library and in the image block. Two points to watch: the alt text entered in the media library is not always updated in pages where the image was already inserted, and page builders may have their own alt fields per module. An SEO crawler or an accessibility checker lists the images that have no alt attribute, which makes it easy to fix them in bulk.
Example: A Garden Landscaper's Portfolio
A landscaper in Oxford has a portfolio of 60 project photos, all uploaded with camera file names and no alt text. A screen reader announces “image, DSC 4471” sixty times, and Google has little text to understand the photos. Each image receives a short description of the project: “Raised oak sleeper beds with lavender in a small courtyard garden”, “Porcelain patio with built-in seating and outdoor lighting”. Decorative leaf icons get empty alt text. The portfolio becomes usable with a screen reader, and the images now describe the landscaper’s real work to search engines.
Common Mistakes
- Missing alt attributes on meaningful images.
- Keyword stuffing: lists of keywords instead of a description. See keyword stuffing.
- The same alt text on every image.
- File names as alt text, such as IMG_2045.
- Describing decorative images, which clutters the screen reader experience.
- Text in images without an alternative, such as prices or offers only shown in a banner.
Alt Text: Key Takeaways
Alt text is the written alternative of an image, read by screen readers, shown when images fail and used by Google to understand images. Write a short, specific description of what matters in each image, in the context of the page, include the topic only when it is genuinely shown, use empty alt for decorative images and never stuff keywords. It is a small effort that improves accessibility and image search at the same time.
From theory to described images
Knowing what alt text is is the first step. The next is checking which images on your site are missing a useful description.
- An action plan adapted to your situation
- Clear explanations, no needless jargon
- Direct application to your sector
From diagnosis to results, step by step
Here is how I handle alt text issues on client sites, and what my clients say about my work.
What Is Alt Text?
The alt attribute belongs to the HTML <img> element. Its content replaces the image whenever the image is not seen:
How Google Uses Alt Text
Google's image SEO documentation says it uses alt text, along with computer vision and the content of the page, to understand the subject of an image. Alt text is also…
Why Alt Text Matters
Accessibility: without alt text, screen readers may read the file name or skip the image, and the information it carries is lost. Accessibility guidelines such as WCAG…
FAQ: Alt Text
What is alt text?
A short text description of an image, added with the HTML alt attribute, read by screen readers and used by search engines.
Does alt text help SEO?
Yes. Google uses it with the page content to understand images, which helps in Google Images and for linked images.
How long should alt text be?
There is no official limit. One short, specific sentence is usually enough; longer descriptions belong in nearby text.
Should every image have alt text?
Every image should have an alt attribute. Meaningful images need a description; purely decorative images should use an empty alt.
Should I put keywords in alt text?
Only when they describe what the image actually shows. Google warns that filling alt attributes with keywords can be seen as spam.
What is the difference between alt text and an image title?
Alt text replaces the image for screen readers and search engines. The title attribute is an optional tooltip and is not a substitute.
Do you want to work with me?

