Tabindex0
tabindex="0" is an HTML attribute value used to control how elements participate in keyboard focus. When applied to an element, tabindex="0" makes that element focusable and reachable through keyboard navigation. It enables non-interactive elements, such as divs or spans, to receive focus and be included in the tab sequence, in the order they appear in the document.
In terms of tab order, elements with a positive tabindex (tabindex > 0) are navigated first, in ascending
Common uses of tabindex="0" include enabling accessibility for custom interactive components and widgets that are not
Best practices emphasize using native HTML controls when possible, and applying tabindex="0" mainly for custom components