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

Axe core throws exception for wcag21a tag #1391

Closed
lpriyasiva opened this issue Feb 26, 2019 · 3 comments
Closed

Axe core throws exception for wcag21a tag #1391

lpriyasiva opened this issue Feb 26, 2019 · 3 comments
Assignees
Labels
core Issues in the core code (lib/core) fix Bug fixes

Comments

@lpriyasiva
Copy link

Expectation: Axe 3.1.2 should ignore wcag21a tag
Actual: Axe 3.1.2 throws an exception if wcag21a tag is included in the ruleset

Motivation: In comply, we have rules in a standard template file. We are unable to add wcag21a as a tag in case new standards get added for it.


axe-core version: 3.1.2
axe-webdriver, extension or other integration version: X.Y.Z

Browser and Assistive Technology versions

For Tooling issues:
- Node version: XX  
- Platform:  
@WilcoFiers
Copy link
Contributor

Howdy, thank you for reporting. There are currently no wcag21a rules, so that is why axe-core is throwing the error. I talked to @dylanb about this a few weeks ago and we concluded this erroring out when it finds no matching tags is probably a bit too aggressive. We'll make sure to have this work a little more gracefully.

@WilcoFiers WilcoFiers added fix Bug fixes core Issues in the core code (lib/core) labels Mar 1, 2019
@straker
Copy link
Contributor

straker commented Jun 5, 2019

I believed this was fixed in #1290. Both axe.getRules(['badTag']) and axe.run({ runOnly: ['badTag'] }) do not throw errors

@WilcoFiers WilcoFiers added this to the Axe-core 3.4 milestone Jun 7, 2019
@chandana7393
Copy link

chandana7393 commented Jun 13, 2019

There is no wcag21a in Attest ruleset and also in comply Testing standards there is consistency over everywhere.Instead of wcag21a there are using wcag21aa.
ubuntu_regression_comply_server
Attest_ruleset
Tested Environment:
Attest - 2.5.0.15720v
Comply server Url - https://comply-qa-centos-core.dequelabs.com
Comply version - v6.3.1.5792

@WilcoFiers WilcoFiers removed this from the Axe-core 3.4 milestone Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issues in the core code (lib/core) fix Bug fixes
Projects
None yet
Development

No branches or pull requests

5 participants