Skip to main content

Invalid ARIA roles

aria-roles

Some elements declare a role that is not a real one, so assistive software ignores or misreads them.

Who this affects

Screen reader users.

Fix it in WordPress

Check custom HTML blocks and any hand-written markup in theme templates.

What the fix is, technically

Use only roles from the ARIA specification, and check the spelling.

Does your site have this problem?

Scan any page free and find out in about fifteen seconds. No signup, and nothing about your site is stored.

Check my page

Other common failures