Good alt text explains the useful meaning of an image in its page context. Describe what matters, keep the wording clear, and leave purely decorative images with an empty alt attribute. These alt text examples show how to make that decision and add the right description in WordPress.
Describe what the reader would miss.
Imagine explaining the page to someone who cannot see its images. What information would they need? That is the starting point for your alt text. A list of SEO keywords, a file name or “nice picture” rarely helps.
For an image that acts as a link, explain the destination or action. For a chart, provide the important information in readable text or a table as well. If an image adds decoration only, it may need alt="" rather than a written description.
What is alt text?
Alt text is the text alternative attached to an image. On a typical web page it is written in the image’s alt attribute. Assistive technology, including screen readers, can use it to convey information that is otherwise visual.
People often search for an “alt tag example”, but the precise HTML term is alt attribute. You do not need to know much code to write it in WordPress.
<img src="page-planning.jpg" alt="Notebook with hand-drawn website page layouts beside a smartphone">The description belongs to that particular use of the image. A photo can need different wording when it is used to explain a different point. The W3C image accessibility tutorial explains this relationship between the image, its purpose and its surroundings.
Alt text, captions and titles are different
Alt text
Conveys the image’s useful meaning or function when someone cannot see it.
Caption
Appears alongside the image for readers. It can explain the context or credit the source.
WordPress title
Helps identify the media item. Filling in its title is not the same as setting its alt text.
Alt text examples: vague, overloaded and useful
Look at the photograph below. On a page about planning a website, the important detail is the collection of hand-drawn page layouts. It does not need an invented client name, a made-up location or every item on the desk.

“Image”
The reader learns nothing about what the photograph contributes.
“Cheap web design UK best SEO website designer Manchester”
This describes a search target instead of explaining the photograph.
“Notebook with hand-drawn website page layouts beside a smartphone”
The wording explains why the photograph belongs in the planning section.
Takeaway: write for the person trying to understand the page. Include a relevant keyword only when it naturally describes the image’s meaning.
Example 2: a product image
For a fictional shop showing a blue ceramic mug, “Blue ceramic mug with a curved handle, shown from the side” may be useful when those details are visible. Do not claim it is handmade, dishwasher-safe or made in Britain unless you have reliable evidence. Product specifications also belong in the readable product information.
If several photographs show different views, make their alternatives useful: front, handle detail or underside markings, as appropriate. Do not repeat a long promotional paragraph for every image.
Example 3: a before-and-after image
Suppose a tutorial shows a navigation menu before and after its spacing is corrected. Describe the change the reader should notice: “Menu links with larger gaps between them after the spacing adjustment.” Explain the actual adjustment in the article too. The description should reflect the image you have, not an improvement you hope it proves.
Choose alt text according to the image’s purpose
The right answer is not always a longer description. Use this table as a starting point, then check how the image behaves on the actual page. For difficult cases, follow the W3C alt decision tree.
On a phone, swipe the table sideways to read all columns.
| Image use | What to do | Example or check |
|---|---|---|
| Informative photograph | Explain the relevant information briefly. | Describe the page-layout sketches in a website planning guide. |
| Pure decoration | Use an empty alt attribute. | A flourish beside a heading that adds no information. |
| Image-only link or button | Communicate its destination or action. | “Download the menu PDF”, rather than “red arrow”. |
| Image repeating text in the same link | Avoid announcing the same label twice. | An icon beside the visible words “Download menu” can usually have empty alt text. |
| Essential words shown only in an image | Provide the wording as a text alternative; prefer real text where possible. | A banner’s important offer must be available to someone who cannot see it. |
| Chart or detailed diagram | Give a short identification and a fuller text equivalent nearby. | Explain the conclusion and supply the values in a table. |
Decorative images: empty is different from missing
For a purely decorative image, alt="" deliberately provides no spoken description. Omitting the attribute is different: some screen readers may announce a file name instead. Do not put the words “decorative image” in the field.
<img src="heading-flourish.svg" alt="">An attractive photograph is not automatically decorative. Ask whether removing it would remove information. The W3C decorative images guidance includes examples of images that repeat information already supplied in text.
Image links: explain the job, not just the shape
A standalone image of a house linking to a homepage needs to communicate that destination. A magnifying glass that submits a search needs an accessible name for the search action. Describing its shape alone leaves the purpose unclear.
Where an icon sits beside visible text in the same link or button, that text may already provide the name. Avoid duplicate descriptions. Developers should check the complete control, especially where a builder uses icons or background images. See the W3C functional images examples.
Charts and screenshots: provide the important explanation nearby
Do not squeeze an entire spreadsheet into one alt attribute. Identify the chart, then give the values, relationships or conclusions in readable text or a table. The alternative should lead to that fuller explanation where appropriate.
For a screenshot, explain the control or result the reader should notice, then give the instructions in ordinary text. Someone should be able to follow the guidance without reading tiny words inside the screenshot. This approach follows the W3C guidance on complex images.
How to add alt text in WordPress
You can set a default in the Media Library and adjust an individual image within a page or post. Controls vary between WordPress versions and builders, so use the official Image block documentation if your screen looks different.

