www.webdeveloper.com
Results 1 to 10 of 10

Thread: <alt> tag alternative for Netscape?

  1. #1
    Join Date
    Jul 2003
    Location
    UK
    Posts
    66

    <alt> tag alternative for Netscape?

    Hiya,
    This is probably a very basic question, but in the name of accessibility I was wondering whether there was an alternative to <alt> tags for Netscape, as it doesn't seem to support them?

    thanks loads,
    Cate

    Ps. Have just created my first page without using tables for layout!! only <div> and css, yay!

  2. #2
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    There is no alt tag the w3 specs. (all elements).
    What's it meant to do? I'm sure there's a standards compliant alternative.

  3. #3
    Join Date
    Mar 2005
    Location
    Washington, USA
    Posts
    379
    Do you mean <img src="lalala" alt="image" />?

  4. #4
    Join Date
    Jul 2003
    Location
    UK
    Posts
    66
    yes, that's the one! I have an image map, which when you hover over the links in IE gives the names of the links. I was wondering whether there is a way of doing that in Netscape? Or if in actual fact I need to do it as I have placed standard text links at the bottom of the page..?
    thanks,
    Cate

  5. #5
    Join Date
    Aug 2004
    Location
    Switzerland
    Posts
    1,101
    Something you can do in that case, is give the a element a title.
    like :
    HTML Code:
    <a href="mypage.htm" title="Somewhere"><img src="yourimage.gif" /></a>
    But, I'm not even sure the title attribute is supported in netscape either...

  6. #6
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Use the title attribute for the tooltips. The alt attribute should only be seen as text in an empty image box when the image is not available. IE does not do it to W3C recommendations

  7. #7
    Join Date
    May 2003
    Location
    Andover, UK
    Posts
    410
    "IE does not do it to W3C recommendations" - nothing new there then.

  8. #8
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    alt= what to display in place of the image if the browser can't display the image
    title= what to display as a tooltip when the mouse goes over the field.

    All modern browsers support these actions. IE also support displaying alt= as if it were title= which is a harmless addition to the standard as long as you remember to code the title=

  9. #9
    Join Date
    Apr 2004
    Location
    Warning: main(location.php): failed open stream
    Posts
    1,119
    title might be an alternative

  10. #10
    Join Date
    Aug 2004
    Location
    Switzerland
    Posts
    1,101
    Quote Originally Posted by felgall
    alt= what to display in place of the image if the browser can't display the image
    title= what to display as a tooltip when the mouse goes over the field.

    All modern browsers support these actions. IE also support displaying alt= as if it were title= which is a harmless addition to the standard as long as you remember to code the title=
    waoo, thanks ! I didn't know that !
    I always used title for the links and alt for the images... by seeing the results on IE, I assumed it was basically the same thing...
    Thanks a lot for bringing that piece of info ! ( I feel like a newbie... *blushes* )

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