[Nfb-web] title vs alt attribute

Robin Brunner compuplace at ecc-cr.net
Tue Apr 14 19:22:21 UTC 2009


I am *NOT* referring to the title tag, the element that determines the title 
of the page.  My question is about the title and alt *ATTRIBUTES* of an 
image.  Specifically, I have images which are also links.  The way I have 
coded it, the title attribute for the *image which is also a link* is within 
the opening<a> tag and the alt attribute is within the <img> tag.  Then a 
closing</a> tag, of course.
Main Question:  Do I need to have a title attribute in the <img> tag when I 
already have a title attribute in the <a> tag inside which lives the <img> 
???
Sample code:
<a href="agencyhousing.php"
        title="Link to ECC Agency Housing and Agency Housing Logo"
        tabindex="20">
 <img src="images/agencyhousinglogo.jpg"
    width=60 height=80
    class="imglink"
    alt="ECC Agency Housing Logo and Link"/>
 </a>
I hope this states the question more clearly.
I understand that I should probably change the title attribute to say
"The ECC provides low cost rent to other non-profits"
in order to provide better *and not redundant* information.  I was hoping to 
fix it all at once.  Thank you all for your time and attention.  R


----- Original Message ----- 
From: <nfb-web-request at nfbnet.org>
To: <nfb-web at nfbnet.org>
Sent: Monday, April 13, 2009 12:00 PM
Subject: Nfb-web Digest, Vol 59, Issue 10


