WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ID and label tags in HTML

for

From: William Lawrence
Date: Oct 21, 2010 8:18AM


On Wed, Oct 20, 2010 at 5:25 PM, Hoffman, Allen < <EMAIL REMOVED> > wrote:
> Does this show up in a W3C validator?

The case-sensitivity of the for attribute IS a validation issue in
XHTML 1.0 Strict & Transitional, XHTML 1.1, and HTML5.

The case-sensitivity of the for attribute IS NOT a validation issue in
HTML 4.01 Strict & Transitional.

The case-sensitivity of the for attribute IS an accessibility issue
irregardless of doctype.

More information can be found regarding the label element in HTML4 at
http://www.w3.org/TR/1999/REC-html401-19991224/interact/forms.html#h-17.9
and the differences between HTML4 and XHTML regarding case-sensitivity
of attribute values at http://www.w3.org/TR/xhtml1/#h-4.11

On Tue, Oct 19, 2010 at 4:16 PM, Jared Smith < <EMAIL REMOVED> > wrote:
> Correction - although the WAVE toolbar from WebAIM DOES NOT YET
> identify this as an issue...
> This is something we've already identified to be flagged in the next
> version of WAVE.

My apologies; I stand corrected and thanks Jared for the clarification. ;-)

Cheers!
William