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(region-rule): allow live regions with explicit roles #1999

Merged
merged 1 commit into from Jan 27, 2020

Conversation

madalynrose
Copy link
Contributor

@madalynrose madalynrose commented Jan 27, 2020

The region rule should always allow content in an ARIA live region. The current code fails the rule based on role before it gets to the aria-live check. This fix moves that check up so a region with role="alert" and aria-live is allowed.

Closes issue: #1992

Reviewer checks

Required fields, to be filled out by PR reviewer(s)

  • Follows the commit message policy, appropriate for next version
  • Code is reviewed for security

@madalynrose madalynrose requested a review from a team as a code owner January 27, 2020 15:58
@claassistantio
Copy link

claassistantio commented Jan 27, 2020

CLA assistant check
All committers have signed the CLA.

@straker
Copy link
Contributor

straker commented Jan 27, 2020

Awesome, thanks for the pr. LGTM, just want @WilcoFiers to take a look to make sure I didn't miss anything

@WilcoFiers WilcoFiers changed the title update region rule to allow live regions with explicit roles fix(region-rule): allow live regions with explicit roles Jan 27, 2020
@WilcoFiers WilcoFiers merged commit b49bd95 into dequelabs:develop Jan 27, 2020
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.

None yet

4 participants