Skip to content

Error · aria-prohibited-attr

Labels on elements that can't have them

An aria-label was put on plain text or a container, where screen readers ignore it.

Who it leaves out: blind people (screen readers)

How to fix it

Move the label to the interactive element. Developer task.

In the code

Remove aria-label / aria-labelledby from this element (plain text, div, span without a role): screen readers ignore it there. Put the label on the interactive element instead.

Our scanner writes and tests this correction for you.

Does your site have this error?

Free check in about a minute, no account.

One more chance: free scan · no account

Related errors

Automated testing covers roughly half of WCAG criteria; a full conformance claim also requires manual review. Technical information, not legal advice.