In short
The role attribute only accepts defined ARIA roles. Typos (role="buton"), invented roles (role="slider-wrap") and old abstract roles fail, and assistive technology ignores them. Fix the spelling, use a real role, or remove the attribute. Weight 10.
This guide isn't affiliated with or endorsed by Google.
Related issues
Sources and references
Chrome for Developers, Lighthouse accessibility score
MDN, WAI-ARIA roles

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.
![[role] Values Are Not Valid (PageSpeed Insights)](/uploads/pagespeed-aria-roles-cover.webp)