For an image already inside a post
- Open the page or post in the block editor and select its Image block.
- Open the block settings sidebar and find Alternative text. In the documented interface it appears under Content.
- Write the description for this use, or mark the image as decorative when appropriate.
- Save the post and check its published version.
For an image in the Media Library
Open Media → Library, select the image and find Alt Text in its attachment details. Enter a useful default, separate from its Title, Caption and Description. The Media Library documentation explains these fields.
Changing the library does not fix every existing use.
The library value supplies a default when an image is inserted. An existing Image block can keep its own saved alternative. Check the images already placed in important posts rather than assuming a library edit has updated the whole site.
If you use Elementor or another builder, inspect its image settings and the finished page. Different widgets and templates may handle media defaults differently. For custom HTML, edit the actual alt attribute in the image markup. A CSS background has no image alt field; if it carries essential information, provide an accessible text equivalent or use a suitable image element.
Does alt text help SEO?
Google uses alt text alongside the page’s content and its image-understanding systems to interpret an image. Useful context, relevant surrounding text and sensible file names also matter. Describing an unrelated image with your target keyword does not make it a useful match.
Google’s image SEO guidance warns against keyword stuffing in alt attributes. Treat accessibility as the starting point and relevance as the check. Filling every field with the same phrase is not a sensible optimisation plan.
If you are unsure which topics your pages should cover, read our keyword research guide for UK small businesses. Choose a useful page topic first, then select images and descriptions that support it.
Can AI write your alt text?
AI can suggest a draft, but it needs the page context as well as the image. Check what is actually visible and remove guesses about identities, locations, materials or results. It may also describe an image that should be treated as decorative.
A useful instruction is: “Describe the information this image adds to a page about [topic]. Keep it concise. Do not infer names, locations or claims that are not supported. Tell me if its purpose appears decorative.” Review the answer yourself before saving it.
Takeaway: an automated missing-alt check can find a field that needs attention. It cannot reliably decide whether the wording is useful or whether a deliberately empty alternative is correct.
A quick alt text checklist before publishing
- Check the purpose. Does this image inform, decorate or act as a control?
- Read it in context. Does the description supply what someone would miss?
- Remove filler. Cut unrelated keywords, file names and unsupported claims.
- Check detailed visuals. Put important screenshot instructions and chart information in readable text too.
- Inspect the live use. Confirm the intended alternative is present in the published image or control.
Start with images that affect important tasks: navigation, products, booking steps, instructions and frequently visited guides. If a report flags hundreds of images, review them by purpose rather than adding the same description everywhere.
Alt text questions answered
Should every image have written alt text?
No. Meaningful images need appropriate alternatives, while purely decorative images generally need an empty alt attribute. Image links and buttons need an accessible name that explains their purpose. Check the whole context.
How long should alt text be?
Make it as concise as the purpose allows. A short sentence is often enough for a simple photograph. If the information needs a lengthy explanation, put that explanation in the page and use the alternative to identify the visual and its context.
Should I start with “image of”?
Usually you can describe the subject directly. Mention the type when it matters, such as “Screenshot of the Alternative text field” or “Sketch showing two possible page layouts”.
Can a caption replace alt text?
A caption and alternative serve different roles. If nearby text already supplies all the image’s information, an empty alternative may avoid repetition. Otherwise provide what is missing rather than assuming the caption has solved it.
Why is my updated WordPress alt text not showing?
Check the particular Image block, widget or custom HTML on the published page. A Media Library change may not replace the text saved in an existing block. Also check whether you are seeing an older cached version after saving.
Unsure which images need attention?
Send us a page you are working on. We can discuss the images, their purpose and the practical next steps in a free initial conversation.
Ask a question about your websiteSources and image credits
Reviewed on 3 December 2026. Examples are teaching examples rather than client results. The planning photograph comes from NetHome’s existing media collection; the editor screenshot is attributed to WordPress.org.
- W3C WAI: Images tutorial, alt decision tree, decorative images, functional images and complex images.
- WordPress.org: Image block and Media Library screen.
- Google Search Central: Image SEO best practices.