MediumWCAG 2.1.1 · Level AOperable
Hardcoded Positive Tabindex
Detects element declarations with positive tabindex attributes (tabindex > 0). Hardcoding positive tabindex values disrupts natural top-down tabbing flow.
Rule ID: custom-tabindex-improper · reported under Needs review, because a person should confirm it.
Who this affects
Keyboard and switch users, and many screen-reader users, cannot reach or use the control.
WCAG 2.1.1 Keyboard: read the W3C explanation of Keyboard
How to fix it
Problem
<a href="/pricing" tabindex="3">Pricing</a>Fixed
<a href="/pricing">Pricing</a>These are short examples. In the extension, A11yEngine points to the element on your own page and can suggest a fix for your code (HTML, React, Vue or Tailwind).
Find this on your own pages
Check any page for this and 100+ other issues in your browser, free.