HumansNotBots – Easy, Accessible Email Cloaker
This email cloaking method: is accessible for people browsing with screen readers (e.g., blind people); degrades gracefully for browsers without JavaScript; works just like a normal, clickable email address for browsers with JavaScript enabled; and requires no shortcodes. Email addresses in the form
This email cloaking method:
- is accessible for people browsing with screen readers (e.g., blind people);
- degrades gracefully for browsers without JavaScript;
- works just like a normal, clickable email address for browsers with JavaScript enabled; and
- requires no shortcodes.
Email addresses in the form email AT address DOT com are converted to a clickable version, email@address.com , if JavaScript is enabled. If JavaScript is not enabled (such as for screen readers), then the email address in the form email AT address DOT com is still readable to humans.
Screenshots & previews.
Unzip the zip file into the /wp-content/plugins/ directory. Activate the plugin through the ‘Plugins’ menu in WordPress.
Frequently asked questions.
Won’t email scrapers figure out email addresses in the form `email AT address DOT com`?
In a test comparing the effectiveness of different obfuscation methods in 2008, the obfuscation method “Using ATs and DOTs” received much less spam than “Replacing @ and . with Entities”. Assuming that the 2008 test is an accurate model, this plugin should reduce over 99% of spam without compromising accessibility.
“CSS display: none” should not be used, because screen readers cannot read content styled with display: none either. Reversing email addresses and using ROT-13 encryption are obviously not accessible, either.