[WSG] Apply ALT tag to background image?

2008-03-24 Thread Kristine Cummins
I've got a background graphic designated in my style sheet - is there a way to apply an alt and/or title tag to that or would I need to just not make it a background image? My intuition is the latter - but just if there is a slight chance..

Re: [WSG] Apply ALT tag to background image?

2008-03-24 Thread Max A. Shpack
No, there is no way to apply ALT to the background images, only for IMG tags. Max. 2008/3/24, Kristine Cummins [EMAIL PROTECTED]: I've got a background graphic designated in my style sheet – is there a way to apply an alt and/or title tag to that or would I need to just not make it a

Re: [WSG] Apply ALT tag to background image?

2008-03-24 Thread Thomas Thomassen
. - Original Message - From: Kristine Cummins To: wsg@webstandardsgroup.org Sent: Monday, March 24, 2008 12:22 PM Subject: [WSG] Apply ALT tag to background image? I've got a background graphic designated in my style sheet - is there a way to apply an alt and/or title tag

Re: [WSG] Apply ALT tag to background image?

2008-03-24 Thread Keryx Web
Kristine Cummins skrev: I’ve got a background graphic designated in my style sheet Backgrounds are decorative and do not need alt *attributes*. Therefore CSS does not have a way of providing alternate text. If it is part of the content and should be seen by search engine bots and screen

RE: [WSG] Apply ALT tag to background image?

2008-03-24 Thread Thierry Koblentz
You can only apply the alt attribute to img elements. 13.8 How to specify alternate text [1] The alt attribute must be specified for the IMG and AREA elements. It is optional for the INPUT and APPLET elements. http://www.w3.org/TR/html401/struct/objects.html#h-13.8 -- Regards, Thierry |

Re: [WSG] Apply ALT tag to background image?

2008-03-24 Thread Stuart Foulstone
Hi, If it's a CSS background image then it's not content and doesn't have an alt attribute. (The non-preferred alternative is to to put it in an img tag with alt=) If it IS content, it should be in an image tag rather than CSS background image, with the alt attribute describing the content of