SVG graphics have no accessible name

Automated check svg-img-alt, run with axe-core

WCAG
1.1.1 Non-text Content (Level A)
Severity
Serious: completable, but painful
Typical effort
Quick win, under 1 hour
Category
Content

Who this affects

Screen reader users. Inline SVG icons are extremely common in modern sites and are silent by default.

Why it matters

Icon-only buttons built from inline SVG are announced as nothing at all, so a user cannot tell what the control does.

How to fix it

Give the <svg> role="img" and a <title> child element, or an aria-label. Decorative SVGs should carry aria-hidden="true".

Check your own website

The free scan tests 3 pages against WCAG 2.2 A and AA in about 30 seconds. No sign-up.

Scan my website — free

Related checks: Content

All checks