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

Re: H65: Using the title attribute to identify form controls when the label element cannot be used

From: Charles McCathieNevile <chaals@opera.com>
Date: Fri, 11 May 2012 22:37:53 +0200
To: "Phil Spencer" <spencer_phil@hotmail.com>, Ramón Corominas <listas@ramoncorominas.com>
Cc: "ax interest list" <w3c-wai-ig@w3.org>
Message-ID: <op.wd5vlfuvwxe0ny@widsith-3.local>
On Thu, 10 May 2012 13:49:47 +0200, Ramón Corominas  
<listas@ramoncorominas.com> wrote:

> Hi, Phil and all,
>
> In these cases I would also consider if there exists a clear visual  
> identification of the input for sighted users, since the title attribute  
> is not keyboard-accessible (IMO this would be a failure of the SC 2.1.1  
> and SC 3.3.2).

That's true. But should be filed as a bug, or fixed. I wrote an extension  
for Opera that sort of fixes it -  
http://my.opera.com/chaals/blog/keytitle-extension - this could be done in  
more or less any browser.

Although then you need to ensure that people will install it, which is a  
different question...

> Regarding the span-title being announced by the screen reader, is it  
> really the title of the <span> what is read? Maybe it is the content of  
> the <th> elements... (just to be sure)

Presumably some screen readers to expose the title (just like browsers do,  
for sighted mouse users). The reason it isn't a sufficient technique is  
because lots don't.

cheers

> Regards,
> Ramón.
>
> Phil wrote:
>
>> The actual case here is that of a grid of radio buttons with column and  
>> row headers but no individual <label> element for each input.
>>  And just for total clarity, I am absolutely NOT considering the  
>> implemented technique (not my suggestion BTW, but implemented by a  
>> developer in a separate business), to be acceptable. I was surprised to  
>> find that it appeared to "work" with IE9 + Jaws, In fact I almost  
>> didn't bother to test it at all and just flag it as non conforming, but  
>> when it did appear to "work" it occurred to me that perhaps there was  
>> something in the HTML specification that I was unaware of which defines  
>> a form control without a title attribute inherits from it's parent  
>> element or something similar. Hence my question here to see if anyone  
>> knew if the behaviour I experienced was expected or atypical.
>>  Steve F very kindly confirmed to me that it is not expected behaviour  
>> so the problem has been flagged!
>


-- 
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 Friday, 11 May 2012 20:38:35 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 11 May 2012 20:38:37 GMT