Skip to content

MediumConceptAccessibility, testing and tooling

Why is tabindex greater than zero discouraged?

What a good answer covers

It overrides the natural tab order, creating a confusing, hard-to-maintain sequence. Use 0 to make an element focusable in order and -1 for programmatic focus only.

More on Accessibility, testing and tooling

Flashcards for this topic