SitePoint Sponsor

User Tag List

Results 1 to 10 of 10
  1. #1
    SitePoint Member mindseye's Avatar
    Join Date
    Mar 2004
    Location
    Adelaide
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Can I use <title> instead of <alt> ?

    I've noticed that alt tags don't display in Firefox like they do in IE, but title tags display the same in both browsers.

    Does anyone know if I would I be decreasing accessibility if I used title tags instead of alt tags on my graphics?

  2. #2
    SitePoint Addict lveale's Avatar
    Join Date
    Jun 2001
    Location
    Dublin
    Posts
    221
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mindseye
    I've noticed that alt tags don't display in Firefox like they do in IE, but title tags display the same in both browsers.

    Does anyone know if I would I be decreasing accessibility if I used title tags instead of alt tags on my graphics?
    I would follow the specifications from W3C.

    Generally, use ALT as it is intended, to describe in words the image you are showing. Titles are generally used on links and on form elements.

    Be good

  3. #3
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    it's irrelevant how firefox deals with ALTs. the spec and the accessibility guidelines state that ALTs are to be used for alternative content. TITLE is a generic attribute, and does not convey the same meaning as ALT.

    if you're after the "tooltip" effect in firefox for whatever reason, your best bet is to double up and use both ALT and TITLE at the same time.
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  4. #4
    SitePoint Member mindseye's Avatar
    Join Date
    Mar 2004
    Location
    Adelaide
    Posts
    16
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I had a feeling this would be the case, but was hoping to save myself that doubling up. Every little bit counts

    Thanks for the feedback

  5. #5
    High fives all round! bradley317's Avatar
    Join Date
    Jan 2004
    Location
    Chester, UK
    Posts
    214
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why would you want to see the alternative text if you can see the actual image?
    Hello, hello, what's all this shouting?
    We'll have no trouble here

    (Helping a pal... http://www.funkdub.info)

  6. #6
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by bradley317
    Why would you want to see the alternative text if you can see the actual image?
    my guess: he wants to use the "tooltip" style behaviour that happens in most browsers (but it's worth noting that that's not what ALT was meant for, and ALT should always reflect the content/meaning of the image, and not be abused for tooltip text that doesn't bear relevance to the image itself...in this case, title is the ONLY correct attribute to use)
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  7. #7
    SitePoint Zealot LSW's Avatar
    Join Date
    Jul 2004
    Location
    Juneau Alaska
    Posts
    182
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    [I retract my earlier comments after having been corrected by Redux, it was based on misiunderstanding causing misinformation (resaulting in misunderstanding on my part) by Mac users I know.

    Basically - my comments were all Hogwash, sorry]

    LSW
    Last edited by LSW; Jul 26, 2004 at 02:22.

  8. #8
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by LSW
    ALT as mentioned is for handicapped surfers
    well, it's for any user agent that can't display or understand images (text only browser, browsers with graphics turned off to conserve bandwidth, *GOOGLE*, to name a few)
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  9. #9
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,236
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Off Topic:

    <pedant>They're attributes, not tags. The title tag goes in the <head> of your document only.</pedant>

  10. #10
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    The title element goes in the head whereas the title attribute doesn't.


Bookmarks

Posting Permissions

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