News for hackers. Stuff that matters.
Re:Highlighter.js by robgibbons on Saturday August 01, 2015 @01:47PM (#9987909)
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.
Re:Highlighter.js by 720kb on Saturday August 01, 2015 @01:55PM (#9987941)
hi, 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.