RE: label tag question

> 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 UTC