WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: ID and label tags in HTML

for

From: Jared Smith
Date: Oct 19, 2010 2:18PM


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