WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Is use of <label> and title redundant?

for

From: Patrick H. Lauke
Date: Nov 20, 2012 1:05PM


On 20/11/2012 19:55, Sailesh Panchang wrote:
> James,
> Sure, I know that.
> And Patrick,
> Please refer to the first email to James which has the reasoning. It
> is the description of H44:
> http://www.w3.org/TR/2012/NOTE-WCAG20-TECHS-20120103/H44

Yes, it says that, but unless I'm wildly off, this does not mean what
you seem to imply. Using James' last example code, with added title
attribute

<span>First Name</span> <input type="text" title="First Name">

This clearly fails 3.3.2 *if you only relied on H44 to satisfy 3.3.2*,
but you're not, because while H44 fails with regards to satisfying 3.3.2
(since there IS no label), the SC is actually satisfied by H65 and its
use of title.

P
--
Patrick H. Lauke