Skip to content

Forbid mixing of ARIA and native HTML radios in a role=radiogroup - #617

Open
spectranaut wants to merge 1 commit into
gh-pagesfrom
input-radios-aria-radios-dont-mix
Open

spectranaut wants to merge 1 commit into
gh-pagesfrom
input-radios-aria-radios-dont-mix

Conversation

@spectranaut

@spectranaut spectranaut commented Dec 4, 2026 •

Copy link
Copy Markdown
Collaborator

labels: needs implementation commitment, needs changelog entry

The ARIA specifications have never been clear about how to calculate and expose the index of a radio, and that is fixed with with PR against Core-AAM and HTML-AAM: w3c/aria#2919

Additionally, after discussion in w3c/html-aam#598 and an ARIA deep dive meeting (meeting notes), it was decided to prevent the awful user experience of a role=radiogroup used to group both native HTML inputs and ARIA role=radio inputs, we should forbid it on the authoring layer.

test case


Preview | Diff

@scottaohara

Copy link
Copy Markdown
Member

Just talking to @spectranaut about this on a call, takeaways:

  • we should clarify that it is not recommended that authors intermix native radios and aria radios - and if they are to do so then they must handle all keyboard behaviors through scripting, and they must handle all posinset / setsize declarations themselves - the browsers won't do it for them
  • also need to clarify that it would be "OK" for a radio groups to be nested, where, for instance, the parent radio group only used native radios, and a nested radio group used only ARIA radios.
  • this author requirement should be moved to a different section, since the PR currently tries to add a normative requirement to an informative section

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants