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

Mismatch between ARIA and HTML on required radio groups #13

Closed
dylanb opened this issue Nov 20, 2015 · 2 comments
Closed

Mismatch between ARIA and HTML on required radio groups #13

dylanb opened this issue Nov 20, 2015 · 2 comments

Comments

@dylanb
Copy link

dylanb commented Nov 20, 2015

The HTML 5 spec does not allow a required attribute on a fieldset element.

The HTML 5 spec allows a required attribute on a input of type radio

The ARIA spec does not allow aria-required="true" on a radio role

The ARIA spec does allow aria-required on a group role

This makes it difficult for developers to grok the mapping between HTML and ARIA.

With the understanding that ARIA is intended to be bigger than just HTML, is there any good reason for this discrepancy?

@stevefaulkner
Copy link
Collaborator

stevefaulkner commented Nov 11, 2016

@dylanb

The HTML 5 spec allows a required attribute on a input of type radio

The ARIA spec does not allow aria-required="true" on a radio role

it does:

Use the aria-required attribute on any element that is allowed the required attribute in HTML5. MUST NOT be set to false if the required attribute is set.
https://www.w3.org/TR/html-aria/#attr-required

@stevefaulkner
Copy link
Collaborator

closing as there is not an actionable issue for this spec.

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