In short
Each ARIA attribute accepts specific values. aria-expanded takes true or false, not yes; aria-controls and aria-labelledby must point to IDs that exist on the page. PageSpeed flags invalid values. Correct them, and make sure scripts that toggle menus set true/false. Weight 10.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Lighthouse accessibility score
MDN, aria-expanded

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.
![[aria-*] Attributes Do Not Have Valid Values (PageSpeed Insights)](/uploads/pagespeed-aria-valid-attr-value-cover.webp)


