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

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

From: Phil Spencer <spencer_phil@hotmail.com>
Date: Thu, 10 May 2012 10:25:50 +0100
Message-ID: <DUB106-W440A163143381D9FCF5F17F1160@phx.gbl>
To: ax interest list <w3c-wai-ig@w3.org>

Hi All,

I have a question that I'm hoping someone may be able to help with regarding technique H65: Using the title attribute to identify form controls when the label element cannot be used.

This technique is about using a title attribute to describe a form element where a label element can't be used for whatever reason, and relates to several success criteria as listed in the link below:

http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/H65

I'm evaluating a web page where this technique has been used in a slightly different way. The descriptive title attribute has been applied to a span element that wraps the form element, rather than directly to the element itself, simplified code snippet follows:

<span title="description of form element"><input type="radio" /></span>

My question is, is this sufficient to meet the various success criteria? I kind of assumed that it wouldn't be, but when I tested with IE9 and JAWS12 it seemed to work just the same as if the title attribute was directly on the form element.

Does anyone have any experience with this? Is the JAWS / IE behaviour likely to be repeated with other browser / AT combinations?

Many thanks in advance,

Phil Spencer.


 		 	   		  
Received on Thursday, 10 May 2012 09:26:26 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Thursday, 10 May 2012 09:26:28 GMT