E-mail List Archives

Re: Legend wrap (or not)

for

From: Stephanie Sullivan
Date: Aug 29, 2007 8:50PM


On Aug 29, 2007, at 7:49 AM, Jukka K. Korpela wrote:

> That would be odd, wouldn't it? A browser that skips the textual
> content
> of a form would skip _essential_ information on _many_ pages. Would
> it be
> the <fieldset> and <legend> markup that causes it? And would this
> happen
> in important browsers? Then the practical conclusion would be to stop
> using those elements. There's no point in using semantic markup if it
> causes wrong processing more often than anything useful. Those
> elements
> are really not _necessary_ ever; they are supposed to help, not
> hurt, and
> if browsers get this wrong, well...

No, it's not the fieldset/legend... It's forms mode for the assistive
technology. Many AT don't read P or headings within a form. So that
information is lost to the person using it. Thus my desire to use
proper semantic markup instead.
>
> Instead of <legend>, a heading at a suitable level could be used.
> Instead
> of <fieldset>, a <div> with class could be used, and styled as
> desired.
> The styling would not help in non-visual mode, but the use of headings
> could still divide the form into manageable chunks.

Same problem as above with the heading... and the fieldset is created
to group like information. Why would I switch to a non-semantic div?

---
Stephanie Sullivan
http://www.w3conversions.com
Dreamweaver Task Force for WaSP
http://www.communitymx.com