Alt text, short for alternative text, is a written description attached to an image on a web page. Screen readers read it aloud for people who are blind or have low vision. Browsers show it when an image fails to load. Search engines use it to help understand what an image shows. Writing it well is one of the simplest ways to make a site more accessible, and it is often done poorly.
The purpose comes first
The key question is not what is in this picture, but what would someone miss if they could not see it. The answer depends on why the image is on the page. The same photo might need different alt text in different places.
Take a photo of a technician fixing a furnace. On a service page about furnace repair, useful alt text might be technician replacing a furnace igniter in a basement. On an About page introducing the team, it might be a team member at work on a furnace repair. Both are accurate. Each fits its context.
Practical guidelines
- Be specific. Golden retriever getting a bath in a grooming tub is better than dog.
- Be concise. A short sentence or phrase is usually enough.
- Skip the preamble. Screen readers already announce that it is an image, so you usually do not need image of or picture of.
- Include important text. If an image contains words that matter, such as a sign or a promotion, put those words in the alt text.
- Do not stuff keywords. Alt text that lists search phrases instead of describing the image is unhelpful to people and is not what search engines want either.
Images that need special handling
Some images do not need a description at all. Purely decorative images, such as background flourishes or divider graphics, should have an empty alt attribute, written as alt with empty quotes, so screen readers skip them. Leaving out the attribute entirely is different and can cause some screen readers to read the file name aloud.
Images that act as links or buttons need alt text that describes the action, not the picture. A logo that links to the homepage could use the business name followed by home page. An icon of a phone that starts a call could use call us.
Complex images, such as charts and diagrams, often need more than a short phrase. Give a brief alt text summary and explain the details in the surrounding text, where everyone can benefit.
Building the habit
Most content management systems have an alt text field in the media library or image settings. The best time to fill it in is when you upload the image, while you remember why you chose it.
For an existing site, start with your most important pages: the homepage, main service pages and contact page. Review each image and ask whether its alt text would make sense to someone listening to the page. Then work through the rest of the site over time.
Good alt text is a small act of consideration. It makes your website work for more people, and in doing so it also gives search engines a clearer picture of your content. Both benefits come from the same simple habit: describing images honestly and with purpose.
Worked Examples: Writing Alt Text in Context
Seeing a few images written in different situations helps make the principles stick. These examples come from a fictional bakery website.
- Product photo on a menu page: “Three-tier lemon cake with fresh berries and white buttercream.” It describes what a customer would want to know about the product.
- Photo on the About page: “Head baker shaping sourdough loaves on a floured counter.” It conveys the person’s role and what the image communicates about the business.
- Promotional banner with text: “Holiday pie orders open now. Order by the date listed for pickup.” Important words in the image are included in the alt text.
- Decorative swirl between sections: Empty alt attribute, so screen readers skip it.
- Logo in the header linking home: “Bakery name, home page.” It describes where the link goes.
- Instagram icon linking to a profile: “Bakery name on Instagram.” It tells the user where the link leads.
Fixing Alt Text on an Existing Site, Step by Step
- List your key pages. Start with the homepage, top service or product pages, the contact page and your most visited articles.
- Check each image. In your content management system, open each image’s settings and read its current alt text, if any.
- Ask the purpose question. What would someone miss if they could not see this image here?
- Rewrite or mark decorative. Write a short, specific description, or leave the alt text empty for decorative images.
- Listen to the page. Try a screen reader, such as the one built into your phone or computer, and listen to the page from top to bottom. Note anything confusing.
- Move to the next group of pages and repeat over the following weeks.
Common Alt Text Mistakes
- File names as alt text. Something like “IMG_4532” or “hero-final-v2” means nothing to a listener.
- The same alt text on every image. Repeating the business name or a slogan on every picture makes the page tiresome to listen to and tells people nothing.
- Describing every detail. A long paragraph about colors, lighting and background usually obscures the point. Focus on what matters in context.
- Forgetting text in images. If a graphic contains a phone number, date or offer, that information is lost to screen reader users unless it appears in the alt text or nearby on the page.
- Relying entirely on automatic descriptions. Some tools suggest alt text automatically. These suggestions can be a useful starting point, but they do not know why you chose the image, so always review them.
Questions Readers Ask
Is alt text the same as a caption?
No. A caption is visible to everyone and often adds context or credit. Alt text is read by screen readers and shown when an image fails to load. Some images benefit from both, but they should not simply repeat each other.
Does alt text help with image search?
Descriptive alt text can help search engines understand an image, along with surrounding text and file names. The best approach for both people and search is simply an accurate description.
Is there a character limit for alt text?
There is no strict rule, but concise alt text is easier to listen to. If an image needs a long explanation, add it to the page text instead.
Do I need alt text for images in emails?
Yes. Many email clients block images by default, and screen reader users read emails too. Alt text helps your message make sense either way.




