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: check invaildrole fails only when all roles are invalid #2075

Merged
merged 3 commits into from
Mar 5, 2020

Conversation

jeeyyy
Copy link
Contributor

@jeeyyy jeeyyy commented Mar 2, 2020

invalidrole should fail only when all roles on a given element are invalid.

Closes issue:

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

@jeeyyy jeeyyy requested a review from a team as a code owner March 2, 2020 14:30
@jeeyyy jeeyyy changed the title fix: check invaildrole fails only when all roles are invalid fix: check invaildrole fails only when all roles are invalid Mar 2, 2020
WilcoFiers
WilcoFiers previously approved these changes Mar 2, 2020
@jeeyyy
Copy link
Contributor Author

jeeyyy commented Mar 2, 2020

@WilcoFiers As I was working on a fix for something else, I pushed into this branch by mistake. I had to reset it, which dismissed the approval. Please do the needy.

straker
straker previously requested changes Mar 2, 2020
lib/checks/aria/invalidrole.js Outdated Show resolved Hide resolved
Co-Authored-By: Steven Lambert <steven.lambert@deque.com>
@jeeyyy jeeyyy requested a review from straker March 2, 2020 16:33
@dequelabs dequelabs deleted a comment from 0K471N0C4WK Mar 4, 2020
@jeeyyy jeeyyy merged commit 74c55f2 into develop Mar 5, 2020
@jeeyyy jeeyyy deleted the fix-2073 branch March 5, 2020 11:31
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