Skip to content

Radio/radiogroup relationship #2685

@giacomo-petri

Description

@giacomo-petri

I know we had a long discussion about this, but I can't remember where we landed on this point. We moved from "Required Owned Elements / Required Context Role" to "Allowed Accessibility Child Roles / Required Accessibility Parent Roles".

But now we have no way to enforce that a radiogroup must contain at least one radio. A radiogroup can include any element (which prevents us from listing radio as an "Allowed Accessibility Child Role") and similarly, a radiogroup isn't always required to be the container of radios, so "Required Accessibility Parent Roles" can't be applied either. Yet, a radiogroup without any radio elements doesn't make sense, does it?

Shouldn't we also have something like "Required Accessibility Child Roles"?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions