WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Do accessibility tools treat 'group' and 'radiogroup' differently?

for

From: Birkir R. Gunnarsson
Date: Jul 16, 2024 7:31AM


The radiogroup role is reserved for radio buttons only.
You can use the aria-required attribute on an element with
role="radiogroup", meaning you have to select one radio button from the
group.

The group role is more generic in nature and marks a group of form
controls (likely grouped because they have a common group label).
These can be checkboxes or radio buttons or text input or whatever.
The aria-required attribute is not allowed on a group role because its
meaning is not clear.


On Tue, Jul 16, 2024 at 9:19 AM H S < <EMAIL REMOVED> > wrote:

> Is there a distinction between 'group' and 'radiogroup' for accessibility
> tools?
> > > > >


--
Work hard. Have fun. Make history.