Webflow fix

Before and after

Broken — before
<!-- Broken Webflow exported HTML (CMS Image missing alt attribute) -->
<div class="w-dyn-item">
  <img
    src="https://cdn.example.com/65f1a2_case-study-hero.webp"
    loading="lazy"
    class="case-study-thumb"
  >
  <h3 class="card-title">Nordic Roasters Redesign</h3>
</div>
Fixed — after
<!-- Fixed Webflow HTML (Element Settings -> Alt Text bound to CMS 'Hero Alt Text' field) -->
<div class="w-dyn-item">
  <img
    src="https://cdn.example.com/65f1a2_case-study-hero.webp"
    alt="Nordic Roasters specialty coffee storefront displayed on desktop and mobile"
    loading="lazy"
    class="case-study-thumb"
  >
  <h3 class="card-title">Nordic Roasters Redesign</h3>
</div>
Live preview

Fixed vs. broken example

Passes image-alt
Accessibility tree: role="img", accessible name="Cobalt blue stoneware ceramic pour-over mug with matte handle"

Always provide meaningful alt text for informative photos and explicitly set alt="" (empty string) for purely decorative flourishes so screen readers skip them cleanly.

Automated test

Playwright + axe-core check

tests/a11y-image-alt.spec.ts
import { test, expect } from "@playwright/test";
import AxeBuilder from "@axe-core/playwright";

test("Webflow CMS collection cards and hero images pass image-alt", async ({ page }) => {
  await page.goto("/work");
  const results = await new AxeBuilder({ page })
    .withRules(["image-alt"])
    .analyze();
  expect(results.violations).toEqual([]);
});

Template deduplication tip

An unbound Image inside a Webflow Collection List item fails image-alt on every rendered CMS card and Collection Page (/blog/*, /projects/*). Fixing that single Webflow CMS Image binding resolves every item in one publish.

Screen readers

What NVDA and VoiceOver announce

When an informative image lacks an alt attribute, screen readers either skip it silently or read out raw CDN filenames and hashes, blocking blind shoppers and readers from understanding products, charts, and editorial photos.

NVDA (Windows)

Broken

"graphic, cdn_shop_files_IMG_8842_v1731942.webp" (or skipped silently depending on verbosity)


Fixed

"Cobalt blue stoneware ceramic pour-over mug with matte handle, graphic"

VoiceOver (macOS / iOS)

Broken

"IMG_8842_v1731942.webp, image"


Fixed

"Cobalt blue stoneware ceramic pour-over mug with matte handle, image"

Common questions

Where do I set alt text for CMS Collection images in Webflow?
Add a plain-text field (e.g., 'Thumbnail Alt Text') to your CMS Collection schema, then select the Image element inside the Collection List, open Element Settings, and bind Alt Text -> Get alt text from that field.
How do I mark decorative graphics in Webflow so axe-core passes?
Select the Image element, open Element Settings -> Alt Text, and choose 'Decorative'. Webflow outputs alt="" so screen readers skip the flourish without flagging image-alt.
Does setting alt text in Webflow's Asset Panel update every page automatically?
Only for static image instances configured to 'Use alt text from asset'. Instances overridden with custom alt text or bound to CMS fields must be checked individually in the Designer.