text spacing bookmarklet

Quick and dirty testing of WCAG 2.1 Success Criterion 1.4.12 Text Spacing.

Experimental:use at own risk!

Bookmarklet: Text Spacing (drag to bookmarklets bar or right click and save as bookmark)

Edit this on codepen

Last updated 7 October 2020. Now works on content inside same-origin first level iframes - i.e. it doesn't then work if there's an iframe inside another iframe. Thanks to Patrick H. Lauke and Jon Gibbins