News for hackers. Stuff that matters.
Re:Best Practices for Form Design (2008) [pdf] by egeozcan on Monday August 15, 2022 @12:54PM (#32472158)
> 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_att...

There are no comments on this comment yet.