WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Labels for form controls

for

From: Paul Bohman
Date: May 19, 2005 4:25PM


Michael Roush wrote:
> I can't imagine
> hidden input controls should require labels. I am thinking more and
> more this is a bug in WAVE.

Ok. I now know why the error messages were there. It is a bug of sorts
in WAVE, but you can also easily changing something in your own code.

It appears that WAVE doesn't like input attributes in single quotes.
When you put the attributes in double quotes, WAVE does not flag them as
errors.

This shows up as an error in WAVE:
<input type='hidden' name='fooc' value='bar'>

This does not:
<input type="hidden" name="fooc" value="bar">

(notice the double quotes)

So it *is* a bug in WAVE, but until the bug is fixed, you can get around
it by using double quotes.

We'll work on fixing the bug on the software, but it may take a little
time, due to the other priorities that we're working on (not related to
WAVE).

--
Paul Bohman
Director of Products and Services
WebAIM (Web Accessibility in Mind)
www.webaim.org
Utah State University
www.usu.edu