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

Rule idea: role is permitted for element #2042

Open
WilcoFiers opened this issue Apr 4, 2023 · 0 comments · May be fixed by #2084
Open

Rule idea: role is permitted for element #2042

WilcoFiers opened this issue Apr 4, 2023 · 0 comments · May be fixed by #2084
Assignees

Comments

@WilcoFiers
Copy link
Member

The gist of it is to test that the explicit role is allowed on the element. This would test requirements outlined in HTML in ARIA

https://www.w3.org/TR/html-aria/#docconformance

Example: <button role="heading"> would not be allowed because the button element is only allowed to have certain roles.

@Jym77 Jym77 self-assigned this Jul 13, 2023
@Jym77 Jym77 linked a pull request Jul 13, 2023 that will close this issue
7 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants