WebAIM - Web Accessibility In Mind

E-mail List Archives

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

for

From: Shrirang Sahasrabudhe
Date: Jul 20, 2006 2:50AM


hi,
i wrote following mark up in order
toevaluating use of p instead of legend for accessibility..
<snip>
<html>
<body>
<h2> use of legend </h2>
<fieldset>
<legend> are you a member? </legend>
<input type=radio name=connectiontype id=r_legend_yes> Yes
<input type=radio name=connectiontype id=r_legend_no> No
</fieldset>
<h2> use of p </h2>
<fieldset>
<p> are you a member? </p>
<input type=radio name=connectiontype id=r_p_yes> <label for="r_p_yes">Yes</label>
<input type=radio name=connectiontype id=r_p_no> <label for="r_p_no">No</label>
</fieldset>
</body>
</html>
</snip>
i am using jaws5 and IE 6..
jaws gives same results in both the cases..
can <legend> be replaced safely with <p> ?
thanks.
Shri



***********************************************************
If you try, you risk failure. If you don't, you ensure it....I try.
Shrirang Sahasrabudhe,
Pune, India.
Phone: 0091-020-4227558.

---------------------------------
See the all-new, redesigned Yahoo.com. Check it out.