Can I make list items tabable without assigning `tabindex` to each one?

39 Views Asked by At

I have a list of items that are (a) editable (b) moveable up / down with ctrl + shift + ArrowUp / ArrowDown. I need to be able to focus on individual <li> using tab or arrows.

Is there a way to make a list tabable without assigning tabindex to each item?

I wish to avoid having to change the tabindex value each time I reorder list.

0

There are 0 best solutions below