WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: HTML Fieldset missing a Legend

for

From: Laurence Lewis
Date: Nov 4, 2021 2:44PM


If there is a two radio button group being Yes/No, wrapped in a Fieldset
without a legend, it would make no sense to anyone and thus fails 3.2.2.


A visible heading before the group, that visually labels the group, but is
not associated to the group programmatically (Legend), it is a 1.3.1 Fail.


If the radio buttons make sense on their own and are wrapped in a Fieldset
without a Legend, and no visible label, it fails neither.


Either way there is some level of subjectivity and should be considered on
a case-by-case basis.


Please correct me if I have misinterpreted and thanks @Patrick H. Lauke