Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special case: required for radiobuttons #339

Closed
JAWS-test opened this issue Jul 18, 2021 · 1 comment
Closed

Special case: required for radiobuttons #339

JAWS-test opened this issue Jul 18, 2021 · 1 comment

Comments

@JAWS-test
Copy link

The specification says that required maps to aria-required. However, this is not always correct:

  • in HTML, required is only allowed on the single radio button, but not on the fieldset.
  • in ARIA aria-required is only allowed on radiogroup, but not on radiobutton

This should either be mentioned here. Alternatively, the ARIA or HTML specification should be modified to make required really equivalent to aria-required.

Related: whatwg/html#6868, w3c/wcag#1963 and w3c/aria#1512

@scottaohara
Copy link
Member

yes, the way that radio button groups are handled for their constraint validation is unique. but the mapping is accurate for the attribute. HTML already defines how this works, so I don't think HTML AAM needs to restate.

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

No branches or pull requests

2 participants