E-mail List Archives
Re: HTML Fieldset missing a Legend
From: Patrick H. Lauke
Date: Nov 4, 2021 9:11AM
- Next message: Mark Magennis: "Re: HTML Fieldset missing a Legend"
- Previous message: wolfgang.berndorfer@zweiterblick.at: "Re: HTML Fieldset missing a Legend"
- Next message in Thread: Mark Magennis: "Re: HTML Fieldset missing a Legend"
- Previous message in Thread: wolfgang.berndorfer@zweiterblick.at: "Re: HTML Fieldset missing a Legend"
- View all messages in this Thread
On 04/11/2021 03:05, Laurence Lewis wrote:
> The HTML Spec says that the <legend> element is optional for a <fieldset>.
> I am interested to understand if not having a Legend is a WCAG 1.3.1 Info
> and Relationships or 3.2.2 Labels or Instructions.
> I do not believe not naming a Fieldset is a WCAG fail for either sc, and
> would appreciate the opinions of others. Thanks.
It's only a failure of 1.3.1 if there IS something there in the page,
visually, conveyed through presentation (i.e. something that does act as
a legend in this case) that hasn't been correctly marked up as such. If
there isn't anything currently that you can see, it can't fail 1.3.1
If currently the whole group doesn't make any sense (to anybody,
including sighted users) without a legend included, then there is an
argument that it fails 3.2.2. This is more vague/opinionated.
P
--
Patrick H. Lauke
https://www.splintered.co.uk/ | https://github.com/patrickhlauke
https://flickr.com/photos/redux/ | https://www.deviantart.com/redux
twitter: @patrick_h_lauke | skype: patrick_h_lauke
- Next message: Mark Magennis: "Re: HTML Fieldset missing a Legend"
- Previous message: wolfgang.berndorfer@zweiterblick.at: "Re: HTML Fieldset missing a Legend"
- Next message in Thread: Mark Magennis: "Re: HTML Fieldset missing a Legend"
- Previous message in Thread: wolfgang.berndorfer@zweiterblick.at: "Re: HTML Fieldset missing a Legend"
- View all messages in this Thread