WebAIM - Web Accessibility In Mind

E-mail List Archives

Problem Getting 508 Validation with "label"


From: Michael Pastore
Date: Apr 29, 2005 8:21AM

Hello everyone, and thanks very much in advance.

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.

I'm using this validator:


If you go to this page, and then type in my URI


... you will see that I fail -- they call it an "error", not a warning
-- and I can't get 508 certified.

Here is a screen capture of the problem:

Things are more than usually complicated here, because I'm using the
WordPress (which is marvelous!) and its php. I think that the problem
area comes in here below: this is what I've tried that has failed:

<!-- <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" />

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.

Michael Pastore