Fix link-name in Webflow
Webflow designers heavily rely on Link Blocks (.w-inline-block) containing only an SVG Embed, Lottie animation, or background-image div—which exports an empty <a> tag that fails link-name. Adding a Custom Attribute aria-label in Element Settings (or a .sr-only text span inside the Link Block) fixes the violation immediately.
Before and after
<!-- Broken Webflow exported Link Block containing only an SVG embed -->
<a href="https://linkedin.com/company/example" class="social-icon-link w-inline-block">
<div class="w-embed">
<svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M4.98 3.5C4.98 4.88 3.86 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.5 8h4V24h-4V8z" />
</svg>
</div>
</a><!-- Fixed Webflow Link Block (Custom Attribute: aria-label + aria-hidden on decorative SVG) -->
<a
href="https://linkedin.com/company/example"
aria-label="Follow Example Studio on LinkedIn"
rel="noopener noreferrer"
class="social-icon-link w-inline-block"
>
<div class="w-embed" aria-hidden="true">
<svg aria-hidden="true" focusable="false" width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
<path d="M4.98 3.5C4.98 4.88 3.86 6 2.5 6S0 4.88 0 3.5 1.12 1 2.5 1s2.48 1.12 2.48 2.5zM.5 8h4V24h-4V8z" />
</svg>
</div>
</a>Fixed vs. broken example
Open the VoiceOver Web Rotor (Control+Option+U) or NVDA Elements List (NVDA+F7) to confirm every icon anchor shows a clear destination label.
Playwright + axe-core check
import { test, expect } from "@playwright/test";
import AxeBuilder from "@axe-core/playwright";
test("Webflow Link Blocks and brand navbar links pass link-name", async ({ page }) => {
await page.goto("/");
const results = await new AxeBuilder({ page })
.withRules(["link-name"])
.analyze();
expect(results.violations).toEqual([]);
});Template deduplication tip
An unlabeled navbar logo Link Block or footer social Link Block inside a Webflow Component replicates across every page on your site. Updating the Component once resolves every URL in A11yDrift.
What NVDA and VoiceOver announce
Screen-reader users routinely pull up a rotor or links list to jump straight to destinations. Bare icon anchors, empty product-image wrappers, or unlabeled social links appear as meaningless raw URLs or blank entries.
NVDA (Windows)
"link, #social-demo" (raw href fragment read verbatim)
"View A11yDrift on GitHub, link"
VoiceOver (macOS / iOS)
"link" (or raw URL path)
"View A11yDrift on GitHub, link"
Common questions
How do I add aria-label to a Webflow Link Block in the Designer?
Can I bind a Webflow CMS field to a Link Block's aria-label?
Why does Webflow's default Navbar Brand link sometimes fail link-name?
Test a URL for link-name
Enter any public URL for a free WCAG 2.2 AA check—no account or credit card required.
Managing Webflow client sites? Monitor 15 sites on one flat plan with white-label portals and branded executive PDFs—$1,140/yr ($95/mo billed annually, 24-month rate lock + onboarding) for Founding 10 agencies.