WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Looking for an alternative to fieldset / legend

for

From: Benjamin Hawkes-Lewis
Date: Dec 5, 2011 12:39AM


On Mon, Dec 5, 2011 at 3:21 AM, Sailesh Panchang
< <EMAIL REMOVED> > wrote:
> Well aria-describedby works alright  as a replacement. Set an id for
> the common label text that one would markup as a legend (if
> fieldset/legend were used). Then use aria-describedby within every
> related form control (which would have its own explicit label or title
> attribute) that points to the id-value for legend-text.
> But this will not create the border etc. that fieldset creates by
> default which is an accessibility aid for some users to identify
> related fields as a group.

Wouldn't this prevent user control over whether to repeat the legend
for every field?

Wouldn't it also conflict with providing per-field help?

--
Benjamin Hawkes-Lewis