In Neova Funziona con la scansione stessa: niente da configurare.
Regola rivista il 17 ottobre 2026 · Guida aggiornata il 1º luglio 2026
Lo standard HTML richiede che ogni id sia univoco nel documento. Un id ripetuto può mandare i link ad ancora nel punto sbagliato e rompere gli script che cercano l'elemento.
Cosa potresti fare
Dai a ogni elemento un id proprio e aggiorna i link ad ancora, gli script e gli stili che lo usano.
Perché Neova lo segnala
Lo standard HTML richiede che ogni id sia unico nel documento.
Un id ripetuto può mandare i link di ancoraggio nel posto sbagliato e rompere script ed etichette che cercano l'elemento.
Le tecnologie assistive possono annunciare l'etichetta o la descrizione sbagliata quando gli id a cui puntano gli attributi ARIA sono ripetuti.
TL;DR: Any tabindex value of 1 or higher hijacks the keyboard tab order away from natural document order. It feels like a shortcut when you set it, then breaks the moment someone adds a new field or button. Stick to tabindex="0" and tabindex="-1", and fix the actual DOM order if focus feels wrong.
Issue Type
Accessibility / keyboard nav
WCAG Ref
2.4.3, technique F44
Detection
axe, Lighthouse, manual Tab test
Fix Effort
Low to medium
Who Feels It
Keyboard and screen reader users
What "High tabindex Values" Means
The tabindex attribute controls whether an element can receive keyboard focus and, if you use a positive integer, what order it gets focused in relative to everything else on the page. There are three real categories: tabindex="0" adds an element to the natural tab order at its position in the DOM, exactly where a native focusable element like a link or button would sit. tabindex="-1" makes an element programmatically focusable, for example so you can move focus to it with JavaScript, without putting it in the regular Tab key sequence at all. Anything tabindex="1" or higher pulls that element out of natural order entirely and forces the browser to visit it before any element with tabindex 0 or no tabindex, in ascending numeric order.
That third category is what this check flags. A developer sees a form where the visual layout does not match the source order, so they slap tabindex="1", tabindex="2", tabindex="3" on fields to force the tab sequence to match what they see on screen. It works, for that one form, on that one day. The moment someone inserts a new field between two numbered ones, or copies the pattern into a second form on the same page, the numbering collides or gaps out and the tab order turns into a mess that is often worse than doing nothing at all.
Why It Matters for Accessibility and, Indirectly, SEO
WCAG Success Criterion 2.4.3, Focus Order, requires that when a page can be navigated sequentially, the focus order preserves meaning and operability. Technique F44 in the WCAG 2.0 techniques documents this exact failure: using tabindex to force a tab order that does not match the logical, meaningful sequence of the content (source: W3C, WCAG20-TECHS/F44). Keyboard-only users, many screen reader users, and switch-device users rely entirely on a predictable tab order to operate a page. When positive tabindex values scramble that order, users get thrown to unrelated parts of the page mid-task, or worse, get stuck cycling through a small subset of elements while whole sections become unreachable in sequence.
This is not a direct Google ranking factor, but it sits inside the same bucket Google increasingly cares about at the page-experience level: is the page actually usable. I have also seen positive tabindex act as a proxy signal for a deeper structural problem, if the DOM order does not match the visual order badly enough that someone reached for tabindex hacks to fix it, that same mismatched order can also confuse how crawlers and AI parsers read the content sequence, not just how screen readers do. Fix the DOM, not just the tabindex, and you tend to clean up both problems at once.
How to Detect It
axe DevTools or axe-core: the "elements should not have tabindex greater than zero" rule catches this directly, flags the exact node and value.
Lighthouse accessibility audit: Chrome DevTools surfaces the same rule under its Accessibility category, good for a quick per-page check.
Screaming Frog: custom search for the regex pattern matching tabindex=["'][1-9] across a full site crawl, this is the only practical way to find every offending template or component at scale rather than page by page.
Manual keyboard test: unplug the mouse, mentally, and Tab through the page from the top. If focus jumps somewhere unexpected, or skips visible interactive elements, you likely have a positive tabindex or a genuinely broken DOM order.
Sitebulb: its accessibility hints module flags tabindex anomalies alongside other keyboard-navigation issues in the same crawl report, useful if you are already running Sitebulb for other technical audits.
Positive tabindex: forced, brittle ordertabindex=3tabindex=1tabindex=2?!Tab order jumps: 2nd field, then 1st, then 3rdtabindex 0 / natural order: predictableField AField BField C
How to Fix It, Step by Step
Find every positive tabindex on the site using the Screaming Frog custom search regex above, and log the source template or component for each hit.
Remove the numeric value. For elements that are natively focusable (links, buttons, inputs), you usually need nothing at all, they already sit in the tab order at their DOM position.
If the tab order still feels wrong after removing the tabindex hack, that means the DOM order itself does not match the visual order. Fix the actual source order of the elements, or restructure the layout with CSS (flexbox or grid order properties change visual position without touching DOM or focus order) instead of reaching for tabindex again.
For custom interactive widgets, non-native elements you have made clickable with JavaScript, use tabindex="0" to add them to natural tab order at their DOM position, then also make sure they respond to Enter and Space keys, not just Tab.
Use tabindex="-1" only for elements you want to move focus to programmatically (a modal heading after it opens, an error summary after a failed form submit), never as a substitute for 0.
Re-test with an actual Tab-key walkthrough after the fix, plus re-run axe to confirm zero positive tabindex values remain sitewide.
Value
Behavior
When to Use It
tabindex="-1"
Focusable via script only, skipped by Tab key
Moving focus programmatically, e.g. to a modal or error summary
No tabindex, native element
Naturally focusable at DOM position
Links, buttons, inputs, selects, textareas
tabindex="0"
Added to natural tab order at DOM position
Custom widgets that need to be keyboard focusable
tabindex="1" or higher
Forces a fixed order ahead of everything else
Essentially never, this is the pattern to remove
DO
Use tabindex="0" for custom interactive elements
Use tabindex="-1" for programmatic focus targets only
Fix DOM order or use CSS layout properties instead of forcing tab order
Test with an actual keyboard, not just automated scanners
Add matching Enter/Space key handling to any custom widget you make focusable
DON'T
Use tabindex values of 1 or higher to force order
Assume the fix scales, it breaks the moment content changes
Rely on automated tools alone, some ambiguous cases need a manual pass
Make a div "clickable" without also giving it tabindex 0 and keyboard handlers
Copy a numbered tabindex pattern into a second form on the same page
What Good Tab Order Looks Like
Nobody on the team ever needs to write a number higher than zero into a tabindex attribute. Custom widgets get tabindex="0" plus proper key handling, focus-management targets get tabindex="-1", and everything else just works because native elements are focusable by default and the DOM order actually matches the visual and logical order of the page. Tabbing through any page top to bottom follows the same path a sighted mouse user would follow reading top to bottom, left to right, with no surprise jumps and no dead ends.
FAQIs tabindex="0" Ever Wrong to Use?
It is wrong on elements that are already natively focusable, like links and buttons, since it is redundant there. It is right on custom, non-native widgets like a div acting as a button, where you need to explicitly add it to the tab order.
Why Does a Positive tabindex "Break" Over Time If It Worked When I Wrote It?
Because it hardcodes a sequence number instead of describing a relationship. Any new field, button, or component added later either needs a manually renumbered tabindex sequence too, or it collides with existing numbers and creates gaps or duplicates, which most teams simply forget to maintain.
My Visual Layout Does Not Match My DOM Order, What Should I Use Instead of tabindex?
Reorder the DOM to match logical reading order, then use CSS Grid or Flexbox order properties to control visual position independently. That way visual layout and keyboard order can differ intentionally without one hacking around the other.
Does This Affect Screen Reader Users the Same Way as Keyboard-Only Users?
Mostly yes for screen reader users navigating linearly with Tab, though many also browse by headings or landmarks and are less exposed to a scrambled tab order in those modes. Keyboard-only sighted users and switch-device users are the most consistently affected since Tab is often their primary navigation method.
Will Fixing This Show up in Lighthouse's Accessibility Score?
Yes, the tabindex-greater-than-zero rule is part of Lighthouse's automated accessibility audit, so removing positive values will resolve that specific flag. It is one rule among many though, do not treat a clean Lighthouse score as proof the whole page is accessible.
Want a full keyboard-navigation and accessibility pass, not just this one check? Our covers tab order, focus management, and the crawlability issues that often share the same root cause.
Trovalo sul tuo sito
Neova esegue questo controllo e tutti gli altri a ogni scansione, poi scrive la correzione come ticket per il tuo team.
App desktop per Mac, Windows e Linux
Tutti i 696 controlli, ognuno con la sua fonte
Search Console e Analytics 4, collegati in sola lettura
Ticket verso Jira, Linear e Asana
Scarica NeovaPiano Desktop Free, oppure Solo gratis per 14 giorni, senza carta.