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

Add tests for jQuery objects, include/exclude #198

Merged
merged 3 commits into from
Jul 2, 2016
Merged

Conversation

marcysutton
Copy link
Contributor

Closes #194

var target = $('#target')[0];
axe.a11yCheck({ exclude: [target] }, {}, function (results) {
assert.lengthOf(results.violations, 0, 'violations');
assert.lengthOf(results.passes, 11, 'passes');
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@dylanb to confirm this is working as expected, should there be passes for an excluded target that has failures in it (meaning should they run at all)?

Copy link
Contributor

Choose a reason for hiding this comment

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

@marcysutton I believe that they should not run at all

@dylanb
Copy link
Contributor

dylanb commented Jul 2, 2016

please merge into bitbucket develop and master

@dylanb dylanb merged commit 19cf29f into master Jul 2, 2016
@marcysutton marcysutton deleted the jquery-tests branch October 14, 2016 19:00
mrtnvh pushed a commit to mrtnvh/axe-core that referenced this pull request Nov 24, 2023
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.

2 participants