-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(axe-core-4.2.0): add axe core 4.2.0 support (#660)
#### Details Per usual, this doesn't have any new behavior changes to the library or impact for customers; this adds pinning test cases and documents that we have verified support for 4.2.0, following the axe-core update process outlined in the README. ##### Motivation Keep support up to date with latest axe-core version, keep web/service/libs in sync ##### Context microsoft/accessibility-insights-web#4155 #### Pull request checklist <!-- If a checklist item is not applicable to this change, write "n/a" in the checkbox --> - [x] PR title respects [Conventional Commits](https://www.conventionalcommits.org) (starts with `fix:`, `feat:`, etc, and is suitable for user-facing release notes) - [x] PR contains no breaking changes, **OR** description of both PR **and final merge commit** starts with `BREAKING CHANGE:` - [n/a] (if applicable) Addresses issue: #0000 - [x] Added relevant unit tests for your changes - [x] Ran `yarn precheckin` - [x] Verified code coverage for the changes made
- Loading branch information
Showing
17 changed files
with
107,830 additions
and
137 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
[ | ||
{ | ||
"inapplicable": [], | ||
"incomplete": [], | ||
"passes": [], | ||
"testEngine": { | ||
"name": "axe-core", | ||
"version": "4.2.0" | ||
}, | ||
"testEnvironment": { | ||
"orientationAngle": 0, | ||
"orientationType": "landscape-primary", | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/90.0.4430.93 Safari/537.36", | ||
"windowHeight": 600, | ||
"windowWidth": 800 | ||
}, | ||
"testRunner": { | ||
"name": "axe" | ||
}, | ||
"timestamp": "2021-04-30T21:12:27.690Z", | ||
"toolOptions": { | ||
"reporter": "v1", | ||
"runOnly": { | ||
"type": "rule", | ||
"values": [ | ||
"document-title" | ||
] | ||
} | ||
}, | ||
"url": "file:///C:/repos/axe-sarif-converter/src/test-resources/basic.html", | ||
"violations": [ | ||
{ | ||
"description": "Ensures each HTML document contains a non-empty <title> element", | ||
"help": "Documents must have <title> element to aid in navigation", | ||
"helpUrl": "https://dequeuniversity.com/rules/axe/4.2/document-title?application=webdriverjs", | ||
"id": "document-title", | ||
"impact": "serious", | ||
"nodes": [ | ||
{ | ||
"all": [], | ||
"any": [ | ||
{ | ||
"data": null, | ||
"id": "doc-has-title", | ||
"impact": "serious", | ||
"message": "Document does not have a non-empty <title> element", | ||
"relatedNodes": [] | ||
} | ||
], | ||
"failureSummary": "Fix any of the following:\n Document does not have a non-empty <title> element", | ||
"html": "<html class=\"deque-axe-is-ready\"><head></head><body>\n</body><script>document.documentElement.classList.add(\"deque-axe-is-ready\");</script></html>", | ||
"impact": "serious", | ||
"none": [], | ||
"target": [ | ||
"html" | ||
] | ||
} | ||
], | ||
"tags": [ | ||
"cat.text-alternatives", | ||
"wcag2a", | ||
"wcag242", | ||
"ACT" | ||
] | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
[ | ||
{ | ||
"id": "document-title", | ||
"result": "failed", | ||
"pageLevel": false, | ||
"impact": "serious", | ||
"tags": [ | ||
"cat.text-alternatives", | ||
"wcag2a", | ||
"wcag242", | ||
"ACT" | ||
], | ||
"description": "Ensures each HTML document contains a non-empty <title> element", | ||
"help": "Documents must have <title> element to aid in navigation", | ||
"helpUrl": "https://dequeuniversity.com/rules/axe/4.2/document-title?application=axe-puppeteer", | ||
"inapplicable": [], | ||
"passes": [], | ||
"incomplete": [], | ||
"violations": [ | ||
{ | ||
"any": [ | ||
{ | ||
"id": "doc-has-title", | ||
"data": null, | ||
"relatedNodes": [], | ||
"impact": "serious", | ||
"message": "Document does not have a non-empty <title> element" | ||
} | ||
], | ||
"all": [], | ||
"none": [], | ||
"node": { | ||
"selector": [ | ||
"html" | ||
], | ||
"source": "<html><head></head><body>\n</body></html>", | ||
"xpath": [ | ||
"/html" | ||
], | ||
"ancestry": [ | ||
"html" | ||
] | ||
}, | ||
"impact": "serious", | ||
"result": "failed" | ||
} | ||
] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"testEngine": { | ||
"name": "axe-core", | ||
"version": "4.2.0" | ||
}, | ||
"testRunner": { | ||
"name": "axe" | ||
}, | ||
"testEnvironment": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/91.0.4469.0 Safari/537.36", | ||
"windowWidth": 800, | ||
"windowHeight": 600, | ||
"orientationAngle": 0, | ||
"orientationType": "portrait-primary" | ||
}, | ||
"timestamp": "2000-01-02T03:04:05.006Z", | ||
"url": "http://localhost/", | ||
"toolOptions": { | ||
"xpath": true, | ||
"runOnly": { | ||
"type": "rule", | ||
"values": [ | ||
"document-title" | ||
] | ||
}, | ||
"reporter": "v1" | ||
}, | ||
"violations": [ | ||
{ | ||
"id": "document-title", | ||
"impact": "serious", | ||
"tags": [ | ||
"cat.text-alternatives", | ||
"wcag2a", | ||
"wcag242", | ||
"ACT" | ||
], | ||
"description": "Ensures each HTML document contains a non-empty <title> element", | ||
"help": "Documents must have <title> element to aid in navigation", | ||
"helpUrl": "https://dequeuniversity.com/rules/axe/4.2/document-title?application=axe-puppeteer", | ||
"nodes": [ | ||
{ | ||
"any": [ | ||
{ | ||
"id": "doc-has-title", | ||
"data": null, | ||
"relatedNodes": [], | ||
"impact": "serious", | ||
"message": "Document does not have a non-empty <title> element" | ||
} | ||
], | ||
"all": [], | ||
"none": [], | ||
"impact": "serious", | ||
"html": "<html><head></head><body>\n</body></html>", | ||
"target": [ | ||
"html" | ||
], | ||
"xpath": [ | ||
"/html" | ||
], | ||
"failureSummary": "Fix any of the following:\n Document does not have a non-empty <title> element" | ||
} | ||
] | ||
} | ||
], | ||
"passes": [], | ||
"incomplete": [], | ||
"inapplicable": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,69 @@ | ||
{ | ||
"testEngine": { | ||
"name": "axe-core", | ||
"version": "4.2.0" | ||
}, | ||
"testRunner": { | ||
"name": "axe" | ||
}, | ||
"testEnvironment": { | ||
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/91.0.4469.0 Safari/537.36", | ||
"windowWidth": 800, | ||
"windowHeight": 600, | ||
"orientationAngle": 0, | ||
"orientationType": "portrait-primary" | ||
}, | ||
"timestamp": "2000-01-02T03:04:05.006Z", | ||
"url": "http://localhost/", | ||
"toolOptions": { | ||
"xpath": true, | ||
"runOnly": { | ||
"type": "rule", | ||
"values": [ | ||
"document-title" | ||
] | ||
}, | ||
"reporter": "v2" | ||
}, | ||
"violations": [ | ||
{ | ||
"id": "document-title", | ||
"impact": "serious", | ||
"tags": [ | ||
"cat.text-alternatives", | ||
"wcag2a", | ||
"wcag242", | ||
"ACT" | ||
], | ||
"description": "Ensures each HTML document contains a non-empty <title> element", | ||
"help": "Documents must have <title> element to aid in navigation", | ||
"helpUrl": "https://dequeuniversity.com/rules/axe/4.2/document-title?application=axe-puppeteer", | ||
"nodes": [ | ||
{ | ||
"any": [ | ||
{ | ||
"id": "doc-has-title", | ||
"data": null, | ||
"relatedNodes": [], | ||
"impact": "serious", | ||
"message": "Document does not have a non-empty <title> element" | ||
} | ||
], | ||
"all": [], | ||
"none": [], | ||
"impact": "serious", | ||
"html": "<html><head></head><body>\n</body></html>", | ||
"target": [ | ||
"html" | ||
], | ||
"xpath": [ | ||
"/html" | ||
] | ||
} | ||
] | ||
} | ||
], | ||
"passes": [], | ||
"incomplete": [], | ||
"inapplicable": [] | ||
} |
Oops, something went wrong.