WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Problem Getting 508 Validation with "label"

for

From: Michael Pastore
Date: Apr 29, 2005 9:05AM


Thank you, Chris. I just tried something similar to your suggestion:
dumped the drop down box, and replaced it with a list. That solved one
problem, and now I will look at the other problems.

Thanks again... Michael
-- Michael Pastore, Editorial Director BookLovers Review | http://www.BookLoversReview.com Youthtopia | http://www.Youthtopia.com Zorba Press | http://www.ZorbaPress.com On 4/29/05, Christian Heilmann < <EMAIL REMOVED> > wrote:

>>> > <!--
>>> > <!-- <h2 class="sidebar-title">Categories</h2> -->
>>> >
>>> > <form action="<?php echo $PHP_SELF ?>" method="get">
>>> > <h2 class="sidebar-title"><label for="categs">Categories</label></h2>
>>> > <p style="padding: 0px; margin: 0px;"><?php dropdown_cats(); ?>
>>> > <input type="submit" id="categs" name="submit" title="submit" value="GO" />
>>> > </form>
>>> > -->
>>> >
>>> > Or, you can see how this plays out by going to my home page and then
>>> > viewing the source code.
>>> >
>>> > Again, thanks very much for any suggestions you can offer. I'm very
>>> > close to 508 compliance, I would love to get this final bit.
>
>>
>> You need to set the for attribute of the label to the select element,
>> not the submit button. For that you'd need to tweak the PHP of
>> wordpress as it only generates a name="cat" on the select, not an ID.
>>
>> There are more problems though, like links that are not separated by
>> more than whitespace.
>> --
>> Chris Heilmann
>> Blog: http://www.wait-till-i.com
>> Writing: http://icant.co.uk/
>> Binaries: http://www.onlinetools.org/