M/Visual Library
  1. Visual Library
  2. Guides
  3. How to Write Alt Text

Guide

How to Write Alt Text

Alt text lets people who can't see an image understand it, and helps search engines too. Practical rules, examples and the most common mistakes.

Also known as: alt text guide, image descriptions for accessibility, alt text examples, alt teksti

A description for someone who can't see

Alt text is a short written description attached to an image on a website or social post. Screen readers read it aloud to blind and low-vision people, it appears if the image fails to load, and search engines use it to understand images. It is one of the most everyday forms of describing images in words.

Good alt text is not a list of everything in the picture. It says what matters about the image in this context, in a sentence or two, as if you were describing it to a friend on the phone.

Core rules

Describe the purpose

Ask why the image is here, and describe what serves that purpose.

Be brief

Usually one or two sentences; long details belong in the text or a caption.

Start with the most important thing

Subject first, then action, setting and mood.

Don't start with 'image of'

Screen readers already announce that it is an image.

Include text in the image

If the image contains words, write them in the alt text.

Use the context

The same photo may need different alt text on a news page and a shop page.

Describing visual qualities

Mention style when it matters

For art and design pages, the style and medium are the point.

Name colours and light when they carry meaning

'At sunset, in warm orange light' if the mood matters.

Describe people respectfully

Describe what is visible and relevant; don't guess identity.

Avoid interpretation you can't see

Say 'smiling', not 'happy and grateful'.

Special cases

Decorative images

Purely decorative images get empty alt text (alt="") so screen readers skip them.

Links and buttons

If an image is a link, describe where it goes, not what it looks like.

Charts and diagrams

Give the key point in alt text and the full data nearby.

Repeated images

Don't repeat the same long description again and again.

Persian and right-to-left pages

Write alt text in the page's language, with natural Persian word order.

Search

Keywords naturally

Use the words people would search for only when they truly describe the image.

Words to describe How to Write Alt Text

Precise words for the qualities above. Combine a few of them instead of naming the style or artist alone.

  • concise alt text
  • describe the purpose
  • subject first
  • include visible text
  • empty alt for decorative images
  • context-dependent description
  • respectful description of people
  • key point of a chart
  • natural keywords
  • screen reader friendly
A description to start from

For a portfolio image: 'An original collage of a woman's profile filled with a vintage botanical engraving, an orange circle behind her and torn strips of navy paper.' For the same image in a shop: 'Art print, 30 × 40 cm: collage portrait in orange, navy and cream.'

How to describe How to Write Alt Text in words

  • Ask: what would someone miss if the image disappeared?
  • Write that in one or two clear sentences.
  • Read it aloud; if it sounds like a list, rewrite it as a sentence.

Where we usually get it wrong

The two most common mistakes are leaving alt text empty on meaningful images and stuffing it with keywords. Others: writing 'photo', 'image123.jpg' or the title of the article, and describing every detail of a busy image instead of what matters.

Try this

Write alt text for the same photo three times: for a news article, for an online shop and for an art portfolio. Notice what changes when the purpose changes.

Keep looking