[Websg Meetup] Russ Weakley's CSS Worshop
choonkeat
choonkeat at gmail.com
Sun Feb 11 02:30:46 EST 2007
I see, so they're replacing something else. I'll switch my habit of grouping
with divs/h2s/h3s to using fieldset+legend combo instead.
<form ...>
<fieldset>
<legend>Some Context</legend>
<dl>
<dt><label for="someid">Name</label></dt>
<dd><input id="someid" ... /></dd>
<dl>
</fieldset>
</form>
In order to be accessible with least effort, this shall be the way I markup
all my forms. Styling is a separate matter.
Thanks for the enlightenment ppl!
Cheers
--
choonkeat
Russ was explaining how blind users read fieldsets, apparently, if you group
> together items in a fieldset then the screen reader will read the input
> item
> within that field set as "<legend name> <input item label name>"
fieldset and legend are for grouping common items in a form together,
> that's all. use them all together for an accessible form. good luck.
--
choonkeat
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/meetup_websg.org/attachments/20070211/bd4c7e3e/attachment.html
More information about the Meetup
mailing list