Skip to content

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

Closed
timogasda wants to merge 2 commits intodequelabs:developfrom
timogasda:fix-allow-aria-roles
Closed

fix(aria-allowed-role): Update allowed roles based on ARIA spec updates#3117
timogasda wants to merge 2 commits intodequelabs:developfrom
timogasda:fix-allow-aria-roles

Conversation

@timogasda
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
Contributor Author

@straker Of course, done!

Copy link
Copy Markdown
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
Copy Markdown
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