WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Section 508 - Form Field Label

for

From: Michael.Moore
Date: Nov 12, 2010 8:09AM


No,

"CBP" needs to be contained in a label element that is programmatically bound to the input.

<input type="checkbox" id="ch1a" name="whatever" class=...>
<label for="ch1a">CPB</label>

Nothing in the title of the div provides any semantic meaning to the AT. I am not even aware of any screen reader AT that will read the titles in divs.

Mike Moore