WebAIM - Web Accessibility In Mind

E-mail List Archives

RE: Anti-spam email links in Javascript

for

From: Mike Stenhouse
Date: Apr 8, 2004 12:13PM


Hi Mike

<snip>
The page is produced by JSP, so I can write whatever HTML / Javascript I
like, but I can't see how to get around the problem that a browser which
does not have Javascript enabled will not be able to display the email
address. Is it acceptable to use a <no-script> tag to say something
like: "email address obscured due to spam" ?
</snip>

I think you can do this without resorting to javascript. Check out
entity encoding at
http://www.robertgraham.com/tools/mailtoencoder.html... I'm not exactly
sure where this stands with all the browsers but it might be worth a
little research before risking a <noscript>.

Cheers

Mike
Web developer/designer
www.donotremove.co.uk



----
To subscribe, unsubscribe, suspend, or view list archives,
visit http://www.webaim.org/discussion/