Note: While our most popular guides have been translated into Spanish, some guides are only available in English.
Adding alt text to images

Alt text is text associated with an image that some browsers display instead of the image. Search engines use it to identify the content of a page. Adding alt text to images is a great way to give your site an SEO boost and make it more accessible.

Alt text is also helpful for assistive screen readers or browsers with images disabled. If a browser can't display the image, the alt text will display instead. For all these reasons, when you add alt text, use short, readable terms that describe the image and relate to your site content.

You can add alt text to images directly in these areas:

In these image areas, the title of the item usually serves as alt text:

In these image areas, file names usually serve as alt text:

Note: If you don't manually add alt text to an image, the image's file name will usually serve as alt text.

Watch a video 

Alt text best practices

When writing alt text, remember that you're writing for humans who use assistive screen readers or who've disabled images in their browser. Keep in mind:

  • Be descriptive and helpful. How would you describe this image to someone who couldn't see it?
  • Keep the text short, typically twelve words or fewer.
  • Optimize your text for search by incorporating keywords, without "keyword-stuffing."
  • Write in real sentences; don't use hyphens to separate words.
  • You can omit words like "the" and "a," and terms like "photo" or "picture." For example, instead of a picture of a green vase, use green vase.

Image Block

How you add alt text to an Image Block depends on the layout.

Inline layout

Captions added in the Inline layout automatically become alt text for the image.

If your image is set to the Inline layout, and you want to add alt text but not display a caption:

  1. Add the caption text.
  2. Select Do Not Display Caption.
Note: In lightboxes, captions always display.

do-not-display-caption.jpg

All other layouts

For all other layouts (Poster, Card, Overlap, Collage, and Stack), the captions don't become alt text, but you can add it by switching temporarily to the Inline layout:

  1. Double click the Image Block to open the image editor.
  2. Click the Design tab.
  3. Choose the Inline layout (for blocks on Layout Pages only).
  4. Ensure the caption is set to Caption Below.
  5. Click Write here below the image to add your alt text.
  6. In the image editor, switch back to your preferred layout.
  7. Click Save.

You can add and edit the two text fields for the Image Block without disrupting the alt text. To adjust the alt text, switch temporarily back to the Inline layout.

Gallery Page image

To add alt text to an image in a Gallery Page:

  1. Click the Gallery Page in the Pages panel.
  2. Find the image to edit, hover over it, and click .

  1. Add alt text in the Image Title box. If you don't add an image title, text in the description box becomes alt text.
  2. Click Save.

Gallery Block image

To add alt text to an image in a Gallery Block:

  1. Double-click the Gallery Block or click Edit.
  2. Find the image to edit, hover over it, and click .
  3. Add alt text to the Image Title box. If you don't add an image title, text in the description box becomes alt text.
  4. Click Save.

gallery_block_image_title.jpg

Product image

To add alt text to a product image on the Product Page:

  1. Hover over the product and click Edit.
  2. Find the image to edit, hover over it, and click .
  3. Add alt text to the Image Title field. If you don't add an image title, the product title becomes alt text.
  4. Click Save.

Cover Page image

To add alt text to a Cover Page image:

  1. In the Cover Page menu, click the Media panel.
  2. Hover over the image and click .
  3. Add alt text to the Enter alt text… field.
  4. Click Save.

Blog post and event thumbnails

The title of a blog post or event serves as the alt text for the post or event thumbnail. For Event Pages, this is the same on both list and calendar layouts.

Page thumbnail image

File names serve as alt text for page thumbnail images. Ensure that you name all thumbnail images as you want them to appear before uploading them.

Image file names

An image's name acts as alt text if there isn't any other alt text provided.

To change the filename for most images, re-upload the image with the new name. For Image Blocks, open the image editor and update the Filename field in the Content tab.

Tip: Only use letters, numbers, underscores, and hyphens in file names.

image-name.png

Next steps

Was this article helpful?
95 out of 154 found this helpful