Language: EN

ARIA attributes not allowed on this element

Message shown by axe and Lighthouse: Elements must only use supported ARIA attributes · aria-allowed-attr · WCAG 4.1.2

What it means and why it matters

Unsupported ARIA attributes can break how controls are announced (WCAG 4.1.2).

How to fix it

Remove the attribute or use an element/role that supports it.

Code example

Before

<a href="/" aria-checked="true">Home</a>

After

<a href="/" aria-current="page">Home</a>

In our study

Share of online shop home pages on which axe-core automatically detected at least one failure of this rule. The number of shops is in brackets.

ARIA attributes not allowed on this element

CountryShops checkedWith this failure
Poland844 (5%)
Czechia866 (7%)
Slovakia945 (5%)
Croatia924 (4%)
Total, wave 135619 (5%)
Germany12320 (16%)
Austria977 (7%)
Total, wave 222027 (12%)
Netherlands1004 (4%)
Spain9410 (11%)
France1016 (6%)
Italy1019 (9%)
Total, wave 339629 (7%)

Where the fix usually lies (a general guide, not a measurement): theme code (theme components); third-party code and apps (cookie banners, carousels, chat and reviews).

Method, limits and all results: Online shop study.

Find this error on your website

Run a free check of any page — results in seconds, with fix instructions.

Check a page for free

All accessibility errors

Order a paid plan

Leave your email and we'll contact you as soon as the plan can be ordered.