ARIA attributes not allowed on this element
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
| Country | Shops checked | With this failure |
|---|---|---|
| Poland | 84 | 4 (5%) |
| Czechia | 86 | 6 (7%) |
| Slovakia | 94 | 5 (5%) |
| Croatia | 92 | 4 (4%) |
| Total, wave 1 | 356 | 19 (5%) |
| Germany | 123 | 20 (16%) |
| Austria | 97 | 7 (7%) |
| Total, wave 2 | 220 | 27 (12%) |
| Netherlands | 100 | 4 (4%) |
| Spain | 94 | 10 (11%) |
| France | 101 | 6 (6%) |
| Italy | 101 | 9 (9%) |
| Total, wave 3 | 396 | 29 (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.