W3C home > Mailing lists > Public > w3c-wai-ig@w3.org > April to June 2012

Re: title attributes on links

From: Charles McCathieNevile <chaals@opera.com>
Date: Thu, 24 May 2012 13:57:06 +0200
To: "Glen Wallis" <glen.wallis@gmail.com>, "Steve Faulkner" <faulkner.steve@gmail.com>
Cc: w3c-wai-ig@w3.org
Message-ID: <op.wes95geuwxe0ny@widsith-3.local>
+1 No, the HTML title attribute is not a sufficient technique to provide a  
text equivalent to images.

cheers

On Thu, 24 May 2012 08:25:26 +0200, Steve Faulkner  
<faulkner.steve@gmail.com> wrote:

> Hi Glen,
>
> The title attribute is not a container for a text alternative, the alt
> attribute is. The reason why what you describe works is that the title
> content is used as a last resort for  calculating the accessible name [3]
> for an HTML element. It should not be promoted as as technique as it
> conflates the semantics of alt and title. The use of title does not  
> fulfill
> one of the other functions of alt attribute text: when images are  
> disabled
> in the browser it does is not rendered in place of the image [1]. If you
> want to use the title because it also displays a tooltip keeping mind  
> that
> it does not display on touch or mobile devices and it is not keyboard
> accessible [2].
>
> It is also non conforming in HTML to have an <img> without an alt  
> attribute.
>
>
> [1]
> http://www.paciellogroup.com/blog/2010/01/alt-and-title-content-display-in-popular-browsers/
> [2]
> http://www.paciellogroup.com/blog/2010/11/using-the-html-title-attribute/
> [3]  
> http://www.w3.org/WAI/PF/aria-implementation/#mapping_additional_nd_te
>
> regards
> SteveF
>
> On 24 May 2012 06:50, Glen Wallis <glen.wallis@gmail.com> wrote:
>
>> I recently tested a site that includes images with title attributes but  
>> no
>> alt attributes. The title attribute is read correctly by NVDA and two
>> versions of Jaws.
>>
>> Does the title attribute have enough support to be considered a  
>> sufficient
>> technique?
>>
>> Glen Wallis
>>


-- 
Charles 'chaals' McCathieNevile  Opera Software, Standards Group
     je parle français -- hablo español -- jeg kan noen norsk
http://my.opera.com/chaals       Try Opera: http://www.opera.com
Received on Thursday, 24 May 2012 11:58:18 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 24 May 2012 11:58:20 GMT