www.webdeveloper.com
Results 1 to 3 of 3

Thread: required attribute "ALT" not specified !!!?????

  1. #1
    Join Date
    Aug 2012
    Posts
    21

    required attribute "ALT" not specified !!!?????

    is this ALT="something_here" tag neccessary (its just a simple img on a page? ha.

    in validation it says its an error!

  2. #2
    Join Date
    Sep 2006
    Location
    new york
    Posts
    254

    yes

    See for instance http://www.w3schools.com/tags/att_img_alt.asp
    The required alt attribute specifies an alternate text for an image, if the image cannot be displayed.

    The alt attribute provides alternative information for an image if a user for some reason cannot view it (because of slow connection, an error in the src attribute, or if the user uses a screen reader).

    Note: Internet Explorer (prior version 9) displays the value of the alt attribute as a tooltip, when mousing over the image. This is NOT the correct behavior, according to the HTML specification.

    Tip: To create a tooltip for an image, use the title attribute!

  3. #3
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles