Alt text

Guide

Alt text (alternative text) is the text that appears instead of an image if the image fails to load in a web page.

It is important because it makes images more accessible to people and search engines by helping visually impaired readers understand what images show, while allowing search engines to better understand image content.

How to write alt text

  • Be specific and provide context when describing what is in the image
  • Keep alt text fewer than 125 characters
  • Do not start alt text with "Image of...". Jump right into the image's description
  • Be cautious about keywords - only include a targeted keyword if it's easily included in the alt text. Avoid keyword stuffing

What is a good alt text?

See example of bad vs. good alt text for the image below.

DSV Headquarters in Denmark featuring Modular Skylights

Bad alt text

alt="DSV office Denmark atrium roof windows VELUX Commercial daylight"

This alt text is bad as it is filled with keywords and fragmented phrases without clear context. 

Good alt text

alt="DSV Headquarters in Denmark featuring Modular Skylights"

This alt text is better as it describes more accurately what is shown in the image.