WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ID and label tags in HTML

for

From: Hoffman, Allen
Date: Oct 20, 2010 3:27PM


Does this show up in a W3C validator?


-----Original Message-----
From: Jared Smith [mailto: <EMAIL REMOVED> ]
Sent: Tuesday, October 19, 2010 4:17 PM
To: WebAIM Discussion List
Subject: Re: [WebAIM] ID and label tags in HTML

On Tue, Oct 19, 2010 at 11:09 AM, William Lawrence wrote:

> Yes, the values in HTML and XHTML elements must be treated as
> case-sensitive. The value of the FOR attribute is case-sensitive
> (i.e., user agents interpret "a" and "A" differently).

Firefox and most other browsers properly enforce the case sensitivity
requirements of HTML id references. Internet Explorer does not. If you
use the common technique of clicking on form labels to see if the
properly associated form element receives focus, be sure to do this
test in something other than IE to ensure true accessibility in other
browsers.

> Although the WAVE toolbar from WebAim will not identify this as an
> issue...

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.

Jared Smith
WebAIM