Written with help from an AI assistant for research and editing; the guidance follows the W3C tutorials linked below, and the snippets were checked by hand.

Alt text answers one question: what does this image contribute to this page? Not what's in the file, and not which keywords you'd like to rank for.

If the image adds information, describe the information that matters here. If it's a link or a button, name the action or the destination. If it adds nothing, give it an empty alt so a screen reader can skip it. The W3C alt decision tree walks through exactly these branches.

Two problems are easy to find from the browser console: images with no alt attribute at all, and images whose alt text is a filename or a list of services. That's where this piece ends up.

What is alt text for, on a small business website?

It's a text alternative, not a caption. The same photo can need different wording on different pages, because the surrounding copy changes what a reader still needs to know.

Image role What the alt text does Example
Informative photo Conveys the detail that matters on this page alt="Interior designer reviewing a kitchen layout with a client"
Image link or button Makes the action or destination clear alt="View our completed renovation projects"
Decorative flourish Lets the image be skipped alt=""
Image that repeats nearby text Avoids announcing the same thing twice alt=""

In markup, the difference between the last two rows and a missing attribute is the whole point:

 <img src="divider.svg" alt=""> <img src="IMG_4821.jpg"> <a href="/projects"> <img src="kitchen-after.jpg" alt="View our completed renovation projects"> </a> 

When should an image have alt=""?

When it's purely decorative, or when it repeats information that's already in the nearby text and adds nothing of its own. W3C's guide to decorative images is clear that the attribute stays even when it's empty, because without it some screen readers announce the image's file name instead. Leaving it out is not the same as leaving it blank.

Be careful with "decorative". A photo of a person, a room or a finished job can help someone understand the service. The useful test is what a visitor loses if the image disappears, not whether it looks nice.

What do good examples look like for a studio, a clinic or a builder?

Describe the visible, relevant detail. Don't guess names, outcomes or credentials the image doesn't show.

Business Image context Example alt text
Design studio A designer and client looking over a layout Designer and client reviewing a room layout at a worktable
Clinic or consulting practice A practitioner talking with a client Practitioner speaking with a client in a consultation room
Construction business A tradesperson fitting a cabinet Installer fitting a cabinet during a kitchen renovation

If the caption already says who and what, an empty value may be the better choice. If the image is a link, describe the destination instead of every visible detail.

Should alt text include keywords?

No. Include what's needed to understand the image's role on that page. A service list, a city name and three search phrases stuffed into alt help nobody, and a sighted visitor would never need them to understand the photo. Starting with "image of" is redundant too, unless those words actually add something.

For a chart or a diagram, put the essential information in the page text as well. Alt text alone is a poor way to carry relationships or data.

There's an SEO side effect worth knowing about, though. When an image is the only content of a link, Google's link best practices say its alt text works as the anchor text. An empty alt on a linked image leaves the link with no text at all.

How can I audit the alt text already on a page?

Open the page, open DevTools, and paste this in the console:

console.table( [...document.images].map(img => ({ src: img.currentSrc.split('/').pop().slice(0, 40), alt: img.hasAttribute('alt') ? img.alt : '(missing)', inLink: !!img.closest('a, button'), width: img.naturalWidth })) ); 

Then read the table against three questions:

  1. (missing) rows. Every one needs a decision: a description, or alt="".
  2. inLink: true with an empty alt. These are links with no accessible name unless there's other text inside the link. Name the destination.
  3. Alt values that look like filenames or keyword lists. Rewrite them for what the image does on this page.

To get just the problem cases:

document.querySelectorAll('img:not([alt]), a img[alt=""]') .forEach(img => console.log(img.currentSrc, img.closest('a')?.href ?? '')); 

The selector catches images with no alt attribute and linked images with an empty one. It won't catch a bad description, which still needs a human reading it next to the copy. Check the real value in your CMS too, because the filename is not a substitute for a meaningful alternative.

Should the business name be in every alt value?

Only when the name is visible in the image and relevant. Someone who's already on the business's site doesn't need it repeated on every photo.

What about images that are links and also have visible link text?

If the text inside the link already makes the destination clear and the image adds nothing, the image can take an empty alt to avoid a duplicate announcement.

If you run the console audit on a site you maintain, I'm curious what share of images came back (missing). Leave the number in the comments with the platform it runs on.

Originally published on Contento Solutions, where I write about SEO and AI visibility for service businesses.