WebAIM - Web Accessibility In Mind

E-mail List Archives

Fieldsets or divs

for

From: Brady.Pierzchalski
Date: May 6, 2008 9:20AM


Hi,

I've been struggling with this one for a while.

I'm creating a gift card order form where people can enter in the quantity
of cards they want for a specific denomination and the total would be
generated form them. There are around 5 different denominations to choose
from.

My question is should each "set" be wrapped in it's own fieldset (example
below) or should each "set" be wrapped in a div and then all the sets be
wrapped in one fieldset.

Label x input = input
10.00 x quantity = $total

25.00 x quantity = $total

50.00 x quantity = $total

Currently this is what i have:

<fieldset>
<legend><span class="hidden">10</span></legend>
<label for="ten-quantity"> $10.00 x</label>
<input id="ten-quantity" value="Qty" maxlength="3"
type="text" />
<label for="10-total"><span>=</span>$ </label>
<input type="text" id="10-total"/>
</fieldset>

Thank you!

Brady

CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify us immediately at 262-703-7000.

CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the right to retrieve and read any message created, sent and received. Kohl's reserves the right to monitor messages by authorized Kohl's Associates at any time
without any further consent.