WebAIM - Web Accessibility In Mind

E-mail List Archives

Form input label question

for

From: Keith Parks
Date: Dec 1, 2009 4:55PM


Hi folks.

I have a group of pages that are failing a couple of automated
accessibility scans, but passing a couple of others, and I'm trying to
figure out why.

The issue is with a Label element. The Label is correctly associated
with an input through the "for" value, but the input it is tied to is
a *hidden* input. I assume that hidden inputs do not need Labels, right?

The WebAIM WAVE tester flags it as an orphaned Label.

The HiSoftware Compliance Sheriff also fails the page because of that
label.

BUT, the "Cynthia Says 508 tester" and the HiSoftware AccVerify
program both give the page a PASS.

So... I assume that hidden inputs do not *require* Labels, but is it
an actual error for a hidden input does have a Label?

Thanks,

Keith

note: I don't own the pages, I'm only checking the accessibility, so I
want to be able to pass on a definitive recommendation and
justification about any necessary modifications. The simple answer
would seem to be just to remove the Label, but since it does pass some
automated scans, I want to make sure the error is not in the tester.

******************************
Keith Parks
Graphic Designer/Web Designer
Student Affairs Communications Services
San Diego State University
San Diego, CA 92182-7444
(619) 594-1046
mailto: <EMAIL REMOVED>
http://www.sa.sdsu.edu/communications

http://kparks.deviantart.com/gallery
----------------------------------------------------------

World Peace through Cascading Style Sheets.