3 ms·
You could add a tabindex to each element in your filtered set. Then you could have :focus as your highlight selector, and it would give you keyboard accessibili
by robgibbons 11y ago
You could add a tabindex to each element in your filtered set. Then you could have :focus as your highlight selector, and it would give you keyboard accessibility for free.
- 720kb 11y agohi, for the keyboard we would prefer to not touch or change the DOM elements other than the outline css rule. You could end up having various problems adding tabindex, many people use tabindex attribute.