3 ms·
> Use the tabindex attribute to control tabbing order In the meanwhile, the industry decided that the tabIndex has more cons than pros and should be avoided ex
by egeozcan 4y ago
> Use the tabindex attribute to control tabbing order
In the meanwhile, the industry decided that the tabIndex has more cons than pros and should be avoided except for the value 0, for normally non-focusable targets to make them focusable and -1 for vice versa. MDN states:
> Warning: Avoid using tabindex values greater than 0. Doing so makes it difficult for people who rely on assistive technology to navigate and operate page content. Instead, write the document with the elements in a logical sequence.
See https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/tabindex https://developer.mozilla.org/en-US/docs/Web/HTML/Global_att...