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

"ARIA state or property is permitted" (5c01ea) should allow more attributes, following "ARIA in HTML" #1573

Closed
Jym77 opened this issue Apr 20, 2021 · 3 comments
Assignees

Comments

@Jym77
Copy link
Collaborator

Jym77 commented Apr 20, 2021

ARIA state or property is permitted only allows for global ARIA attributes and the ones explicitly mentioned in ARIA.
However, ARIA in HTML is having an extended list of attributes (and roles) that are allowed depending on the HTML element. There are more of them than the stuff mentioned in ARIA.

Among other, <input type="password"> have no role which, according to our rule, only allow for global aria-* attribute, but ARIA in HTML of password explicitly allows the attribute allowed on textbox.

Thus, our rule is failing <input type="password" aria-required> since aria-required is not a global attribute, but it shouldn't fail since aria-required is allowed on textbox and therefore on input type="password".

See w3c/aria#1461

Not entirely sure how to salvage the rule without being too verbose…

@WilcoFiers
Copy link
Member

The group is in agreement that this needs to be accounted for in the expectation. Feel free to suggest a change to this.

@WilcoFiers
Copy link
Member

As part of resolving this, we should also check if other rules are impacted by this.

@ajanec01
Copy link
Collaborator

Fixed in #1612

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

3 participants