One thing comes to mind -
If you use a tabindex greater than 0 then you run the risk of disrupting the tab order.
Tabbing through the following example would navigate you from the first to the third back to the second, which in most cases isn't what you would want.
One thing comes to mind -
If you use a tabindex greater than 0 then you run the risk of disrupting the tab order.
Tabbing through the following example would navigate you from the first to the third back to the second, which in most cases isn't what you would want.
Keeping everything at 0 would ensure the order remains in a semantic order
Thank you Taylor.
That makes sense.
How about when a site is responsive, and you need to have a different tab indexes (as layout can change)?
If tabindex is set to 0 everywhere, tabbing might jump around depending on the layout...