WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: can <p> be used in place of <legend>?


From: ben morrison
Date: Jul 20, 2006 4:20AM

On 7/20/06, Patrick Lauke < <EMAIL REMOVED> > wrote:
> > Alastair Campbell
> > Where a design has needed some kind of positioning, background, or
> > anything more than a basic legend, I've taken to using a heading
> > instead.
> I'm just wondering, though, what happens when a user is in forms mode (or equivalent)? Would they have to exit forms mode to even be aware of the headings, whereas legends would be announced? Sorry, been a while since I had a play with JAWS...

I've always been under the impression that headings are read out but
<p> is not in forms mode. If you use fieldset then surely it needs a
legend though, if text is too long i use a simplified legend text with
an additional heading, to avoid css issues with legend tags.