Skip to content

Glossary / Alt text

Alt text

Definition

Alt text, short for alternative text, is a written description attached to an image in a page’s code. Screen readers read it aloud to visitors who can’t see the image, and it displays if the image fails to load.

Alt text exists first for accessibility. People who are blind or have low vision rely on it to understand what an image shows and why it’s there. Good alt text describes the image’s content and purpose in the context of the page.

Search engines also use alt text to understand images, which can help them appear in image search and give extra context to the page. That benefit comes naturally from accurate descriptions; stuffing keywords into alt text helps no one and reads badly for screen reader users.

Purely decorative images, such as background patterns or dividers, should have empty alt text so screen readers skip them. Images that contain important text, like a promotional banner, need that text in the alt attribute or elsewhere on the page.

Alt text: why it matters

Accessible websites serve more customers and reduce legal and reputational risk. Ontario has accessibility legislation for websites that applies to many organizations. Writing proper alt text is a simple, low-cost habit that improves usability for everyone and gives search engines clearer context.

Example

Consider a hypothetical Ottawa florist with a product photo. Alt text that reads “image1” or “flowers Ottawa florist best flowers” is unhelpful. “Hand-tied bouquet of white peonies and eucalyptus in a kraft paper wrap” tells a screen reader user exactly what the arrangement looks like.

How to write good alt text: a quick checklist

Start by asking what the image adds to the page. If it shows a product, describe the product. If it shows your team at a job site, say who and what is shown. If it is a chart, sum up the main takeaway in the alt text and explain the details in the page content. A sentence or a short phrase is usually enough.

Skip phrases like “image of” or “picture of”, because screen readers already announce that it is an image. Include any words that appear in the image itself. For an image that works as a link or button, describe where it goes or what it does: a logo that links to your homepage might read “Wealth Forge home” rather than “logo”.

In WordPress, you can add alt text in the Media Library or in the image block’s settings in the editor. Make it part of your publishing routine, the same as proofreading. Going back to fix hundreds of images later takes far longer than writing one line at upload time.

Alt text and accessibility rules for Ontario businesses

Under the Accessibility for Ontarians with Disabilities Act, designated public sector organizations and private or non-profit organizations with 50 or more employees in Ontario must make their public websites meet WCAG 2.0 Level AA, with a few exceptions. One of the first requirements in WCAG is that non-text content, such as images, has a text alternative. Federally regulated organizations also have obligations under the Accessible Canada Act. Even if you are below these thresholds, the same standard is a sensible target.

Bilingual sites often miss one detail: the French pages need French alt text. Some translation tools translate the visible text but leave image descriptions in English, which leaves French screen reader users with a mixed experience. Check a few French pages directly after any translation work. The same applies to image captions and file names that appear on the page.

To review your site, run a free accessibility checker over your key pages, or turn on the screen reader built into your phone or computer and listen to a page. It quickly shows where images are missing descriptions or have unhelpful ones like file names.

Related service: Web Design & Development.

Related terms

Glossary

Page speed

Glossary

Schema markup

Glossary

E-E-A-T

Complimentary consultation

Prefer to talk it through?

Book a 30-minute call. We’ll explain what matters for your business — and skip what doesn’t.

Call nowFree consultation