Hi everybody-

I've been reading about accessible forms on the web at a few places:

http://www.alistapart.com/articles/prettyaccessibleforms/
http://www.stuffandnonsense.co.uk/archives/stylish_accessible_forms.html

and of course:

http://www.webstandards.org/learn/tutorials/accessible-forms/beginner/
http://www.webstandards.org/learn/tutorials/accessible-forms/intermediate/

My question is regarding a set of dropdowns. For example if you had a
date that a user could input via  a month dropdown, date dropdown, and
year dropdown, would that be marked up as follows:

<fieldset>        
 <legend>Date</legend>

                <label for="month">month<em>*</em></label>
                <select name="month">
                <option>January</option>
                <option>February</option>
                <option>March</option>
                <option>April</option>
                <option>May</option>
                <option>June</option>
                <option>July</option>
                <option>August</option>
                <option>September</option>
                <option>October</option>
                <option>November</option>
                <option>December</option>
                </select>

                <label for="day">day<em>*</em></label>
                <input id="day" size="2" length="2"/>

                <label for="year">year<em>*</em></label>
                <select name="year">
                <option>2006</option>
                <option>2007</option>
                <option>2008</option>
                </select>
</fieldset>

I know there's other ways I could pick these dates (say, using a
textbox and a calendar javascript widget like orbitz or other travel
sites do). I'm interested in seeing if I am applying fieldset and
legend and label correctly.

thanks in advance,

Jason


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to