> Send Nfb-web mailing list submissions to
> nfb-web at nfbnet.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> or, via email, send a message with subject or body 'help' to
> nfb-web-request at nfbnet.org
>
> You can reach the person managing the list at
> nfb-web-owner at nfbnet.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Nfb-web digest..."
>
>
> Today's Topics:
>
>   1. Re: alt vs title (Peter Donahue)
>   2. Re: alt vs title (E.J. Zufelt)
>   3. Re: alt vs title (Benjamin Hawkes-Lewis)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 12 Apr 2009 13:22:46 -0500
> From: "Peter Donahue" <pdonahue1 at sbcglobal.net>
> Subject: Re: [Nfb-web] alt vs title
> To: "NFB Webmaster's List" <nfb-web at nfbnet.org>
> Message-ID: <007101c9bb9b$af836a40$210110ac at yourfsyly0jtwn>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hello Michael and listers,
>
>    Are you talking about the title attribute that is placed in a page
> header; <title>My Web Site</title>?If this is what you are referring to 
> Jaws
> most certainly reads these titles. Some developers use this attribute to
> identify a particular page on a Web site, <title>Home</title>. I use it to
> remind visitors of the site they are currently browsing. Hence for 
> example,
> <title>National Federation of the Blind of Missouri</title>. If their
> chapter and division sites are a part of their affiliate site I'll modify
> this information to include the name of the chapter or division,
> <title>National Federation of the Blind of Missouri, Kansas City
> Chapter</title>.
>
>    If the above is what you're referring to Jaws and I'm sure other screen
> readers will read this information. If not if you can send a code example
> I'd like to see it to be sure we're talking about the same title 
> attribute.
> Best wishes from our border Cindy, Mary and myself for a wonderful Easter.
>
> Peter Donahue
>
>
>
> ----- Original Message ----- 
> From: "Michael Hansen" <mhansen4 at gmail.com>
> To: "NFB Webmaster's List" <nfb-web at nfbnet.org>
> Sent: Sunday, April 12, 2009 5:51 AM
> Subject: Re: [Nfb-web] alt vs title
>
>
> Personally I have never used the title attribute. I have only used the
> alt attribute to provide descriptions of graphics. I am not sure that
> the screen readers used by the blind even make use of the title
> attribute.
>
> Does anyone on the list know if JAWS or WindowEyes make use of the
> titel attribute in any way?
>
> Mike
>
> On 4/10/09, Robin Brunner <compuplace at ecc-cr.net> wrote:
>> Every link has a tab index
>> For images which are also links:
>> I have alt attribute with the <img> tag
>> and title attribute with the <a> tag
>> Should I
>> add titles to images which are NOT links
>> but which already have alt attributes?
>> I'm green, and striving for
>> best inclusive design without too much noise.
>> Thank you.
>> Robin Switzer Brunner
>> CompuPlace Director
>> 601 Second Ave SE #3
>> Cedar Rapids, Iowa 52401-1305
>> 319-362-4284
>> compuplace at ecc-cr.net
>> www.ecc-cr.net
>> _______________________________________________
>> Nfb-web mailing list
>> Nfb-web at nfbnet.org
>> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> Nfb-web:
>> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/mhansen4%40gmail.com
>>
>
>
> -- 
> ---
> Mike Hansen
>
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
> To unsubscribe, change your list options or get your account info for
> Nfb-web:
> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/pdonahue1%40sbcglobal.net
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sun, 12 Apr 2009 18:09:08 -0300
> From: "E.J. Zufelt" <everett at zufelt.ca>
> Subject: Re: [Nfb-web] alt vs title
> To: NFB Webmaster's List <nfb-web at nfbnet.org>
> Message-ID: <4694F4A2-D3BD-4A7F-B28B-69F94B3BD961 at zufelt.ca>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> Good afternoon,
>
> I believe that what is being discussed is the html, or xhtml, title
> attribute, which is different from the title element (or tag) that you
> have described.
>
> For more information about the title attribute see: 
> http://fadtastic.net/2007/04/19/proper-use-of-alt-and-title-attributes/
>
> HTH,
> Everett
>
> Follow me on Twitter
> http://twitter.com/ezufelt
>
> View my LinkedIn Profile
> http://www.linkedin.com/in/ezufelt
>
>
>
>
>
> On 12-Apr-09, at 3:22 PM, Peter Donahue wrote:
>
>> Hello Michael and listers,
>>
>>    Are you talking about the title attribute that is placed in a page
>> header; <title>My Web Site</title>?If this is what you are referring
>> to Jaws
>> most certainly reads these titles. Some developers use this
>> attribute to
>> identify a particular page on a Web site, <title>Home</title>. I use
>> it to
>> remind visitors of the site they are currently browsing. Hence for
>> example,
>> <title>National Federation of the Blind of Missouri</title>. If their
>> chapter and division sites are a part of their affiliate site I'll
>> modify
>> this information to include the name of the chapter or division,
>> <title>National Federation of the Blind of Missouri, Kansas City
>> Chapter</title>.
>>
>>    If the above is what you're referring to Jaws and I'm sure other
>> screen
>> readers will read this information. If not if you can send a code
>> example
>> I'd like to see it to be sure we're talking about the same title
>> attribute.
>> Best wishes from our border Cindy, Mary and myself for a wonderful
>> Easter.
>>
>> Peter Donahue
>>
>>
>>
>> ----- Original Message -----
>> From: "Michael Hansen" <mhansen4 at gmail.com>
>> To: "NFB Webmaster's List" <nfb-web at nfbnet.org>
>> Sent: Sunday, April 12, 2009 5:51 AM
>> Subject: Re: [Nfb-web] alt vs title
>>
>>
>> Personally I have never used the title attribute. I have only used the
>> alt attribute to provide descriptions of graphics. I am not sure that
>> the screen readers used by the blind even make use of the title
>> attribute.
>>
>> Does anyone on the list know if JAWS or WindowEyes make use of the
>> titel attribute in any way?
>>
>> Mike
>>
>> On 4/10/09, Robin Brunner <compuplace at ecc-cr.net> wrote:
>>> Every link has a tab index
>>> For images which are also links:
>>> I have alt attribute with the <img> tag
>>> and title attribute with the <a> tag
>>> Should I
>>> add titles to images which are NOT links
>>> but which already have alt attributes?
>>> I'm green, and striving for
>>> best inclusive design without too much noise.
>>> Thank you.
>>> Robin Switzer Brunner
>>> CompuPlace Director
>>> 601 Second Ave SE #3
>>> Cedar Rapids, Iowa 52401-1305
>>> 319-362-4284
>>> compuplace at ecc-cr.net
>>> www.ecc-cr.net
>>> _______________________________________________
>>> Nfb-web mailing list
>>> Nfb-web at nfbnet.org
>>> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
>>> To unsubscribe, change your list options or get your account info for
>>> Nfb-web:
>>> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/mhansen4%40gmail.com
>>>
>>
>>
>> -- 
>> ---
>> Mike Hansen
>>
>> _______________________________________________
>> Nfb-web mailing list
>> Nfb-web at nfbnet.org
>> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
>> To unsubscribe, change your list options or get your account info for
>> Nfb-web:
>> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/pdonahue1%40sbcglobal.net
>>
>>
>> _______________________________________________
>> Nfb-web mailing list
>> Nfb-web at nfbnet.org
>> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
>> To unsubscribe, change your list options or get your account info
>> for Nfb-web:
>> http://www.nfbnet.org/mailman/options/nfb-web_nfbnet.org/everett%40zufelt.ca
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Sun, 12 Apr 2009 22:09:16 +0100
> From: Benjamin Hawkes-Lewis <bhawkeslewis at googlemail.com>
> Subject: Re: [Nfb-web] alt vs title
> To: NFB Webmaster's List <nfb-web at nfbnet.org>
> Message-ID: <49E2587C.3030605 at googlemail.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> On 12/4/09 19:22, Peter Donahue wrote:
>>      Are you talking about the title attribute that is placed in a page
>> header;<title>My Web Site</title>?
>
> No. That's a title element, not a title attribute.
>
> http://www.w3.org/TR/REC-html40/intro/sgmltut.html
>
> --
> Benjamin Hawkes-Lewis
>
>
>
> ------------------------------
>
> _______________________________________________
> Nfb-web mailing list
> Nfb-web at nfbnet.org
> http://www.nfbnet.org/mailman/listinfo/nfb-web_nfbnet.org
>
>
> End of Nfb-web Digest, Vol 59, Issue 10
> ***************************************


--------------------------------------------------------------------------------



No virus found in this incoming message.
Checked by AVG - www.avg.com
Version: 8.5.287 / Virus Database: 270.11.56/2058 - Release Date: 04/14/09 
06:17:00





More information about the NFB-Web mailing list