Skip to content
Accessibility·Beginner·Conceptual·1 min read

What does tabindex=-1 do?

Short interview answer

It removes an element from sequential Tab navigation while still allowing programmatic focus, useful for headings, error summaries, and managed composite items.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Keyboard and focus management

Related questions