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

RE: label tag question

From: Jim Thatcher <jim@jimthatcher.com>
Date: Thu, 31 Mar 2005 19:10:14 -0600
To: "'Beheler Kim'" <beheler_kim@bah.com>, "'WAI-IG'" <w3c-wai-ig@w3.org>
Message-ID: <002d01c53657$96a7ef50$6501a8c0@jtcom2400>

> If they both work, what is the benefit of using labels over the title
> attribute?

That's a really good question. "Work" in my mind (in case anyone didn't know
that) is "correctly spoken by a screen reader." So the answer is, I think,
if you put the VISIBLE label there and mark it up as a label, that is better
because the same information is working for everyone. 

If you are asking for a comparison of off-screen text with the title, I
think there is no issue. One (label with hidden text) is a hack (which may
or may not work) and the other (title attribute) is according to spec. 

Jim
 
Accessibility Consulting: http://jimthatcher.com/
512-306-0931

-----Original Message-----
From: w3c-wai-ig-request@w3.org [mailto:w3c-wai-ig-request@w3.org] On Behalf
Of Beheler Kim
Sent: Thursday, March 31, 2005 2:52 PM
To: jim@jimthatcher.com; WAI-IG
Subject: RE: label tag question


If they both work, what is the benefit of using labels over the title
attribute?  

-----Original Message-----
From: Jim Thatcher [mailto:jim@jimthatcher.com] 
Sent: Thursday, March 31, 2005 3:39 PM
To: Beheler Kim; 'Joe Clark'; 'WAI-IG'
Subject: RE: label tag question

> I understand the title attribute should be used as our last option

That may be the opinion of some on the list but not mine. If the
labeling
text is visible, then title should not be used. If labeling text is not
visible, thin I think the title attribute is the first option.

Jim
 
Accessibility Consulting: http://jimthatcher.com/
512-306-0931
Received on Friday, 1 April 2005 01:10:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 July 2011 18:14:21 GMT