How to Control Tab Order in HTML

Accessibility Tip:




Tabindex assignments are handled the following way:
  • Positive numbers (1,2,3...32767) are handled in tab order.
  • 0 is handled in source order (the order it appears in the DOM)
  • -1 is ignored during tabbing
The following elements support the tabindex attribute:
A,  AREA, BUTTON, INPUT, OBJECT, SELECT, and TEXT AREA

Comments

carthworks said…
Thanks a lot.That was great.