WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: required or aria required usage

for

From: Jared Smith
Date: May 6, 2020 9:13AM


I think <fieldset aria-required="true"> would be best. I'm not sure on
the support for this yet. Also, the semantics seem a bit off because
checkboxes inherently mean they can be checked or not, which means
that they are not required, whereas aria-required on the fieldset
means that something is required.

Probably best of all is to ensure that this is clear in the text
instructions, optimally in a fieldset legend, along with good error
messaging and handling

Jared