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

fix(aria-allowed-role): Update allowed roles based on ARIA spec updates #3117

Closed
wants to merge 2 commits into from

Conversation

timogasda
Copy link
Contributor

Updating some of the allowed role rules to reflect the latest changes to the ARIA spec.

  • <b> now allows any roles
  • <nav> now also allows menu, menubar, tablist
  • <svg> now allows any roles

Based on ARIA spec: https://www.w3.org/TR/html-aria/

Closes issue: #3082

@timogasda timogasda requested a review from a team as a code owner August 9, 2021 15:13
@WilcoFiers WilcoFiers self-requested a review August 10, 2021 15:12
@WilcoFiers
Copy link
Contributor

@timogasda Thank you for the PR! We were actually working on this too, but got a little side tracked. @straker will be reviewing this.

@WilcoFiers WilcoFiers requested a review from straker August 10, 2021 15:21
@straker
Copy link
Contributor

straker commented Aug 11, 2021

Nice! Could you also add allowedRoles: false to the progress element? I think that's the last one for the update.

* `<b>` now allows any roles
* `<nav>` now also allows `menu`, `menubar`, `tablist`
* `<svg>` now allows any roles

Based on ARIA spec: https://www.w3.org/TR/html-aria/
@timogasda timogasda force-pushed the fix-allow-aria-roles branch from 7270d92 to 50892ce Compare August 12, 2021 09:57
@timogasda
Copy link
Contributor Author

@straker Of course, done!

Copy link
Contributor

@straker straker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for doing that. Great job.

@straker
Copy link
Contributor

straker commented Aug 18, 2021

There's currently an issue with our CircleCI config that doesn't allow the test scripts to run from outside contributors. The only work around we've found so far is for us to create a new branch and then cherry-pick your changes into it and open a new pr. I'm going to do that and then close this pr. Sorry about that.

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

Successfully merging this pull request may close these issues.

3 participants