Closed fhammerschmidt closed 4 years ago
According to MDN, to make non-interactive elements (like div, span or li) tab-able, one needs to set tabindex=0 on such an element.
div
span
li
tabindex=0
https://developer.mozilla.org/en-US/docs/Web/Accessibility/Keyboard-navigable_JavaScript_widgets
awesome thanks!
According to MDN, to make non-interactive elements (like
div
,span
orli
) tab-able, one needs to settabindex=0
on such an element.https://developer.mozilla.org/en-US/docs/Web/Accessibility/Keyboard-navigable_JavaScript_widgets