Accy

Positive tabindex value

WCAG 2.4.3 (A) · EN 301 549 9.2.4.3

Some elements use tabindex="{value}".

Why it matters

A positive tabindex pulls the element out of its natural place in the tab order and puts it ahead of everything else. Focus then jumps around the page in an order that does not match what is on screen, and it becomes unmaintainable as the page grows.

How to fix it

Use tabindex="0" to make an element focusable, or tabindex="-1" to focus it programmatically. If the order is wrong, change the order of the HTML.

Does your shop have this failure?

Check for free, along with the other 54 rules. No sign-up.

No sign-up. We scan one public page and store nothing about you.