Summary: Alt text (the alt attribute on an image) is a short written description of what an image shows. Screen readers speak it to people who cannot see the image, browsers show it if the image fails to load, and search engines and AI systems read it to understand the page. Good alt text describes the image plainly in a sentence or less, includes a keyword only where it fits naturally, and is left empty for purely decorative images.
Alt attributes, commonly called alt text or alt tags, are a piece of HTML added to an image element on a web page. The attribute holds a text description of the image. In code it looks like this:
<img src="golden-retriever-puppy.jpg" alt="Golden retriever puppy playing in a garden">
Though often called the “alt tag”, that is technically wrong: alt is an attribute of the img tag, not a tag in its own right. The name has stuck and everyone knows what it means, so this guide uses alt text and alt attribute interchangeably.
Alt text is one of the oldest accessibility features on the web and one of the simplest pieces of on-page SEO. It is also one of the most neglected: in the technical audits we run before starting work on a site, missing or meaningless alt text is close to universal.
Alt text does three jobs at once, and the same description serves all three.
People who are blind or have low vision use screen readers that read the page aloud. When the reader reaches an image, it speaks the alt text. Without it, the user hears the file name, or nothing. Under the Equality Act 2010, UK businesses have a duty to make reasonable adjustments for disabled customers, and public sector websites are required to meet accessibility regulations. Alt text is the most basic step towards both.
It also serves everyone when an image fails to load, on a slow connection or a broken link: the browser shows the alt text in its place, so the page still makes sense.
Search engines cannot see images. They work out what an image shows from the file name, the alt text, the caption and the surrounding copy. Alt text is the most direct of those signals. A page about boiler repair whose images are described as “boiler engineer replacing a heat exchanger in a Preston home” gives Google more to work with than one whose images are all “IMG_4521”. It is a modest ranking signal for the page, and a stronger one for the image itself.
Image search is a real traffic source for product, design, food, property and trade businesses. Images with accurate alt text, descriptive file names and relevant surrounding text are the ones that appear in Google Images and in the image packs that show at the top of ordinary results. Images without them rarely do.
AI systems that answer questions and describe pages read alt text as part of the page. Accurate alt text on product and service images is one more way a business becomes legible to them, and one more reason to describe what the image actually shows rather than repeating a keyword.
Describe the image as you would to someone on the phone who cannot see it. That is the whole skill. The rules below are refinements of it.
Take a photo of a dog trainer working with a border collie in a park, uploaded as DSC_0831.jpg.
| Alt text | |
|---|---|
| Poor | dog |
| Poor | DSC_0831 |
| Poor | dog training dog trainer dog training classes Lancashire |
| Better | Dog trainer with a border collie |
| Best | Dog trainer teaching a border collie to sit in a Preston park |
The best version tells a screen reader user what is happening, tells Google what the image and the page are about, and reads like something a person would say.
Some images are purely visual: a background texture, a divider, a stock photo that adds mood but no information. These should have an empty alt attribute (alt=””), which tells screen readers to skip the image entirely. Leaving the attribute out altogether is different and worse: without it, some screen readers read the file name instead. In WordPress, leaving the alt text field blank produces an empty attribute, which is the right result for decorative images.
A dog-training business uploads a photo named IMG_2290.jpg to its puppy classes page. The image shows the trainer kneeling beside a golden retriever puppy on a lead, outdoors, with other owners and dogs behind.
Most content management systems make this easy, and none of them do it for you.
In the Media Library, open any image and fill in the Alternative Text field; it is saved with the image and used wherever the image appears. In the block editor, select an Image block and the Alt text field is in the right-hand sidebar under Settings; a value entered there applies to that placement only, which is how you give the same image different alt text on different pages. Rank Math and Yoast both flag images without alt text in their page analysis. Breakdance and other page builders have an alt text field in each image element’s settings.
Each has an alt text field on image settings: Shopify in the product media editor (“Edit alt text”), Squarespace in the image block’s settings, Wix in the image settings panel under “What’s in the image?”. Product images deserve the most care; they are the ones that appear in image search and shopping results.
The same principle applies outside the web. Word, PowerPoint and Google Docs have an Alt Text field on every image (right-click the image, or use the Picture Format tab), and it carries through when the document is exported to PDF, provided the export keeps tagging on. Describe what the image shows for someone who cannot see it, and mark decorative images as decorative so screen readers skip them.
| Tool | What it does |
|---|---|
| Screaming Frog SEO Spider | Crawls the site and lists every image with missing or over-long alt text (Images tab). Free up to 500 URLs. |
| Rank Math / Yoast SEO | Flag missing alt text on the page being edited |
| WAVE (browser extension) | Shows accessibility errors on a page, including missing alt text, in place |
| Chrome DevTools, Accessibility panel | Shows what a screen reader will announce for each image |
| Google Search Console, Performance (Image search type) | Shows which images are earning impressions and clicks from image search |
| Ahrefs, Semrush, Moz site audits | Report missing alt text across the site alongside other on-page issues |
Alt attributes are far more than an SEO checkbox. They make your site usable for people who cannot see it, they keep pages readable when images fail, and they tell search engines and AI systems what your images and pages are about. Write a plain description of what each image shows, use a keyword where it belongs, leave decorative images empty, and name the logo. It takes a minute per image and it is one of the few on-page tasks with no downside. Image optimisation is part of every campaign in our SEO packages.
Get practical SEO and digital marketing tips that help your business win more customers from Google - straight to your inbox, no jargon.
By subscribing you agree to receive marketing emails from Studio 36 Digital. Unsubscribe any time. See our Privacy Policy.