Spacer images are not accessible at all,. <img> elements represent content, not pointless space-takers.
--------------------------------------------------- Keri Henare [e] [email protected] [m] 021 874 552 [w] www.kerihenare.com On 16/05/2009, at 6:28 AM, Michael Adams wrote: > > On Fri, 15 May 2009 23:20:55 +1200 > Came this utterance formulated by Michael to my mailbox: > >> >> On Fri, 15 May 2009 23:14:27 Sid Bachtiar wrote: >>> I think it means you should not have empty alt ... like alt="". >> >> Could be. I thought it was referring to the product images. I took >> the >> word 'spacer' out of the alt tag for the spacer images (and left the >> alt tag blank), because it complained about that too. >> > > 1. Background images in CSS do not need ALT attributes (ALT is not a > tag). > > Your spacer images should have empty ALT attributes. > > http://www.w3.org/TR/WCAG10/#gl-provide-equivalents > http://www.w3.org/QA/Tips/altAttribute > > http://diveintoaccessibility.org/day_21_ignoring_spacer_images.html > > > -- > Michael > > All shall be well, and all shall be well, and all manner of things > shall > be well > > - Julian of Norwich 1342 - 1416 > > > --------------------------------------------------- Keri Henare [e] [email protected] [m] 021 874 552 [w] www.kerihenare.com --~--~---------~--~----~------------~-------~--~----~ NZ PHP Users Group: http://groups.google.com/group/nzphpug To post, send email to [email protected] To unsubscribe, send email to [email protected] -~----------~----~----~----~------~----~------~--~---
