KB Studio Free quote

Image Alt Text: What to Write

SEO basics & local SEO · 8 min read · Updated

Alt text is a short written description of an image, read aloud by screen readers and shown when an image fails to load. Write what someone would need to know if they couldn't see the picture, in the context of the page: usually one short sentence, without starting 'image of'. Mention the key subject and any relevant detail, such as place or product. Leave alt text empty for purely decorative images. Done well, alt text makes your site accessible and also helps search engines understand your images.

In short
  • Alt text describes an image for people who can't see it; accessibility comes first.
  • Write for the context: the same photo may need different alt text on different pages.
  • Keep it short, usually one sentence, and skip phrases like 'image of'.
  • Decorative images should have empty alt text so screen readers skip them.
  • Mention keywords only where they naturally describe the image; never stuff them.
  • Images containing text need that text in the alt attribute or on the page.

What alt text is for

Alt text, short for alternative text, is a description attached to an image in a web page's code. Screen readers used by blind and partially sighted people read it aloud. Browsers show it if the image doesn't load, and search engines use it to understand what an image shows.

Accessibility is the main purpose. Without alt text, a screen reader might read out a file name like 'IMG_4523.jpg' or simply say 'image', leaving the user with no idea what's there. Good alt text gives them the same useful information sighted visitors get from the picture.

There's also a legal and ethical angle. The Equality Act 2010 expects service providers to make reasonable adjustments for disabled people, and accessible websites are part of that. Public sector websites have specific accessibility regulations. For any business, accessible sites reach more customers.

How to write good alt text

Ask yourself: if I couldn't see this image, what would I need to know? Then write that in a short sentence. Focus on what's relevant to the page. A photo of a finished kitchen on a kitchen fitter's site might be 'Shaker-style kitchen in sage green with oak worktops and a white ceramic sink'.

Don't start with 'image of' or 'picture of'. Screen readers already announce that it's an image. Get straight to the description. Keep it concise; there's no strict limit, but a sentence or two is usually enough. Longer descriptions can go in a caption or the surrounding text.

Include details that matter in context. On a page about a specific location, mentioning the location helps. On a product page, include the product name, colour or model. On a team page, the person's name and role. Leave out details that don't add anything for the reader.

  • Describe what matters in this context
  • Skip 'image of' and 'picture of'
  • Keep it to one or two sentences
  • Include names, places or products where relevant
  • Don't repeat text already next to the image

Examples for small business sites

Examples help show the difference between weak and useful alt text. 'Garden' tells a reader very little. 'Landscaped back garden with porcelain patio, raised sleeper beds and a lawn' gives a clear picture. 'Logo' is fine for a logo that links home, though 'KB Studio home' might be clearer for a linked logo.

For staff photos, 'Sarah Jones, practice manager, smiling at the reception desk' is better than 'Sarah'. For before-and-after photos, describe both states: 'Bathroom before renovation, with dated pink tiles and a cracked bath panel', followed by 'Same bathroom after renovation, with grey tiles and a walk-in shower'.

For products, be specific: 'Hand-thrown stoneware mug in speckled blue glaze, 350ml'. For food, describe what's on the plate as a diner would want to know: 'Slow-roasted pork belly with crackling, apple purée and seasonal greens'. Each tells a screen reader user what a sighted visitor would see.

  • Weak: 'garden' - Better: 'Landscaped back garden with porcelain patio and raised beds'
  • Weak: 'Sarah' - Better: 'Sarah Jones, practice manager, at reception'
  • Weak: 'mug' - Better: 'Speckled blue stoneware mug, 350ml'
  • Weak: 'food' - Better: 'Pork belly with apple purée and greens'

When alt text should be empty

Not every image needs a description. Purely decorative images - background patterns, dividers, stock photos used only for visual effect, icons next to text that already says the same thing - add nothing for a screen reader user. Describing them clutters the experience.

For decorative images, use an empty alt attribute (alt=""), not a missing one. An empty attribute tells screen readers to skip the image. A missing attribute can cause some screen readers to read the file name instead, which is worse.

