WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Problem Getting 508 Validation with "label"

for

From: Michael Moore
Date: Apr 29, 2005 9:06AM


You may also want to consider changes to color and contrast, Particularly the light gray print on the light blue parchment background and the blue print on that background as well. Second check the validation of your xhtml. The W3C validator spotted several errors.

Mike

Patrick Lauke wrote:

>> Michael Pastore
>
>
>
>> I have been working to get my website valid with 508. A problem with
>> "label" requirement is the last detail that is holding me back.
>
>
>
>
>> http://www.youthtopia.com
>
>
>
> Currently, "categories" is defined as label for the GO submit button, when it should really be the label for the SELECT. Submit buttons don't need labels, as their value acts as a label already. Assign the id of "categs" to the SELECT, and you should be fine, i.e. change
>
> <select name="cat" class="postform">
> ...
> </select>
>
> <input id="categs" name="submit" title="submit" value="GO" type="submit">
>
> to
>
> <select name="cat" id="categs" class="postform">
> ...
> </select>
>
> <input name="submit" title="submit" value="GO" type="submit" />
>
> (also note that, if you are using XHTML, input and all other "one off" elements needs to be self-closing)
>
>
> Patrick
> ________________________________
> Patrick H. Lauke
> Webmaster / University of Salford
> http://www.salford.ac.uk