Hello list. This is what I use in my Smarty templates: <a href="mailto:{ #email#|escape:"hex" }"> { #email#|escape:"hexentity" } </a>
With this, [EMAIL PROTECTED] becomes: <a href="mailto:%6d%65%40%6d%65%2e%63%6f%6d"> me@me.com </a> It's not foolproof, but my customers are generally happy with the result. This other trick I haven't tried yet, but sure sounds good to me: http://www.htaccesselite.com/htaccess/use-htaccess-to-hide-mailto-links-vt181.html I posted about this on the WebAIM list back in February and nobody seems to have found objections to it, accessibility-wise. djn Rick Lecoat wrote: > can anyone tell me what is the best accessible way (if any) of encoding > a mailto: link? I want to make the email addresses on a site usable to > screen reader users, but don't want them harvested by spambots. > -- ----------------------------------------- Dejan Kozina Web design studio Dolina 346 (TS) - I-34018 Italy tel./fax: +39 040 228 436 - cell.: +39 348 7355 225 skype: dejankozina http://www.kozina.com/ - e-mail: [EMAIL PROTECTED] ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: [EMAIL PROTECTED] *******************************************************************