The function of the tabindex

Hello friends.
tabindex What does this attribute do?

Thank you for reading

If determines in which order elements will be highlighted when using the “tab”-key.
It’s for websites or at least elements to be navigates by keyboard only without using the mouse.

1 Like

In addition to Jagayas answer: defining a sensible order of elements on your webpage will allow users to quickly “tab” through your forms elements. This enhances overall user friendliness and reduces barriers for people with disabilites, e. g. for persons who cannot easily use a mouse.

1 Like