How to Write Good Alt Text for Images (with AI Help)
Written by Majidul Bari · Updated
Alt text is the short description of an image that screen readers announce and browsers show when an image fails to load. Good alt text makes your pages usable for blind and partially sighted visitors, and it helps search engines understand your images. An AI model can suggest a first draft, but the final words should reflect why the image is on your page.
Steps
- Decide whether the image is informative, functional or purely decorative.
- Open the AI Alt Text Generator, choose the image and select a short caption.
- Edit the suggestion so it says what the image means in your context.
- Copy the text or the ready-made HTML into your page.

What good alt text looks like
Describe the purpose, not every pixel. A product photo might need the product name and colour; a chart needs its main finding; a photo of a team member needs the person's name and role. Keep it concise, usually one sentence, and avoid starting with 'image of' or 'picture of', because screen readers already announce that it is an image.
If an image contains important text, such as a poster or a screenshot, include that text in the description or in the page content.
When alt text should be empty
Decorative images, such as background patterns or icons placed next to a text label, should have an empty alt attribute (alt=""), so screen readers skip them. Leaving the attribute out entirely is different: some screen readers then read the file name aloud.
Images that act as links or buttons need alt text that describes the action, for example 'Download the report' rather than 'blue arrow'.
Using AI suggestions responsibly
Vision models are good at describing what is visible but cannot know your intent. They may misidentify objects, misread text in the image or guess wrongly about people. Treat the suggestion as a draft, correct it, and add the context only you know.
The generator writes in English. If your page is in another language, translate the edited description and check it reads naturally.
Common questions
How long should alt text be?
Usually a short sentence. Many accessibility practitioners suggest staying around 125 characters and moving longer explanations into the surrounding text or a caption.
Does alt text help SEO?
It helps search engines understand images and can help images appear in image search, but its main purpose is accessibility. Write for people first.