WebAIM - Web Accessibility In Mind

E-mail List Archives

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


From: Alastair Campbell
Date: Jul 20, 2006 3:20AM

> The main question is: Why would you want to replace LEGEND with a P?

Because browser CSS support for styling the legend sucks :(



> The next versions of Jaws or older versions or other software might
> not support it and from a strictly semantic point of view it is not
> making any sense.

Where a design has needed some kind of positioning, background, or
anything more than a basic legend, I've taken to using a heading

Not ideal, but probably better than a <p>.

Kind regards,


Alastair Campbell | Director of User Experience

Nomensa Email Disclaimer: