In short
Some roles can't work without certain attributes. A role="checkbox" needs aria-checked; a role="slider" needs aria-valuenow; a role="heading" needs aria-level. PageSpeed flags elements missing them. Add the required attribute and keep it updated with script, or use the native element (<input type="checkbox">, <input type="range">, <h2>). 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]s Do Not Have All Required [aria-*] Attributes (PageSpeed Insights)](/uploads/pagespeed-aria-required-attr-cover.webp)


