You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the proliferation of Flexbox and Grid layout, it is imperative, accessibility wise, to be able to control tab order via CSS.
We already have a property that does this - nav-index - that died an untimely death and is only supported by Opera (as far as I know) right now.
Currently tabindex attribute is completely inadequte to handle responsive layout, and the if you need one element to be the first in tab order, you cannot do it because the default tabindex is 0, and any negative value makes the element inaccessible.
And the alternative of assigning a tabindex for every other focusable element on the page is a ridiculous proposition.
Having nav-index also enable focus trapping with pure CSS:
With the proliferation of Flexbox and Grid layout, it is imperative, accessibility wise, to be able to control tab order via CSS.
We already have a property that does this - nav-index - that died an untimely death and is only supported by Opera (as far as I know) right now.
Currently tabindex attribute is completely inadequte to handle responsive layout, and the if you need one element to be the first in tab order, you cannot do it because the default tabindex is 0, and any negative value makes the element inaccessible.
And the alternative of assigning a tabindex for every other focusable element on the page is a ridiculous proposition.
Having nav-index also enable focus trapping with pure CSS:
The text was updated successfully, but these errors were encountered: