Design

Alt text

Alt text is the written description attached to an image, read aloud by screen readers and shown when the picture fails to load. Decorative images should carry an empty one on purpose.

Also called alt attribute, alternative text, alt tag

SiiteWritten by SiiteUpdated September 6, 2026

Alt text is the written description attached to an image in the page code. It is read aloud by screen readers, displayed in place of the picture when the picture does not load, and used by search engines as one of the few clues about what an image contains. Most visitors never see it, which is exactly why it gets forgotten.

In short

  • A short written stand-in for the image, in the page code.
  • Read aloud to people using screen readers.
  • Shown when the image fails to load, which happens on a weak connection.
  • Decorative images should carry an empty one, deliberately.

Who is actually reading it

Four audiences depend on it, and only one of them is a search engine.

  • People using a screen reader. The description is announced in place of the image, and a missing one is often replaced by the file name.
  • Anyone on a poor connection. Images give up before text does. On mobile data outside the city, alt text is what remains on the screen.
  • Email recipients. Many mail applications hold images back until the reader asks for them, which is why an email template built as one large picture arrives blank.
  • Search engines. It is the main written signal about a picture, and it feeds image search.

The first two are the reason the attribute exists. The last one is the reason it usually gets written, which is how it ends up full of search terms and empty of description.

What to write

Describe what the image shows, in the context of the page it is on. That last part is the whole craft.

The same photograph of a team standing outside a building needs different descriptions on different pages. On a contact page, the useful description is the front of the premises so somebody can recognise it. On an about page, it is the people. Nobody needs both, and the version that helps depends on why the image is there at all.

Skip openings like “image of” or “photo of”. A screen reader already announces that it is an image, so those words are heard twice. Keep it to a sentence. Write it the way you would describe the picture to somebody standing beside you on the phone, and stop when you have said the useful part. This is the same instinct that makes good anchor text work: describe the thing, not the mechanism.

When to leave it empty

An empty alt attribute is a real decision with a real effect, and it is the part almost everybody gets wrong.

Decorative images, background textures, dividers, a shape behind a heading, and icons sitting next to text that already says the same thing, should have an alt attribute present and empty. That tells a screen reader to pass over it in silence. Missing entirely is different: the software then assumes the image matters and reads whatever it can find.

So the rule is not that every image needs words. It is that every image needs a choice between a description and a deliberate silence, and pages that skip the choice are noisier to listen to than pages with no images at all. Getting this right is unglamorous user experience work of the kind that never shows up in a design review.

Text trapped inside a picture

The most expensive alt text mistake is not bad wording. It is putting words in an image and expecting them to count.

Opening hours drawn into a graphic, a list of services set as a poster, a promotion written across a photograph: none of that text exists as far as a search engine, a screen reader or a translation tool is concerned. It is a picture of words. Alt text can rescue the meaning, and only if somebody writes the same information into the attribute, which rarely happens on a graphic exported for social and dropped onto a page.

Real text is also the only version that on-page SEO can work with, since a search engine reads the words on the page and not the words in the artwork. The better habit is to keep important words as real text and let the image support them, which is a graphic design decision more than a technical one. Where a graphic really is the right format, write the alt text at the moment you place the image, while you still remember what it says. Adding descriptions to two hundred images later is a job nobody finishes, and it is the reason so many sites carry an image audit that has been open for a year.

Where alt text goes missing

Sites rarely fail at this deliberately. They fail in four predictable places, and knowing them is faster than auditing every image.

  • Page builders. Images dropped into a layout module often have no field for a description on the surface, so nobody fills one in.
  • Media libraries. Some systems attach one description to the file itself, which is then reused everywhere the image appears, however different the context.
  • Product photos. Store images imported from a supplier arrive with either nothing or the supplier’s own file names.
  • Social graphics. Artwork made for a feed and reused on a page, carrying words in the picture and no description behind it.

The habit that fixes all four is the same: write the description when you place the image, in the sentence you would have used to explain it to a colleague. It takes seconds at that moment and it is a project later.

Words you will hear

  • Alt attribute. The correct name. Alt tag is common and technically wrong, since it is an attribute of the image tag.
  • Decorative image. One that carries no information, and should have an empty alt attribute.
  • Screen reader. Software that reads a page aloud, used by people with limited or no vision.
  • Title attribute. The tooltip on hover. A different attribute, poorly supported on phones, and no substitute.
  • File name. The name of the image file itself, often read aloud when alt text is missing.

Questions we get

More about alt text

Does every image need alt text?

Every image needs a decision, which is not the same thing. Images that carry meaning need a description. Images that are pure decoration, such as a background pattern or a divider, should carry an empty alt attribute so screen readers skip them. Describing decoration out loud makes a page harder to listen to, not easier.

Should we put keywords in it?

Write the description first and let the words fall where they fall. If an image of a clinic reception shows a clinic reception, the useful words appear without effort. Lists of search terms stuffed into alt attributes are read aloud to the people the attribute exists for, and search engines have been discounting the practice for many years.

Is alt text the same as a caption?

No. A caption sits under the image and everyone sees it. Alt text replaces the image for people who cannot see it and is invisible to everyone else. They can carry different information, and a caption is not a substitute, because a page with captions and no alt attributes still leaves screen reader users with nothing.

What happens if we leave it out entirely?

The image is announced with whatever is available, which is often the file name. A visitor listening to your page hears a string like IMG underscore 4823 read out, or in a worse case a full web address. Leaving the attribute out is not neutral. It produces noise where a short sentence would have done.

How long should it be?

One sentence is the usual answer, and the test is whether somebody who cannot see the image now knows what they missed. Long descriptions belong in the page text where everybody benefits from them. Very short labels are fine when the image is simple, such as a logo, where the company name is the whole description.

What about images that are links or buttons?

Describe where it goes rather than what it looks like. If a picture of a product is a link to that product page, the useful alt text is the product name, not a description of the photograph. For a link, the alt text does the job that link text would otherwise do, so treat it as the label on a door.

Does alt text matter in email?

More than on a website. Several mail applications block images until the reader chooses to load them, so alt text is the version of your message a real share of recipients see first. If your email is one large image with no text behind it, those people receive an empty rectangle.
Want this handled for you?

Let us take alt text off your desk.

The guides and these pages are yours to use for nothing. When you would rather have the work done properly than done by you, tell us what is already in place and we will put a proposal together.