← All analysers · Multi-model analysers

FocusOrderConflictAnalyzer

Detects chaotic tabindex patterns across the page (positive values, gaps).

What it detects

Positive `tabindex` values override DOM-order focus and are notoriously fragile across page changes. This analyser examines the global tabindex picture across the DocumentModel and reports patterns that confuse keyboard users — positive values mixed with zero, gaps in the sequence, focus traps that aren't intentional.

WCAG criteria

  • 2.4.3Focus Order

Source

analyzers/FocusOrderConflictAnalyzer.ts

More