Articles · Small business websites
How to write alt text for images on your small business website
Published · Updated
Every image on your website can carry a short written description. That description is called alt text. Most small business sites leave it blank, or they fill it with a file name like “IMG_4021.jpg.”
This guide explains what alt text does, how to write it for different kinds of images, and where to add it.
What alt text is
Alt text is the “alt” attribute on an image. Visitors do not see it on the page. It does three jobs.
First, screen readers read it aloud. A person who is blind or has low vision hears the alt text in place of the image.
Second, a browser shows it when the image fails to load. A slow connection or a broken file path leaves a blank space. The alt text fills it.
Third, Google reads it. Google cannot look at a photo the way a person does. Alt text, along with the page text around the image, helps Google understand what the image shows. That matters for Google Images and for the page as a whole.
How to write good alt text
Describe what the image shows, as you would to a friend on the phone. Keep it to one short sentence. Name the specific thing.
Here are examples for a Vernon business. Replace the details with your own.
- Weak: “kitchen”
- Better: “White shaker kitchen cabinets with a butcher block counter after renovation”
- Weak: “IMG_4021.jpg”
- Better: “Technician clearing a kitchen drain with a drain snake”
- Weak: “team photo”
- Better: “Three crew members standing beside a company truck in Vernon”
Add detail that helps the reader understand the page. A before and after photo of a deck should say which is which. A photo of a finished haircut can name the style.
Match the alt text to the page. A drain cleaning page with a photo of a plumber at work needs alt text about drain cleaning. Use your town name only when it is true and useful, such as a photo of a job site in Vernon.
What to leave out
Skip the phrases “image of,” “photo of,” and “picture of.” A screen reader already tells the listener that it is an image. Those words add noise.
Do not stuff keywords. Alt text like “plumber Vernon plumbing Vernon best plumber Vernon” helps no one. Google advises against keyword stuffing in alt text, and a screen reader user must listen to the whole string.
Do not write a paragraph. A sentence is enough. If an image needs a long explanation, such as a chart, put the explanation in the page text and keep the alt text short.
Special cases
Your logo. Use your business name. If the logo links to your homepage, some sites write “Business Name home.” Either works.
Images that contain text. Type the same words into the alt text. A sale banner that reads “Free estimates in November” needs those words in its alt text. Better still, put that message in real page text too, so Google and every visitor can read it.
Images that act as buttons or links. Describe where the link goes or what it does. A phone icon that starts a call can say “Call us.”
Decorative images. A divider line, a background texture, or a swirl that adds no information should have an empty alt attribute, written as alt=“”. A screen reader skips it. This is different from having no alt attribute at all. A missing attribute can lead a screen reader to read out the file name.
Photos of people. Describe the action and the setting. Use a name only if the visitor is meant to know the person, such as an owner photo on your About page. How to write an About page for a small business website covers that page.
Where to add alt text
The steps depend on how your site is built.
Website builder. Click the image on the page. Look in the image settings for a field called alt text, image description, or accessibility text. Type the description and save.
WordPress. Open the Media Library and click the image. The Alt Text field is on the right side. You can also click the image inside the page editor and fill in the same field in the block settings.
Custom site. The developer writes it in the HTML like this: img src=“deck.jpg” alt=“Cedar deck with black metal railing”. Send your developer a list of images and the text for each. If you want help with that, use the contact page.
Check your work
Go through your site one page at a time. Start with the homepage, then your main service pages, then the contact page. For each image, ask two questions. Does the alt text describe what the image shows? Would it make sense if a person heard it with no picture in front of them?
Images that you added years ago are the most likely to have blank fields. Fix those first.
Many website builders and WordPress plugins flag images with missing alt text. Check the settings or the media list for a filter. If yours has none, open the page and hover over an image. In many browsers, the alt text appears as a tooltip, though this varies by browser and site.
Alt text and the images you choose
Alt text works best when the photo itself is clear. A sharp photo of your own work gives you something real to describe. How to take good photos of your work for your website shows how to get those shots.
Large image files also slow down a page. Resize and compress each photo before you upload it. How to make your small business website load faster walks through that step.
Common mistakes
Leaving every field blank. Using the file name. Repeating the same alt text on every image on a page. Writing “image of” at the start. Packing a town name and a service into every description. Adding alt text to decorative shapes that should stay empty.
Fix one page at a time. Ten good descriptions on your homepage and service pages help more than a rushed pass through the whole site.
Read next
How to write page titles and meta descriptions for a small business website
Learn what a page title and meta description are, how long to make them, and how to write them for each page so your business looks clear in Google results.
How to add customer testimonials to your small business website
Learn how to ask customers for testimonials, get permission to post them, and place them on your homepage and service pages so visitors trust your business.
How to set up a Google Business Profile for a Vernon business
A step-by-step guide for Vernon, BC owners to claim or create a free Google Business Profile, pick a category, verify it, and keep it accurate.