WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: examples of accessible sites

for

From: Terrence Wood
Date: Sep 20, 2004 7:53AM


hi Martin,

Here's another gotcha to look out for, and a solution...

The access key for search submits the form instead of focusing the the
search field, which is disorientating, and just plain annoying,
especially when greeted with an error message once the empty search
results appear.

Here's the fix: add a label for your search field with the access key in
it to focus the search field. This will also help your WACG compliance.

Remove the access key from the anchor, in fact remove the anchor
altogether and replace it with an actual submit button - you can style
it to appear the same as what's there at the moment.

../tdw


martin wrote:
>
> * http://www.hm-treasury.gov.uk/
> - UK government treasury website, meets WAI level AAA