On 5/9/05, Parker Torrence <[EMAIL PROTECTED]> wrote:
> > But *please*, for the love of accesibility, make sure the images have
> > meaningful alt attribute set...
> 
> How does one set an alt attribute for a background image?

One doesn't. However, one might set the alt attribute of the <button>.

"Buttons created with the BUTTON element function just like buttons
created with the INPUT element, but they offer richer rendering
possibilities: the BUTTON element may have content. For example, a
BUTTON element that contains an image functions like and may resemble
an INPUT element whose type is set to "image", but the BUTTON element
type allows content.
...
Recall that authors must provide alternate text for an IMG element."
  http://www.w3.org/TR/REC-html40/interact/forms.html#h-17.5

- Ben
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to