WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Form Labels

for

From: Leo Smith
Date: Oct 1, 2002 5:45AM


how about this:

<select>
<input value="">day</input>
<input value="1">01</input>
</select>

<select>
<input value="">month</input>
<input value="jan">January</input>
</select>

<select>
<input value="">year</input>
<input value="2002">2002</input>
</select>

There are ways to make a form accessible other than using <form>

Leo.

On 30 Sep 2002, at 11:00, Jeff Rhodes wrote:

> I have handled it by placing a label on each of the select lists.
> However, so it doesn't clutter up the screen for the sighted users I
> have applied a hidden class to the label.
>
> <style>
> .hidden {display: none}
> </style>
>
> <label for="day" class="hidden">Date Day</label>
> <select id="day">....</select>
> <label for="month" class="hidden">Date month</label>
> <select id="month">....</select>
> <label for="year" class="hidden">Date Year</label>
> <select id="year">....</select>
>
> If anyone else has a better idea, I'm open to suggestions.
>
> On 30 Sep 2002 at 10:50, Ali Naito wrote:
>
> > Hi everyone,
> >
> > How do I tackle form labels on a date field. Example:
> > http://www.bila.net/bowl/testform.html Can I use the same ID for
> > all three menus? Do I have to split it up into three elements?
> >
> > - Ali Naito
> >
> >
> > ----
> > To subscribe, unsubscribe, or view list archives,
> > visit http://www.webaim.org/discussion/
> >
> >
>
>
> Jeff Rhodes, Developer
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Internet Association Corporation
> www.iaccorp.com
> voice: (330) 376-6006 x255
> fax: (330) 376-3355
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Thought for the day:
> -What is a "free" gift ? Aren't all gifts free?
>
>
>
> ----
> To subscribe, unsubscribe, or view list archives,
> visit http://www.webaim.org/discussion/
>



Leo Smith
Web Designer/Developer
USM Office of Publications and Marketing
University of Southern Maine
207-780-4774


----
To subscribe, unsubscribe, or view list archives,
visit http://www.webaim.org/discussion/