Accessibility · Images and media
Role img without alternate text
A rating on this page is marked role="img" but has no aria-label, so screen readers cannot say what the stars mean.
How this page is built
The stars below are a span with role="img". That role hides the characters inside, so the element needs a label, and it has none.
★★★☆☆
Why it matters
The img role groups content into a single image. Because the content inside is hidden, the element must have a name from aria-label or aria-labelledby. Without it, screen readers announce “image” and nothing more.
Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.
How to check it
Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule role-img-alt.
How to fix it
Add an aria-label that conveys the meaning, such as aria-label="Rated 3 out of 5".