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-level): New check for aria-level > 6 as needs review #3061

Merged
merged 4 commits into from
Jul 9, 2021

Conversation

clottman
Copy link
Contributor

@clottman clottman commented Jul 2, 2021

If an element has aria-level > 6, flag the element as Needs Review.

Closes issue: #3041

@clottman clottman requested a review from straker July 2, 2021 17:51
@clottman clottman requested a review from a team as a code owner July 2, 2021 17:51
straker
straker previously requested changes Jul 6, 2021
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.

Overall the code is good. Just a few minor things in the test.

checkContext.reset();
});

it('should return true if aria-level is 6', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This and the next test title are switched (or the contents are switched, one of the two)

assert.isTrue(checkEvaluate.apply(checkContext, params));
});

it('should return true if aria-level is negative', function() {
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a duplicate of the previous test

@clottman clottman requested a review from straker July 6, 2021 20:36
@clottman clottman changed the title feat(aria-level): New check for aria-level > 6 as needs review fix(aria-level): New check for aria-level > 6 as needs review Jul 8, 2021
@WilcoFiers WilcoFiers merged commit 73d3ae1 into develop Jul 9, 2021
@WilcoFiers WilcoFiers deleted the 3041-aria-level-check branch July 9, 2021 16:09
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