Accessibility · ARIA
ARIA attribute not allowed on the element
A paragraph on this page has aria-checked="true". The paragraph role does not support aria-checked, so the attribute is invalid and ignored.
How this page is built
The paragraph below carries aria-checked="true". Only roles such as checkbox, radio and switch support that attribute.
This paragraph claims to be checked, but a paragraph cannot be checked.
Why it matters
Each ARIA role supports a fixed set of attributes. An attribute on the wrong element is ignored by some assistive technology and misreported by others, so users hear a state that makes no sense, or miss one they need.
This often happens when markup is copied from a custom control onto a plain element.
Accessibility problems matter for search too. Search engines read the same code that screen readers read. Many crawl tools now run accessibility checks next to their SEO checks. A page that works for everyone is easier to use, and people stay on it for longer.
How to check it
Run an automated checker such as axe DevTools, Lighthouse or WAVE, or a crawler with accessibility checks, on this page. axe reports this under the rule aria-allowed-attr.
How to fix it
Remove the attribute, or give the element a role that supports it. If the element really is a checkbox, a native <input type="checkbox"> is the most robust choice.