Skip to content

Commit

Permalink
feat(axe-core-4.10.2): update to use axe-core 4.10.2 (#1395)
Browse files Browse the repository at this point in the history
#### Details

This PR upgrades axe-core to 4.10.2 according to the instructions in
CONTRIBUTING.md.

##### Motivation

feature work 🚀
##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### 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:`
- [x] Verify PR title and final merge commit contain space after `:` for
example `feat(feature): feature title` otherwise it will not be
considered by semantic-release for release.
- [ ] (if applicable) Addresses issue: #0000
- [ ] Added relevant unit tests for your changes
- [x] Ran `yarn precheckin`
- [x] Verified code coverage for the changes made
  • Loading branch information
JeevaniChinthala authored Nov 8, 2024
1 parent cae434e commit 14d54d8
Show file tree
Hide file tree
Showing 15 changed files with 108,357 additions and 109 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"yargs": "^17.0.0"
},
"devDependencies": {
"@axe-core/cli": "^4.9.0",
"@axe-core/puppeteer": "^4.9.0",
"@axe-core/cli": "^4.10.0",
"@axe-core/puppeteer": "^4.10.0",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.136",
"@types/node": "^18.19.57",
Expand All @@ -47,7 +47,7 @@
},
"resolutions": {
"ansi-regex@^4.1.0": "^5.0.1",
"axe-core": "4.9.1",
"axe-core": "4.10.2",
"chromedriver": "^119.0.1"
},
"scripts": {
Expand Down
8 changes: 4 additions & 4 deletions src/__snapshots__/index.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -1388,15 +1388,15 @@ exports[`public sarifReporter API converts empty/minimal axe rawObject input wit
],
"tool": {
"driver": {
"downloadUri": "https://www.npmjs.com/package/axe-core/v/4.9.1",
"fullName": "axe for Web v4.9.1",
"downloadUri": "https://www.npmjs.com/package/axe-core/v/4.10.2",
"fullName": "axe for Web v4.10.2",
"informationUri": "https://www.deque.com/axe/axe-for-web/",
"name": "axe-core",
"properties": {
"microsoft/qualityDomain": "Accessibility",
},
"rules": [],
"semanticVersion": "4.9.1",
"semanticVersion": "4.10.2",
"shortDescription": {
"text": "An open source accessibility rules library for automated testing.",
},
Expand All @@ -1407,7 +1407,7 @@ exports[`public sarifReporter API converts empty/minimal axe rawObject input wit
"name": "WCAG",
},
],
"version": "4.9.1",
"version": "4.10.2",
},
},
},
Expand Down
6 changes: 4 additions & 2 deletions src/cli.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,8 @@ describe('axe-sarif-converter CLI', () => {
${'w3citylights-axe-v4.8.4.axe-cli-v4.9.0.json'}
${'basic-axe-v4.9.1.axe-cli-v4.9.1.json'}
${'w3citylights-axe-v4.9.1.axe-cli-v4.9.1.json'}
${'basic-axe-v4.10.2.axe-cli-v4.10.0.json'}
${'w3citylights-axe-v4.10.2.axe-cli-v4.10.0.json'}
`(
'supports conversion from axe-cli output $inputFile',
async ({ inputFile }) => {
Expand Down Expand Up @@ -206,11 +208,11 @@ describe('axe-sarif-converter CLI', () => {
const testResultsDir = path.join(__dirname, '..', 'test-results');
const basicAxeV2File = path.join(
testResourcesDir,
'basic-axe-v4.9.1.reporter-v2.json',
'basic-axe-v4.10.2.reporter-v2.json',
);
const basicSarifFile = path.join(
testResourcesDir,
'basic-axe-v4.9.1.sarif',
'basic-axe-v4.10.2.sarif',
);

const mkdir = promisify(fs.mkdir);
Expand Down
158 changes: 81 additions & 77 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,81 +48,85 @@ describe('public convertAxeToSarif API', () => {
});

it.each`
inputFile | outputFile
${'basic-axe-v3.2.2.reporter-v2.json'} | ${'basic-axe-v3.2.2.sarif'}
${'w3citylights-axe-v3.2.2.reporter-v2.json'} | ${'w3citylights-axe-v3.2.2.sarif'}
${'basic-axe-v3.3.2.reporter-v1.json'} | ${'basic-axe-v3.3.2.sarif'}
${'basic-axe-v3.3.2.reporter-v2.json'} | ${'basic-axe-v3.3.2.sarif'}
${'w3citylights-axe-v3.3.2.reporter-v1.json'} | ${'w3citylights-axe-v3.3.2.sarif'}
${'w3citylights-axe-v3.3.2.reporter-v2.json'} | ${'w3citylights-axe-v3.3.2.sarif'}
${'basic-axe-v3.4.1.reporter-v1.json'} | ${'basic-axe-v3.4.1.sarif'}
${'basic-axe-v3.4.1.reporter-v2.json'} | ${'basic-axe-v3.4.1.sarif'}
${'w3citylights-axe-v3.4.1.reporter-v1.json'} | ${'w3citylights-axe-v3.4.1.sarif'}
${'w3citylights-axe-v3.4.1.reporter-v2.json'} | ${'w3citylights-axe-v3.4.1.sarif'}
${'basic-axe-v3.4.2.reporter-v1.json'} | ${'basic-axe-v3.4.2.sarif'}
${'basic-axe-v3.4.2.reporter-v2.json'} | ${'basic-axe-v3.4.2.sarif'}
${'w3citylights-axe-v3.4.2.reporter-v1.json'} | ${'w3citylights-axe-v3.4.2.sarif'}
${'w3citylights-axe-v3.4.2.reporter-v2.json'} | ${'w3citylights-axe-v3.4.2.sarif'}
${'basic-axe-v3.5.1.reporter-v1.json'} | ${'basic-axe-v3.5.1.sarif'}
${'basic-axe-v3.5.1.reporter-v2.json'} | ${'basic-axe-v3.5.1.sarif'}
${'w3citylights-axe-v3.5.1.reporter-v1.json'} | ${'w3citylights-axe-v3.5.1.sarif'}
${'w3citylights-axe-v3.5.1.reporter-v2.json'} | ${'w3citylights-axe-v3.5.1.sarif'}
${'basic-axe-v3.5.2.reporter-v1.json'} | ${'basic-axe-v3.5.2.sarif'}
${'basic-axe-v3.5.2.reporter-v2.json'} | ${'basic-axe-v3.5.2.sarif'}
${'w3citylights-axe-v3.5.2.reporter-v1.json'} | ${'w3citylights-axe-v3.5.2.sarif'}
${'w3citylights-axe-v3.5.2.reporter-v2.json'} | ${'w3citylights-axe-v3.5.2.sarif'}
${'basic-axe-v3.5.3.reporter-v1.json'} | ${'basic-axe-v3.5.3.sarif'}
${'basic-axe-v3.5.3.reporter-v2.json'} | ${'basic-axe-v3.5.3.sarif'}
${'w3citylights-axe-v3.5.3.reporter-v1.json'} | ${'w3citylights-axe-v3.5.3.sarif'}
${'w3citylights-axe-v3.5.3.reporter-v2.json'} | ${'w3citylights-axe-v3.5.3.sarif'}
${'basic-axe-v3.5.4.reporter-v1.json'} | ${'basic-axe-v3.5.4.sarif'}
${'basic-axe-v3.5.4.reporter-v2.json'} | ${'basic-axe-v3.5.4.sarif'}
${'w3citylights-axe-v3.5.4.reporter-v1.json'} | ${'w3citylights-axe-v3.5.4.sarif'}
${'w3citylights-axe-v3.5.4.reporter-v2.json'} | ${'w3citylights-axe-v3.5.4.sarif'}
${'basic-axe-v3.5.5.reporter-v1.json'} | ${'basic-axe-v3.5.5.sarif'}
${'basic-axe-v3.5.5.reporter-v2.json'} | ${'basic-axe-v3.5.5.sarif'}
${'w3citylights-axe-v3.5.5.reporter-v1.json'} | ${'w3citylights-axe-v3.5.5.sarif'}
${'w3citylights-axe-v3.5.5.reporter-v2.json'} | ${'w3citylights-axe-v3.5.5.sarif'}
${'basic-axe-v4.0.1.reporter-v1.json'} | ${'basic-axe-v4.0.1.sarif'}
${'basic-axe-v4.0.1.reporter-v2.json'} | ${'basic-axe-v4.0.1.sarif'}
${'w3citylights-axe-v4.0.1.reporter-v1.json'} | ${'w3citylights-axe-v4.0.1.sarif'}
${'w3citylights-axe-v4.0.1.reporter-v2.json'} | ${'w3citylights-axe-v4.0.1.sarif'}
${'basic-axe-v4.0.2.reporter-v1.json'} | ${'basic-axe-v4.0.2.sarif'}
${'basic-axe-v4.0.2.reporter-v2.json'} | ${'basic-axe-v4.0.2.sarif'}
${'w3citylights-axe-v4.0.2.reporter-v1.json'} | ${'w3citylights-axe-v4.0.2.sarif'}
${'w3citylights-axe-v4.0.2.reporter-v2.json'} | ${'w3citylights-axe-v4.0.2.sarif'}
${'basic-axe-v4.1.1.reporter-v1.json'} | ${'basic-axe-v4.1.1.sarif'}
${'basic-axe-v4.1.1.reporter-v2.json'} | ${'basic-axe-v4.1.1.sarif'}
${'w3citylights-axe-v4.1.1.reporter-v1.json'} | ${'w3citylights-axe-v4.1.1.sarif'}
${'w3citylights-axe-v4.1.1.reporter-v2.json'} | ${'w3citylights-axe-v4.1.1.sarif'}
${'basic-axe-v4.2.0.reporter-v1.json'} | ${'basic-axe-v4.2.0.sarif'}
${'basic-axe-v4.2.0.reporter-v2.json'} | ${'basic-axe-v4.2.0.sarif'}
${'w3citylights-axe-v4.2.0.reporter-v1.json'} | ${'w3citylights-axe-v4.2.0.sarif'}
${'w3citylights-axe-v4.2.0.reporter-v2.json'} | ${'w3citylights-axe-v4.2.0.sarif'}
${'basic-axe-v4.3.2.reporter-v1.json'} | ${'basic-axe-v4.3.2.sarif'}
${'basic-axe-v4.3.2.reporter-v2.json'} | ${'basic-axe-v4.3.2.sarif'}
${'w3citylights-axe-v4.3.2.reporter-v1.json'} | ${'w3citylights-axe-v4.3.2.sarif'}
${'w3citylights-axe-v4.3.2.reporter-v2.json'} | ${'w3citylights-axe-v4.3.2.sarif'}
${'basic-axe-v4.4.1.reporter-v1.json'} | ${'basic-axe-v4.4.1.sarif'}
${'basic-axe-v4.4.1.reporter-v2.json'} | ${'basic-axe-v4.4.1.sarif'}
${'w3citylights-axe-v4.4.1.reporter-v1.json'} | ${'w3citylights-axe-v4.4.1.sarif'}
${'w3citylights-axe-v4.4.1.reporter-v2.json'} | ${'w3citylights-axe-v4.4.1.sarif'}
${'basic-axe-v4.6.3.reporter-v1.json'} | ${'basic-axe-v4.6.3.sarif'}
${'basic-axe-v4.6.3.reporter-v2.json'} | ${'basic-axe-v4.6.3.sarif'}
${'w3citylights-axe-v4.6.3.reporter-v1.json'} | ${'w3citylights-axe-v4.6.3.sarif'}
${'w3citylights-axe-v4.6.3.reporter-v2.json'} | ${'w3citylights-axe-v4.6.3.sarif'}
${'basic-axe-v4.7.2.reporter-v1.json'} | ${'basic-axe-v4.7.2.sarif'}
${'basic-axe-v4.7.2.reporter-v2.json'} | ${'basic-axe-v4.7.2.sarif'}
${'w3citylights-axe-v4.7.2.reporter-v1.json'} | ${'w3citylights-axe-v4.7.2.sarif'}
${'w3citylights-axe-v4.7.2.reporter-v2.json'} | ${'w3citylights-axe-v4.7.2.sarif'}
${'basic-axe-v4.8.4.reporter-v1.json'} | ${'basic-axe-v4.8.4.sarif'}
${'basic-axe-v4.8.4.reporter-v2.json'} | ${'basic-axe-v4.8.4.sarif'}
${'w3citylights-axe-v4.8.4.reporter-v1.json'} | ${'w3citylights-axe-v4.8.4.sarif'}
${'w3citylights-axe-v4.8.4.reporter-v2.json'} | ${'w3citylights-axe-v4.8.4.sarif'}
${'basic-axe-v4.9.1.reporter-v1.json'} | ${'basic-axe-v4.9.1.sarif'}
${'basic-axe-v4.9.1.reporter-v2.json'} | ${'basic-axe-v4.9.1.sarif'}
${'w3citylights-axe-v4.9.1.reporter-v1.json'} | ${'w3citylights-axe-v4.9.1.sarif'}
${'w3citylights-axe-v4.9.1.reporter-v2.json'} | ${'w3citylights-axe-v4.9.1.sarif'}
inputFile | outputFile
${'basic-axe-v3.2.2.reporter-v2.json'} | ${'basic-axe-v3.2.2.sarif'}
${'w3citylights-axe-v3.2.2.reporter-v2.json'} | ${'w3citylights-axe-v3.2.2.sarif'}
${'basic-axe-v3.3.2.reporter-v1.json'} | ${'basic-axe-v3.3.2.sarif'}
${'basic-axe-v3.3.2.reporter-v2.json'} | ${'basic-axe-v3.3.2.sarif'}
${'w3citylights-axe-v3.3.2.reporter-v1.json'} | ${'w3citylights-axe-v3.3.2.sarif'}
${'w3citylights-axe-v3.3.2.reporter-v2.json'} | ${'w3citylights-axe-v3.3.2.sarif'}
${'basic-axe-v3.4.1.reporter-v1.json'} | ${'basic-axe-v3.4.1.sarif'}
${'basic-axe-v3.4.1.reporter-v2.json'} | ${'basic-axe-v3.4.1.sarif'}
${'w3citylights-axe-v3.4.1.reporter-v1.json'} | ${'w3citylights-axe-v3.4.1.sarif'}
${'w3citylights-axe-v3.4.1.reporter-v2.json'} | ${'w3citylights-axe-v3.4.1.sarif'}
${'basic-axe-v3.4.2.reporter-v1.json'} | ${'basic-axe-v3.4.2.sarif'}
${'basic-axe-v3.4.2.reporter-v2.json'} | ${'basic-axe-v3.4.2.sarif'}
${'w3citylights-axe-v3.4.2.reporter-v1.json'} | ${'w3citylights-axe-v3.4.2.sarif'}
${'w3citylights-axe-v3.4.2.reporter-v2.json'} | ${'w3citylights-axe-v3.4.2.sarif'}
${'basic-axe-v3.5.1.reporter-v1.json'} | ${'basic-axe-v3.5.1.sarif'}
${'basic-axe-v3.5.1.reporter-v2.json'} | ${'basic-axe-v3.5.1.sarif'}
${'w3citylights-axe-v3.5.1.reporter-v1.json'} | ${'w3citylights-axe-v3.5.1.sarif'}
${'w3citylights-axe-v3.5.1.reporter-v2.json'} | ${'w3citylights-axe-v3.5.1.sarif'}
${'basic-axe-v3.5.2.reporter-v1.json'} | ${'basic-axe-v3.5.2.sarif'}
${'basic-axe-v3.5.2.reporter-v2.json'} | ${'basic-axe-v3.5.2.sarif'}
${'w3citylights-axe-v3.5.2.reporter-v1.json'} | ${'w3citylights-axe-v3.5.2.sarif'}
${'w3citylights-axe-v3.5.2.reporter-v2.json'} | ${'w3citylights-axe-v3.5.2.sarif'}
${'basic-axe-v3.5.3.reporter-v1.json'} | ${'basic-axe-v3.5.3.sarif'}
${'basic-axe-v3.5.3.reporter-v2.json'} | ${'basic-axe-v3.5.3.sarif'}
${'w3citylights-axe-v3.5.3.reporter-v1.json'} | ${'w3citylights-axe-v3.5.3.sarif'}
${'w3citylights-axe-v3.5.3.reporter-v2.json'} | ${'w3citylights-axe-v3.5.3.sarif'}
${'basic-axe-v3.5.4.reporter-v1.json'} | ${'basic-axe-v3.5.4.sarif'}
${'basic-axe-v3.5.4.reporter-v2.json'} | ${'basic-axe-v3.5.4.sarif'}
${'w3citylights-axe-v3.5.4.reporter-v1.json'} | ${'w3citylights-axe-v3.5.4.sarif'}
${'w3citylights-axe-v3.5.4.reporter-v2.json'} | ${'w3citylights-axe-v3.5.4.sarif'}
${'basic-axe-v3.5.5.reporter-v1.json'} | ${'basic-axe-v3.5.5.sarif'}
${'basic-axe-v3.5.5.reporter-v2.json'} | ${'basic-axe-v3.5.5.sarif'}
${'w3citylights-axe-v3.5.5.reporter-v1.json'} | ${'w3citylights-axe-v3.5.5.sarif'}
${'w3citylights-axe-v3.5.5.reporter-v2.json'} | ${'w3citylights-axe-v3.5.5.sarif'}
${'basic-axe-v4.0.1.reporter-v1.json'} | ${'basic-axe-v4.0.1.sarif'}
${'basic-axe-v4.0.1.reporter-v2.json'} | ${'basic-axe-v4.0.1.sarif'}
${'w3citylights-axe-v4.0.1.reporter-v1.json'} | ${'w3citylights-axe-v4.0.1.sarif'}
${'w3citylights-axe-v4.0.1.reporter-v2.json'} | ${'w3citylights-axe-v4.0.1.sarif'}
${'basic-axe-v4.0.2.reporter-v1.json'} | ${'basic-axe-v4.0.2.sarif'}
${'basic-axe-v4.0.2.reporter-v2.json'} | ${'basic-axe-v4.0.2.sarif'}
${'w3citylights-axe-v4.0.2.reporter-v1.json'} | ${'w3citylights-axe-v4.0.2.sarif'}
${'w3citylights-axe-v4.0.2.reporter-v2.json'} | ${'w3citylights-axe-v4.0.2.sarif'}
${'basic-axe-v4.1.1.reporter-v1.json'} | ${'basic-axe-v4.1.1.sarif'}
${'basic-axe-v4.1.1.reporter-v2.json'} | ${'basic-axe-v4.1.1.sarif'}
${'w3citylights-axe-v4.1.1.reporter-v1.json'} | ${'w3citylights-axe-v4.1.1.sarif'}
${'w3citylights-axe-v4.1.1.reporter-v2.json'} | ${'w3citylights-axe-v4.1.1.sarif'}
${'basic-axe-v4.2.0.reporter-v1.json'} | ${'basic-axe-v4.2.0.sarif'}
${'basic-axe-v4.2.0.reporter-v2.json'} | ${'basic-axe-v4.2.0.sarif'}
${'w3citylights-axe-v4.2.0.reporter-v1.json'} | ${'w3citylights-axe-v4.2.0.sarif'}
${'w3citylights-axe-v4.2.0.reporter-v2.json'} | ${'w3citylights-axe-v4.2.0.sarif'}
${'basic-axe-v4.3.2.reporter-v1.json'} | ${'basic-axe-v4.3.2.sarif'}
${'basic-axe-v4.3.2.reporter-v2.json'} | ${'basic-axe-v4.3.2.sarif'}
${'w3citylights-axe-v4.3.2.reporter-v1.json'} | ${'w3citylights-axe-v4.3.2.sarif'}
${'w3citylights-axe-v4.3.2.reporter-v2.json'} | ${'w3citylights-axe-v4.3.2.sarif'}
${'basic-axe-v4.4.1.reporter-v1.json'} | ${'basic-axe-v4.4.1.sarif'}
${'basic-axe-v4.4.1.reporter-v2.json'} | ${'basic-axe-v4.4.1.sarif'}
${'w3citylights-axe-v4.4.1.reporter-v1.json'} | ${'w3citylights-axe-v4.4.1.sarif'}
${'w3citylights-axe-v4.4.1.reporter-v2.json'} | ${'w3citylights-axe-v4.4.1.sarif'}
${'basic-axe-v4.6.3.reporter-v1.json'} | ${'basic-axe-v4.6.3.sarif'}
${'basic-axe-v4.6.3.reporter-v2.json'} | ${'basic-axe-v4.6.3.sarif'}
${'w3citylights-axe-v4.6.3.reporter-v1.json'} | ${'w3citylights-axe-v4.6.3.sarif'}
${'w3citylights-axe-v4.6.3.reporter-v2.json'} | ${'w3citylights-axe-v4.6.3.sarif'}
${'basic-axe-v4.7.2.reporter-v1.json'} | ${'basic-axe-v4.7.2.sarif'}
${'basic-axe-v4.7.2.reporter-v2.json'} | ${'basic-axe-v4.7.2.sarif'}
${'w3citylights-axe-v4.7.2.reporter-v1.json'} | ${'w3citylights-axe-v4.7.2.sarif'}
${'w3citylights-axe-v4.7.2.reporter-v2.json'} | ${'w3citylights-axe-v4.7.2.sarif'}
${'basic-axe-v4.8.4.reporter-v1.json'} | ${'basic-axe-v4.8.4.sarif'}
${'basic-axe-v4.8.4.reporter-v2.json'} | ${'basic-axe-v4.8.4.sarif'}
${'w3citylights-axe-v4.8.4.reporter-v1.json'} | ${'w3citylights-axe-v4.8.4.sarif'}
${'w3citylights-axe-v4.8.4.reporter-v2.json'} | ${'w3citylights-axe-v4.8.4.sarif'}
${'basic-axe-v4.9.1.reporter-v1.json'} | ${'basic-axe-v4.9.1.sarif'}
${'basic-axe-v4.9.1.reporter-v2.json'} | ${'basic-axe-v4.9.1.sarif'}
${'w3citylights-axe-v4.9.1.reporter-v1.json'} | ${'w3citylights-axe-v4.9.1.sarif'}
${'w3citylights-axe-v4.9.1.reporter-v2.json'} | ${'w3citylights-axe-v4.9.1.sarif'}
${'basic-axe-v4.10.2.reporter-v1.json'} | ${'basic-axe-v4.10.2.sarif'}
${'basic-axe-v4.10.2.reporter-v2.json'} | ${'basic-axe-v4.10.2.sarif'}
${'w3citylights-axe-v4.10.2.reporter-v1.json'} | ${'w3citylights-axe-v4.10.2.sarif'}
${'w3citylights-axe-v4.10.2.reporter-v2.json'} | ${'w3citylights-axe-v4.10.2.sarif'}
`(
'converts pinned v1/v2 input $inputFile to pinned output $outputFile',
({ inputFile, outputFile }) => {
Expand Down Expand Up @@ -168,8 +172,8 @@ describe('public sarifReporter API', () => {
// Since the integration tests of the raw converter involve global page/axe state,
// it isn't very meaningful to test cases that involve old axe versions here.
it.each`
inputFile | outputFile
${'basic-axe-v4.9.1.reporter-raw.json'} | ${'basic-axe-v4.9.1.sarif'}
inputFile | outputFile
${'basic-axe-v4.10.2.reporter-raw.json'} | ${'basic-axe-v4.10.2.sarif'}
`(
'converts pinned raw input $inputFile to pinned output $outputFile',
async ({ inputFile, outputFile }) => {
Expand Down
72 changes: 72 additions & 0 deletions src/test-resources/basic-axe-v4.10.2.axe-cli-v4.10.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
[
{
"testEngine": {
"name": "axe-core",
"version": "4.10.2"
},
"testRunner": {
"name": "axe"
},
"testEnvironment": {
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/119.0.5997.0 Safari/537.36",
"windowWidth": 800,
"windowHeight": 600,
"orientationAngle": 0,
"orientationType": "landscape-primary"
},
"timestamp": "2024-10-24T06:25:43.989Z",
"url": "file:///C:/Users/v-jeevanic/source/repos/axe-sarif-converter/src/test-resources/basic.html",
"toolOptions": {
"runOnly": {
"type": "rule",
"values": [
"document-title"
]
},
"reporter": "v1"
},
"inapplicable": [],
"passes": [],
"incomplete": [],
"violations": [
{
"id": "document-title",
"impact": "serious",
"tags": [
"cat.text-alternatives",
"wcag2a",
"wcag242",
"TTv5",
"TT12.a",
"EN-301-549",
"EN-9.2.4.2",
"ACT"
],
"description": "Ensure 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.10/document-title?application=webdriverjs",
"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"
],
"failureSummary": "Fix any of the following:\n Document does not have a non-empty <title> element"
}
]
}
]
}
]
Loading

0 comments on commit 14d54d8

Please sign in to comment.