-
Notifications
You must be signed in to change notification settings - Fork 794
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
fix(html-elms): update role allowances for nav element #3402
Conversation
closes dequelabs#3401 allows `none` and `presentation` role on `<nav>` element.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Spacing thing, and then would you mind adding a test case to test/integration/rules/aria-allowed-role/aria-allowed-role.html, so that we can prevent regression.
Also, as a question, how come <main>
isn't allowed role=none, but footer, header, aside and now nav are?
Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
@WilcoFiers added the tests (and also added the tests to my other PR. somehow missed your ask on that). re: |
Reviewed for security. I'm going to merge this despite the failing tests. Those are unrelated to this PR. A fix for that is merging into develop today too. |
* update role allowances for nav element closes #3401 allows `none` and `presentation` role on `<nav>` element. * tests for nav role allowance update * add entries for nav role allowance updates * Update lib/standards/html-elms.js Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com> Co-authored-by: Wilco Fiers <WilcoFiers@users.noreply.github.com>
closes #3401
allows
none
andpresentation
role on<nav>
element.