WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: HTML Fieldset missing a Legend

for

From: wolfgang.berndorfer
Date: Nov 4, 2021 9:00AM


If I navigate in an option group (e.g., Yes/No) without fieldset and legend, a Screen Reader can't technically announce the associated Question.

So, for me it would be a clear failure of 1.3.1 and 4.1.2.

An exception probably would be if You gave each option a clarifying name with aria-label etc.
I wouldn't generally advice this technique because of double needs for managing updates.

But also: For UX for SR keep the legend short and precise:
Listening to a verbose description for each item of a group of options or checkboxes is annoying.

Wolfgang