WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Form elements without Form Tags using title attributes?

for

From: E.J. Zufelt
Date: Sep 9, 2010 3:22PM


Good afternoon Susan,

You page should valdate without the form element. The form element is really only used to tell the user agent (browser) how to send information within the fields to a server. Since you aren't enabling this functionality you don't need the element.

I hope this helps,
Everett Zufelt
http://zufelt.ca

Follow me on Twitter
http://twitter.com/ezufelt

View my LinkedIn Profile
http://www.linkedin.com/in/ezufelt



On 2010-09-09, at 2:38 PM, Susan Grossman wrote:

> Please pardon if this is a duplicate, but it hasn't shown up for me in over
> 4 hours, so decided to try again.
>
> I have a validation point that I need to pass, I know that because a
> validator says so it doesn't mean it's the best thing to do, but in this
> case, I have a corporate requirement for something that's going to work with
> US Federal agency and have been told it needs to pass this validator.
>
> Development is using drop down menus and check boxes to change display
> choices. These are scripted correctly and accessible by tabbing. Since they
> put in ID's and labels with For attributes, they needed to add in a form
> tag. Once they added a Form tag, it requiring some type of form submit, and
> there's no submission on this page.
>
> Can the form tag be omitted and Labels with For attributes removed and
> changed to title attributes in the select and check box inputs? It's seems
> to sound alright in Readers (NVDA & JAWS in regular mode), but I'm not a
> power user and don't want to miss "consequences". It is usable with just a
> keyboard and passes HTML validation. But is it really accessible and a valid
> solution?
>
> Thanks for any pointers
> --
> *Susan R. Grossman*
> <EMAIL REMOVED>
>