Skip to content
Nazmul Nikhil
Menu

ARIA IDs Are Not Unique (PageSpeed Insights)

PageSpeed flags duplicate IDs that ARIA attributes point to, so labels attach to the wrong element. Here's how to find and fix them.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
ARIA IDs Are Not Unique (PageSpeed Insights)
Photo: Artem Beliaikin on Unsplash

In short

Attributes like aria-labelledby and aria-describedby point to IDs. If two elements share that ID, the label may attach to the wrong one. This happens when a component (a form, a card) is repeated on the page with hard-coded IDs. Make IDs unique, for example by adding an index or a generated suffix. Weight 10.

WordPress and page builders: duplicate forms or widgets on one page often repeat IDs; check plugin settings for unique IDs. Custom builds: generate IDs (React's useId() and similar).

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsAria ids are not uniqueDuplicate-id-ariaDuplicate id accessibility
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com