E-mail List Archives
Re: Alternatives to LEGEND for a radio button?
From: D A
Date: Aug 26, 2009 12:40PM
- Next message: Steven Henderson: "Re: Alternatives to LEGEND for a radio button?"
- Previous message: Jennison Mark Asuncion: "EASI: Planning a 4-part Webinar series on social media and accessibility (fwd)"
- Next message in Thread: Steven Henderson: "Re: Alternatives to LEGEND for a radio button?"
- Previous message in Thread: D A: "Alternatives to LEGEND for a radio button?"
- View all messages in this Thread
> 3) Would there be another tag that is acceptable in this scenario?
> I've read that some have just abandoned use of the legend tag due to
> all the styling issues and instead use a header tag of some sort.
Well, that's what I did. Fighting the legend tag was just too much. So
I'm swapping in an H2. Any comments on the following markup exampe?
<form>
<fieldset>
<legend>Fieldset Legend</legend>
<ol>
<li>
<label for="name">Name</label>
<input type="text" id="name" />
</li>
<li>
<label for="address1">Address<em>*</em></label>
<input type="text" id="address1" />
</li>
<li>
<h2>formatted as label for group elements</h2>
<div class="radioButtonGroup">
<label><input type="radio"
name="invoice-address" />Yes</label>
<label><input type="radio"
name="invoice-address" />No</label>
</div>
</li>
</ol>
</fieldset>
</form>
-Darrel
- Next message: Steven Henderson: "Re: Alternatives to LEGEND for a radio button?"
- Previous message: Jennison Mark Asuncion: "EASI: Planning a 4-part Webinar series on social media and accessibility (fwd)"
- Next message in Thread: Steven Henderson: "Re: Alternatives to LEGEND for a radio button?"
- Previous message in Thread: D A: "Alternatives to LEGEND for a radio button?"
- View all messages in this Thread