Alt attribute in <noscript> image (Full Version)

All Forums >> [Web Development] >> Accessibility



Message


womble -> Alt attribute in <noscript> image (9/7/2005 19:21:30)

I'm not sure if this properly belongs here or not, but here goes...

In various places on my site I've got email addresses either obfuscated or generated by js. On the js ones I'm putting in <noscript> with an image of the address. Of course using xhtml strict, and wanting to be accessible, I kind of thought that the email address should go in the alt attribute, but, does that defeat the object of using js in the first place? Can the harvesters still get at it if it's in the alt alttribute? Or am I making life too complicated?




dpf -> RE: Alt attribute in <noscript> image (9/7/2005 19:49:56)

quote:

Can the harvesters still get at it if it's in the alt alttribute?
yes they can




womble -> RE: Alt attribute in <noscript> image (9/7/2005 19:55:48)

Just what I feared. I'll sleep on it...




dpf -> RE: Alt attribute in <noscript> image (9/7/2005 20:49:06)

quote:

I'll sleep on it...
<pillow> </pillow><nopillow></nopillow>




jaybee -> RE: Alt attribute in <noscript> image (9/8/2005 2:42:41)

[sm=rotfl.gif]




womble -> RE: Alt attribute in <noscript> image (9/8/2005 7:47:51)

B******r! Fixed the <noscript>, now I can't get the <nopillow> to validate! [:D]

Anyway, on the subject of the <noscript> (once I got the pillows comfy) I did consider obfuscating the alt text as well, but that kind of invalidates the idea of using the js to generate the address in the first place, wanting to save a few precious bytes and not make the code look untidy, so I've decided to use a link to the contact page of the site where there's an email form. Image'll show for just plain js disabled, and the link will make sense to screen readers etc.




jaybee -> RE: Alt attribute in <noscript> image (9/8/2005 9:34:01)

quote:

obfuscating


Don't do that, you'll get arrested!




womble -> RE: Alt attribute in <noscript> image (9/8/2005 16:10:17)

[sm=lol.gif]




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875