I’ve been experimenting with something quite similar for my work with accessibility checks. This technique works great on detecting other problems as well, like missing alt on image maps and image buttons. Or i suppose for having a failsafe on your code to see if you have a lang on your html.
On the accessibility check i also use it to detect handlers, missing titles on frames, javascript in the href and embedded objects. Something I also find helpful is to have it behind a body:hover so you can see it without all the outlines.
I’ve been experimenting with something quite similar for my work with accessibility checks. This technique works great on detecting other problems as well, like missing alt on image maps and image buttons. Or i suppose for having a failsafe on your code to see if you have a lang on your html.
On the accessibility check i also use it to detect handlers, missing titles on frames, javascript in the href and embedded objects. Something I also find helpful is to have it behind a body:hover so you can see it without all the outlines.