WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Aria-describedby for entire checkbox grouping?

for

From: Graham Armfield
Date: May 11, 2022 2:18AM


Hi Alex, is there some reason why you can't use the <legend> element with
the <fieldset>?

That's a pretty rock solid way of communicating what the checkbook group is
for. The <legend> does need to be the first child of the <fieldset>.

Another approach would be to use the aria-describedby attribute on the
individual checkbook.

Regards
Graham Armfield
Coalfields Consulting