When dealing with an element focusing, tabindex has a big role. This attribute indicates if the element can be focusable and reachable with the keyboard navigation. When pressing the Tab key, the browser shifts focus from one element to another. By using tabindex, we can change the tab order flow.