Webflow sync, pageviews & more.
NEW

How can an Alt tag be added to an image in Webflow after uploading it?

TL;DR
  • Select the image, open the Settings panel (D), and enter a descriptive alt tag in the Alt Text field.
  • For CMS images, add a plain text field for alt text and bind it using the Image Settings panel.
  • Avoid using background images for meaningful content, as they don't support alt text.

To improve accessibility and SEO, you can add or edit an alt tag (alternative text) for any image in Webflow after it's uploaded.

1. Add Alt Text to an Image Element on the Canvas

  • Click the image in your Webflow Designer canvas.
  • In the Element Settings panel (shortcut: D) on the right, look for the Image Settings section.
  • Locate the Alt Text field.
  • Enter your descriptive alt text in that field. This text should describe the contents of the image succinctly.

2. Add Alt Text to Background Images (Alternative Approach)

  • Webflow does not support alt text for background images since they are part of CSS and not actual <img> elements.
  • For SEO and accessibility, avoid using background images for meaningful content. Use image elements with alt text instead.
  • If a background image is decorative, it's acceptable to leave it without alt text.

3. Add Alt Text to Images in a CMS Collection

  • Go to the CMS Collection that houses your image.
  • Ensure the image field includes a separate Plain Text field for alt text.
  • When pulling the image into a Collection List or Collection Page, you can bind the alt attribute to that plain text field using the Add field → Get alt text from... option in the Image Settings panel.

Summary

To add or edit an alt tag after uploading an image in Webflow, select the image, open the Settings panel, and enter your alt text in the Alt field. Avoid background images for content that needs alt text. Use CMS alt text bindings when working with dynamic content.

Rate this answer

Other Webflow Questions