UU-sjekken

Fix guides

How to fix: images made with role="img" without text

WCAG 2.2 success criterion 1.1.1 (level A)

Why it matters

Icons and CSS images marked role="img" are announced without meaning.

How to fix

Add aria-label, or aria-hidden="true" if decorative.

<span role="img" aria-label="Rated 4 of 5">★★★★☆</span>

Test it yourself

Common mistakes

Check your own site

Find this and other problems on your website in 30 seconds, free.