Judging what's decorative takes thought. If the image conveys information or contributes to the page's meaning, describe it. If removing it would change nothing for someone reading the text, it's probably decorative. When in doubt, a short, accurate description is safer than none.

Images that contain text

Images with text in them, such as banners, infographics, promotional graphics or menus saved as pictures, are a common accessibility problem. Screen readers can't read text within an image, and search engines can only partly understand it.

If an image contains important text, include that text in the alt attribute, or better still, put it on the page as real text and keep the image decorative. For example, a banner saying 'Spring sale: 20% off all plants' should have that wording in its alt text or in a heading on the page.

Avoid putting essential information, such as prices, opening hours or menus, only inside images. It's inaccessible, hard to update and invisible to search engines. Use real text, styled to look good, wherever possible.

Alt text and SEO

Search engines use alt text, along with file names, captions and surrounding text, to understand images. Good alt text can help your images appear in image search and gives search engines extra context about the page.

Use keywords only where they naturally describe the image. 'Emergency plumber repairing a leaking pipe under a kitchen sink in Cardiff' is fine if that's what the photo shows on a page about emergency plumbing in Cardiff. Stuffing keywords into every image, especially ones that don't match, is unhelpful for users and can be seen as spam.

Remember that alt text is a small part of SEO. It won't transform rankings on its own, but it contributes alongside good content, page titles and site structure. Accessibility should always be the first consideration.

  • Describe the image honestly
  • Include keywords only where they fit naturally
  • Use descriptive file names too
  • Add captions where helpful
  • Never stuff keywords into alt text

Adding alt text in practice

Most website platforms and content management systems have an alt text field when you upload or insert an image. Fill it in every time. It's easier to do as you go than to fix hundreds of images later.

For existing sites, audit your images. Free accessibility checkers and browser extensions can list images missing alt text. Start with your most important pages: home, services, products and contact.

Make it part of your routine. Whenever you add a new photo of a project, product or event, write the alt text at the same time. Share simple guidelines with anyone else who updates the site so it's done consistently.

Getting help with accessibility

Alt text is one part of website accessibility. Other parts include colour contrast, readable fonts, keyboard navigation, form labels and clear headings. An accessible site is easier for everyone to use, including people on phones in bright sunlight or with slow connections.

If you're not sure where to start, an accessibility check can highlight the most important problems. Fixing them often improves the site for all visitors and can support better search performance.

Every KB Studio site is built with alt text on meaningful images, proper headings and mobile-first design, alongside page titles, meta descriptions, sitemap and schema. See our web design page for packages starting at £995.

Common questions

How long should alt text be?

Usually one short sentence, often under about 125 characters, which is enough to describe most images clearly. There's no strict limit, but very long alt text can be tiring for screen reader users. If an image needs a detailed explanation, such as a chart, put it in a caption or the page text.

Do I need alt text on every image?

Every image needs an alt attribute, but not every one needs a description. Meaningful images should be described. Purely decorative images should have empty alt text (alt="") so screen readers skip them. Missing the attribute altogether is the worst option, as screen readers may read out the file name.

Does alt text help SEO?

Yes, it helps search engines understand your images and can help them appear in image search. It's a small factor compared with content and page titles, though. Write alt text for people first, using relevant keywords only where they naturally describe what's in the picture.

Should I write 'image of' in alt text?

No. Screen readers already announce that an element is an image, so starting with 'image of' or 'picture of' is repetitive. Go straight to the description. The exception is when the type of image matters, such as 'illustration' or 'screenshot', where it adds useful context.

What alt text should a logo have?

If the logo links to the home page, alt text such as 'Business name home' tells screen reader users where the link goes. If it's not a link, the business name is usually enough. Avoid generic text like 'logo' on its own, which doesn't tell users anything useful.

Want this done for you?

Websites from £995, live in 7 days, and you own everything. Free quote within 24 hours.