dexterouslogic / super-simple-highlighter

A chrome extension which highlights text on a web page, and attempts to restore it on returning
GNU General Public License v3.0
144 stars 55 forks source link

request: be able to `<tab>` through the highlighted parts of a page #4

Open domspad opened 8 years ago

domspad commented 8 years ago

This would enable easy browsing through multiple highlighted portions of a page when the page is rather long and has multiple highlights (e.g. code documentation)

This could be done by including a tabindex="1" attribute to the <span> tag when created

domspad commented 8 years ago

E.g. adding after this line

wrap.setAttribute("tabindex", "1");

technicalflaw commented 8 years ago

That's a great idea, and as long as it doesn't interfere with standard behaviour I guess I could add it on a per-highlight-style basis. It's definitely on the (increasing) TODO list