Explain it in 60 seconds
How tabindex works
Frontend Engineering · Accessibility · Intermediate
How does tabindex work, and what values should you use?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- tabindex="0": add to natural tab order.
- tabindex="-1": focusable by script only.
- Positive values: avoid (break order).
- Natural order follows DOM.
- Keep visual and DOM order aligned.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.