Rentsite

Articles · Website content

How to write alt text for your small business website images

Published · Updated

Alt text is a short written description of an image on a web page. It sits in the page’s code and most visitors never see it. For some visitors, it is the only way to know a photo is there.

This guide explains what alt text does, how to write it, and what to do with logos, buttons, and images that are only decoration.

What alt text does

Alt text is short for alternative text. It does three jobs.

First, it helps visitors who are blind or have low vision. A screen reader is software that reads a page aloud. When it reaches an image, it reads the alt text. With no alt text, the visitor may hear only a file name such as “IMG_4821.jpg” or nothing at all.

Second, it shows in place of the image when the image fails to load. A slow connection or a broken file can leave a blank space. The alt text appears there instead.

Third, search engines read it. Google uses alt text, along with the text around an image, to understand what the image shows. Good alt text can help your photos appear in image search. It does not replace the written content on the page. The guide on how to get your small business website to show up on Google covers the other pieces.

Describe what the image shows and why it is there

Look at the photo and answer one question: what would a visitor miss if they could not see this?

A photo of a finished deck on a services page should say what the deck is. “Cedar deck with black metal railing and built-in bench” does that. “Deck” says too little. “Beautiful high-quality deck we built for happy customers” says too much and none of it is a fact a listener can use.

Follow these rules:

  • Name the main subject and the key detail.
  • Match the description to the purpose of the page. A photo of a loaf on a bakery’s sourdough page can say “Sourdough loaf with a deep golden crust, sliced open to show the crumb.”
  • Keep it to one short sentence. A good target is under 125 characters, which is about 20 words.
  • Skip “image of,” “photo of,” or “picture of.” The screen reader already announces that it is an image.
  • Use plain words. Write the way you would describe the photo to a friend on the phone.

Do not stuff in keywords

It is tempting to write “Kelowna plumber best plumber near me emergency plumbing” as alt text. Do not. Screen reader users hear every word, and the result is hard to listen to. Search engines can also treat the practice as spam.

A real keyword is fine when it fits the description. “Plumber replacing a water heater in a Kelowna basement” is useful and accurate. Use a place or service name only when it describes what is in the photo.

Handle each type of image

Photos of your work. Describe the work. Name the material, the style, or the result. Before-and-after photos need two separate descriptions, one for each.

Photos of people. Say what the person is doing. “Owner Dana fitting a customer’s bike helmet” works. Use a name only when the person has agreed to be named. The guide on what photos a small business website needs covers which people photos help most.

Your logo. Use your business name. If the logo links to your home page, “Maple Street Bakery, home” tells a screen reader user what happens when they select it.

Images with text in them. Repeat the text. If a banner says “Free quotes on all fence jobs,” the alt text says the same. Better still, put that message in real page text so every visitor and search engine can read it.

Icons and image buttons. Describe the action, not the picture. A phone icon that starts a call should read “Call us.” A magnifying glass that opens search should read “Search.”

Charts and diagrams. A short alt text can name what the chart is. Put the main finding in the text beside it. A sentence like “Our service calls peak in January” belongs on the page, not hidden in alt text.

Leave decorative images empty

Some images add no information. A thin divider line, a background pattern, or a stock photo of a handshake that repeats what the text says all fall into this group.

For these, set the alt text to empty. In code, that is alt="". A screen reader then skips the image, which is what the visitor wants. Do not delete the alt attribute altogether. A missing attribute and an empty one are different. A missing one can lead the screen reader to read the file name.

Many website editors let you tick a box such as “decorative image” to do this. If yours does not, leave the alt field blank.

Where to enter it

Most website editors have a field for each image. It may be labeled alt text, alternative text, or image description. Look in the image settings after you upload or select a photo. Fill it in at the same time you add the image. Going back later to fix twenty photos is slower.

If someone else manages your site, send a one-line description with every photo you supply. That saves a round of questions. The guide on what to give a web designer to build your website lists the other items worth sending along. If you rent a site and want to ask about image descriptions, use the contact page.

Check your work

Read each description without looking at the photo. Does it make sense? Would a person who cannot see the image know why it is on the page?

Then check the full page. Every photo that carries meaning should have a description. Every decoration should have an empty one. Also open your site on a small screen, since images often change size and position there. The guide on how to check if your website works on a phone lists what to test.

Alt text takes about a minute per image. For a site with ten to twenty photos, that is less than half an hour. The work reaches visitors who rely on screen readers, helps your photos show up in search, and leaves a clear description on the page when an image fails to load.

Ready when you are

See the prices