RE: [techs] Fasttrack Tests - #57

I totally agree Becky; that issue slipped from my concern. Somehow, using
the LABEL as container of INPUT plus prompting text was seen as not
"explicit" in WCAG discussions. But it is explicit and it is correct HTML.
It causes (last I looked) some screen reader problems but the screen reader
developers can fix that in time. I still recommend for/id but the LABEL
container should be OK!

 

Also good catch on the "typo" that so many of us missed!

 

Jim

 

Accessibility Consulting:  <http://jimthatcher.com/> http://jimthatcher.com/

512-306-0931

-----Original Message-----
From: w3c-wai-gl-request@w3.org [mailto:w3c-wai-gl-request@w3.org] On Behalf
Of Becky_Gibson@notesdev.ibm.com
Sent: Wednesday, February 02, 2005 6:03 AM
To: chris.ridpath@utoronto.ca
Cc: WAI WCAG List
Subject: Re: [techs] Fasttrack Tests - #57

 


Regarding 
57 - INPUT, type of "text", has an explicit label
http://www.w3.org/WAI/GL/WCAG20/tests/test57.html

I have some concerns about requiring the <label> tag to have the for
attribute to tie it to the <input> field.  This seems like an "until user
agents" requirement since HTML specifies that the <label> tag can wrap the
<input> field.  While screen readers work better with the explicit linking
of the <input> field to the <label> I don't think the screen reader
implementation should force our tests - the screen readers should follow the
spec and support both techniques.   

Also, the text in the procedure text is backwards: 
The INPUT element has a FOR attribute value that matches the ID attribute
value of a LABEL element. 

should be: 
The LABEL element has a FOR attribute value that matches the ID attribute
value of a INPUT element. 

I hate to argue against what is a good practice, good test and recommended
procedure but have concerns with letting screen reader behavior dictate our
tests.  Home Page Reader now supports <labels> that wrap <input> fields and
I think the latest version of JAWS may, as well. 
-becky 



Becky Gibson
Web Accessibility Architect
                                                      
IBM Emerging Internet Technologies
5 Technology Park Drive
Westford, MA 01886
Voice: 978 399-6101; t/l 333-6101
Email:  <mailto:gibsonb@us.ibm.com> gibsonb@us.ibm.com

Received on Wednesday, 2 February 2005 16:52:27 UTC