Accessibility

ARIA roles and attributes that are not valid

One of the 156 checks Lala SEO runs on every page of a site in a free audit.

How serious
Worth fixing. Weakens how Google reads or shows the page. Fix after the serious ones.
Score
Reported, but it does not lower your site's score.
Based on
Industry standard: Google does not document this one, so the check follows established practice.

What is wrong

ARIA is a labelling system that helps screen reader software understand what interactive elements on your page do. When you use ARIA roles or attributes that do not exist in the official standard, screen readers either ignore them or misinterpret them, so a person using a screen reader gets confused or wrong information about what they can click or use.

Why it costs you

The concrete cost is that visitors relying on screen readers cannot understand parts of your site. They may skip important buttons or form fields, or they may click the wrong thing because they were told it does something different. This narrows your audience and may break the experience for people with disabilities.

How to fix it

Find the invalid ARIA code in your HTML and replace it with a valid role or attribute from the official ARIA standard. Common mistakes are typos in role names, or mixing up ARIA attributes with regular HTML attributes. If you are unsure whether a role name is correct, check the W3C ARIA authoring practices guide. The easiest fix is often to use semantic HTML elements—like `<button>`, `<nav>`, and `<main>`—instead of generic divs with ARIA roles, because these elements work with screen readers by default.

What the audit tests

  • Every role attribute names at least one real ARIA role (not a typo or an abstract role)
  • No element uses a retired ARIA role (directory, doc-biblioentry, doc-endnote)
  • Every aria- attribute is one that exists in WAI-ARIA, not a misspelling such as aria-labeledby
  • Every aria- state with a fixed set of values uses one of them (aria-expanded="yes" is not one)
  • The <body> element is not marked aria-hidden="true", which hides the whole page

Check your site

Run a free audit of up to 300 pages. No card needed.

Start a free audit

Other accessibility checks

All SEO checks