diff --git a/package.json b/package.json index d33c1b79..5e0325da 100644 --- a/package.json +++ b/package.json @@ -14,13 +14,13 @@ "yarn": "^1.15.1" }, "dependencies": { + "@types/sarif": "2.1.1", "axe-core": "^3.2.2" }, "devDependencies": { "@types/jest": "^24.0.12", "@types/lodash": "^4.14.123", "@types/node": "^11.13.9", - "@types/sarif": "^2.1.1", "jest": "^24.7.1", "jest-circus": "^24.7.1", "jest-junit": "^6.4.0", diff --git a/src/__snapshots__/index.test.ts.snap b/src/__snapshots__/index.test.ts.snap index 7555fd17..2b821933 100644 --- a/src/__snapshots__/index.test.ts.snap +++ b/src/__snapshots__/index.test.ts.snap @@ -1,6 +1,6 @@ // Jest Snapshot v1, https://goo.gl/fbAQLP -exports[`axeRawSarifConverter21 converts AxeRawResults input to sarif v2.1.2 log that matches a pinned snapshot of that sarif log 1`] = ` +exports[`public convertAxeToSarif API converts axe v2 input from a real scan to the pinned SARIF output snapshot 1`] = ` Object { "runs": Array [ Object { @@ -8,7 +8,7 @@ Object { Object { "location": Object { "index": 0, - "uri": undefined, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", }, "roles": Array [ "analysisTarget", @@ -30,15132 +30,14858 @@ Object { }, "invocations": Array [ Object { - "endTimeUtc": undefined, + "endTimeUtc": "2019-04-11T00:59:07.749Z", "executionSuccessful": true, - "startTimeUtc": undefined, + "startTimeUtc": "2019-04-11T00:59:07.749Z", }, ], - "results": Array [], - "taxonomies": Array [ + "results": Array [ Object { - "fullName": "Web Content Accessibility Guidelines (WCAG) 2.1", - "guid": "ca34e0e1-5faf-4f55-a989-cdae42a98f18", - "informationUri": "https://www.w3.org/TR/WCAG21", - "isComprehensive": true, - "name": "WCAG", - "organization": "W3C", - "taxa": Array [ + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "id": "best-practice", - "name": "Best Practice", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\32 5px\\"]:nth-child(2) > td[bgcolor=\\"\\\\#A9B8BF\\"][width=\\"\\\\31 50px\\"] > font[color=\\"\\\\#41545D\\"][size=\\"\\\\32 \\"] > b", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Free Penguins", + }, + }, + }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element has insufficient color contrast of 3.88 (foreground color: #41545d, background color: #a9b8bf, font size: 9.8pt, font weight: bold). Expected contrast ratio of 4.5:1.", + "text": "Fix any of the following: Element has insufficient color contrast of 3.88 (foreground color: #41545d, background color: #a9b8bf, font size: 9.8pt, font weight: bold). Expected contrast ratio of 4.5:1.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-content", - "id": "wcag111", - "name": "WCAG 1.1.1", - "shortDescription": Object { - "text": "Non-text Content", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\32 5px\\"]:nth-child(7) > td[bgcolor=\\"\\\\#A9B8BF\\"][width=\\"\\\\31 50px\\"] > font[color=\\"\\\\#41545D\\"][size=\\"\\\\32 \\"] > b", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "More City Parks", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element has insufficient color contrast of 3.88 (foreground color: #41545d, background color: #a9b8bf, font size: 9.8pt, font weight: bold). Expected contrast ratio of 4.5:1.", + "text": "Fix any of the following: Element has insufficient color contrast of 3.88 (foreground color: #41545d, background color: #a9b8bf, font size: 9.8pt, font weight: bold). Expected contrast ratio of 4.5:1.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/audio-only-and-video-only-prerecorded", - "id": "wcag121", - "name": "WCAG 1.2.1", - "shortDescription": Object { - "text": "Audio-only and Video-only (Prerecorded)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "html", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- The <html> element does not have a lang attribute.", + "text": "Fix any of the following: The element does not have a lang attribute.", + }, + "ruleId": "html-has-lang", + "ruleIndex": 31, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/captions-prerecorded", - "id": "wcag122", - "name": "WCAG 1.2.2", - "shortDescription": Object { - "text": "Captions (Prerecorded)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_left_top\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/audio-description-or-media-alternative-prerecorded", - "id": "wcag123", - "name": "WCAG 1.2.3", - "shortDescription": Object { - "text": "Audio Description or Media Alternative (Prerecorded)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_top\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/captions-live", - "id": "wcag124", - "name": "WCAG 1.2.4", - "shortDescription": Object { - "text": "Captions (Live)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_right_top\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/audio-description-prerecorded", - "id": "wcag125", - "name": "WCAG 1.2.5", - "shortDescription": Object { - "text": "Audio Description (Prerecorded)", - }, - }, - Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/sign-language-prerecorded", - "id": "wcag126", - "name": "WCAG 1.2.6", - "shortDescription": Object { - "text": "Sign Language (Prerecorded)", - }, - }, - Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/extended-audio-description-prerecorded", - "id": "wcag127", - "name": "WCAG 1.2.7", - "shortDescription": Object { - "text": "Extended Audio Description (Prerecorded)", - }, - }, - Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/media-alternative-prerecorded", - "id": "wcag128", - "name": "WCAG 1.2.8", - "shortDescription": Object { - "text": "Media Alternative (Prerecorded)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_left\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/audio-only-live", - "id": "wcag129", - "name": "WCAG 1.2.9", - "shortDescription": Object { - "text": "Audio-only (Live)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"top_logo_next_end\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/info-and-relationships", - "id": "wcag131", - "name": "WCAG 1.3.1", - "shortDescription": Object { - "text": "Info and Relationships", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"top_weather\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/meaningful-sequence", - "id": "wcag132", - "name": "WCAG 1.3.2", - "shortDescription": Object { - "text": "Meaningful Sequence", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"top_logo_next_start\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/sensory-characteristics", - "id": "wcag133", - "name": "WCAG 1.3.3", - "shortDescription": Object { - "text": "Sensory Characteristics", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"mark\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/orientation", - "id": "wcag134", - "name": "WCAG 1.3.4", - "shortDescription": Object { - "text": "Orientation", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[colspan=\\"\\\\35 \\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"][width=\\"\\\\37 80px\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/identify-input-purpose", - "id": "wcag135", - "name": "WCAG 1.3.5", - "shortDescription": Object { - "text": "Identify Input Purpose", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\31 55px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/identify-purpose", - "id": "wcag136", - "name": "WCAG 1.3.6", - "shortDescription": Object { - "text": "Identify Purpose", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[width=\\"\\\\31 \\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/use-of-color", - "id": "wcag141", - "name": "WCAG 1.4.1", - "shortDescription": Object { - "text": "Use of Color", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[name=\\"nav_home\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/reflow", - "id": "wcag1410", - "name": "WCAG 1.4.10", - "shortDescription": Object { - "text": "Reflow", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\31 px\\"]:nth-child(3) > td[width=\\"\\\\31 54px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/non-text-contrast", - "id": "wcag1411", - "name": "WCAG 1.4.11", - "shortDescription": Object { - "text": "Non-text Contrast", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"nav_news\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/text-spacing", - "id": "wcag1412", - "name": "WCAG 1.4.12", - "shortDescription": Object { - "text": "Text Spacing", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\31 px\\"]:nth-child(5) > td[width=\\"\\\\31 54px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/content-on-hover-or-focus", - "id": "wcag1413", - "name": "WCAG 1.4.13", - "shortDescription": Object { - "text": "Content on Hover or Focus", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[name=\\"nav_facts\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/audio-control", - "id": "wcag142", - "name": "WCAG 1.4.2", - "shortDescription": Object { - "text": "Audio Control", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\31 px\\"]:nth-child(7) > td[width=\\"\\\\31 54px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum", - "id": "wcag143", - "name": "WCAG 1.4.3", - "shortDescription": Object { - "text": "Contrast (Minimum)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"nav_survey\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/resize-text", - "id": "wcag144", - "name": "WCAG 1.4.4", - "shortDescription": Object { - "text": "Resize text", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "tr[height=\\"\\\\31 px\\"]:nth-child(9) > td[width=\\"\\\\31 54px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/images-of-text", - "id": "wcag145", - "name": "WCAG 1.4.5", - "shortDescription": Object { - "text": "Images of Text", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\32 0px\\"]:nth-child(2) > img[src$=\\"blank_5x5\\\\.gif\\"][height=\\"\\\\35 px\\"][width=\\"\\\\32 0px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/contrast-enhanced", - "id": "wcag146", - "name": "WCAG 1.4.6", - "shortDescription": Object { - "text": "Contrast (Enhanced)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(1) > img[src$=\\"headline_middle\\\\.gif\\"][width=\\"\\\\32 3\\"][height=\\"\\\\32 4\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/low-or-no-background-audio", - "id": "wcag147", - "name": "WCAG 1.4.7", - "shortDescription": Object { - "text": "Low or No Background Audio", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(2) > img[src$=\\"headline_middle\\\\.gif\\"][width=\\"\\\\32 3\\"][height=\\"\\\\32 4\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/visual-presentation", - "id": "wcag148", - "name": "WCAG 1.4.8", - "shortDescription": Object { - "text": "Visual Presentation", - }, - }, - Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/images-of-text-no-exception", - "id": "wcag149", - "name": "WCAG 1.4.9", - "shortDescription": Object { - "text": "Images of Text (No Exception)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(3) > img[src$=\\"headline_middle\\\\.gif\\"][width=\\"\\\\32 3\\"][height=\\"\\\\32 4\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/keyboard", - "id": "wcag211", - "name": "WCAG 2.1.1", - "shortDescription": Object { - "text": "Keyboard", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\32 0px\\"]:nth-child(4) > img[src$=\\"blank_5x5\\\\.gif\\"][height=\\"\\\\35 px\\"][width=\\"\\\\32 0px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/no-keyboard-trap", - "id": "wcag212", - "name": "WCAG 2.1.2", - "shortDescription": Object { - "text": "No Keyboard Trap", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"marker2_t\\\\.gif\\"][height=\\"\\\\33 0px\\"][width=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/keyboard-no-exception", - "id": "wcag213", - "name": "WCAG 2.1.3", - "shortDescription": Object { - "text": "Keyboard (No Exception)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\31 51px\\"][background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/character-key-shortcuts", - "id": "wcag214", - "name": "WCAG 2.1.4", - "shortDescription": Object { - "text": "Character Key Shortcuts", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"teaser_right1\\\\.jpg\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/timing-adjustable", - "id": "wcag221", - "name": "WCAG 2.2.1", - "shortDescription": Object { - "text": "Timing Adjustable", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[background=\\"\\\\.\\\\/img\\\\/marker2_w\\\\.gif\\"][width=\\"\\\\31 50px\\"] > img[src$=\\"marker2_w\\\\.gif\\"][width=\\"\\\\37 8px\\"][height=\\"\\\\31 px\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide", - "id": "wcag222", - "name": "WCAG 2.2.2", - "shortDescription": Object { - "text": "Pause, Stop, Hide", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"teaser_right2\\\\.jpg\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/no-timing", - "id": "wcag223", - "name": "WCAG 2.2.3", - "shortDescription": Object { - "text": "No Timing", - }, - }, - Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/interruptions", - "id": "wcag224", - "name": "WCAG 2.2.4", - "shortDescription": Object { - "text": "Interruptions", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_right\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/re-authenticating", - "id": "wcag225", - "name": "WCAG 2.2.5", - "shortDescription": Object { - "text": "Re-authenticating", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_bottom_left\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/timeouts", - "id": "wcag226", - "name": "WCAG 2.2.6", - "shortDescription": Object { - "text": "Timeouts", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_bottom\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/three-flashes-or-below-threshold", - "id": "wcag231", - "name": "WCAG 2.3.1", - "shortDescription": Object { - "text": "Three Flashes or Below Threshold", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "img[src$=\\"border_bottom_right\\\\.gif\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "Fix any of the following: +- Element does not have an alt attribute. +- aria-label attribute does not exist or is empty. +- aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. +- Element has no title attribute or the title attribute is empty. +- Element's default semantics were not overridden with role=\\"presentation\\". +- Element's default semantics were not overridden with role=\\"none\\".", + "text": "Fix any of the following: Element does not have an alt attribute. aria-label attribute does not exist or is empty. aria-labelledby attribute does not exist, references elements that do not exist or references elements that are empty. Element has no title attribute or the title attribute is empty. Element's default semantics were not overridden with role=\\"presentation\\". Element's default semantics were not overridden with role=\\"none\\".", + }, + "ruleId": "image-alt", + "ruleIndex": 34, + }, + Object { + "kind": "fail", + "level": "error", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/three-flashes", - "id": "wcag232", - "name": "WCAG 2.3.2", - "shortDescription": Object { - "text": "Three Flashes", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "select", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 21.", + "text": "The following tests passed: Element has sufficient color contrast of 21.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/error-prevention-legal-financial-data", - "id": "wcag334", - "name": "WCAG 3.3.4", - "shortDescription": Object { - "text": "Error Prevention (Legal, Financial, Data)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\33 80px\\"] > font[color=\\"BLACK\\"][size=\\"\\\\32 \\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "  Traffic: Construction work on Main Road", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/help", - "id": "wcag335", - "name": "WCAG 3.3.5", - "shortDescription": Object { - "text": "Help", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "td[width=\\"\\\\33 80px\\"] > font[color=\\"BLACK\\"][size=\\"\\\\32 \\"] > b", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Traffic:", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/error-prevention-all", - "id": "wcag336", - "name": "WCAG 3.3.6", - "shortDescription": Object { - "text": "Error Prevention (All)", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "#WEATHER > font[color=\\"BLACK\\"][size=\\"\\\\32 \\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/parsing", - "id": "wcag411", - "name": "WCAG 4.1.1", - "shortDescription": Object { - "text": "Parsing", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "#WEATHER > font[color=\\"BLACK\\"][size=\\"\\\\32 \\"] > b", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Today:", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/name-role-value", - "id": "wcag412", - "name": "WCAG 4.1.2", - "shortDescription": Object { - "text": "Name, Role, Value", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".headline", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "

Welcome to CityLights

", + }, + }, }, }, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 7.92.", + "text": "The following tests passed: Element has sufficient color contrast of 7.92.", + }, + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "helpUri": "https://www.w3.org/WAI/WCAG21/Understanding/status-messages", - "id": "wcag413", - "name": "WCAG 4.1.3", - "shortDescription": Object { - "text": "Status Messages", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": "#main > p:nth-child(2)", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "

Citylights is the new portal for visitors and residents. Find out what's on, book tickets, and get the latest news.

", + }, + }, }, }, ], - "version": "2.1", - }, - ], - "tool": Object { - "driver": Object { - "downloadUri": "https://www.npmjs.com/package/axe-core/v/3.2.2", - "fullName": "axe for Web v3.2.2", - "informationUri": "https://www.deque.com/axe/axe-for-web/", - "name": "axe-core", - "properties": Object { - "microsoft/qualityDomain": "Accessibility", - }, - "rules": Array [], - "semanticVersion": "3.2.2", - "shortDescription": Object { - "text": "An open source accessibility rules library for automated testing.", + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 21.", + "text": "The following tests passed: Element has sufficient color contrast of 21.", }, - "supportedTaxonomies": Array [ + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ Object { - "guid": "ca34e0e1-5faf-4f55-a989-cdae42a98f18", - "index": 0, - "name": "WCAG", + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(1) > a[href$=\\"news\\\\.html\\"][onfocus=\\"blur\\\\(\\\\)\\\\;\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Heat wave linked to temperatures", + }, + }, + }, }, ], - "version": "3.2.2", - }, - }, - }, - ], - "version": "2.1.0", -} -`; - -exports[`axeToSarifConverter use generated AxeResults object matches pinned snapshot of sarifv2 generated from an actual AxeResults object 1`] = ` -Object { - "runs": Array [ - Object { - "files": Object { - "https://www.w3.org/WAI/demos/bad/before/home.html": Object { - "mimeType": "text/html", - "properties": Object { - "tags": Array [ - "target", - ], - "title": "", + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", }, + "ruleId": "color-contrast", + "ruleIndex": 18, }, - }, - "invocations": Array [ Object { - "endTime": "2019-04-11T00:59:07.749Z", - "startTime": "2019-04-11T00:59:07.749Z", - }, - ], - "properties": Object {}, - "resources": Object { - "rules": Object { - "accesskeys": Object { - "fullDescription": Object { - "text": "Ensures every accesskey attribute value is unique", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/accesskeys?application=axe-puppeteer", - "id": "accesskeys", - "name": Object { - "text": "accesskey attribute value must be unique", - }, - "properties": Object {}, - }, - "area-alt": Object { - "fullDescription": Object { - "text": "Ensures elements of image maps have alternate text", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/area-alt?application=axe-puppeteer", - "id": "area-alt", - "name": Object { - "text": "Active elements must have alternate text", - }, - "properties": Object {}, - }, - "aria-allowed-attr": Object { - "fullDescription": Object { - "text": "Ensures ARIA attributes are allowed for an element's role", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-allowed-attr?application=axe-puppeteer", - "id": "aria-allowed-attr", - "name": Object { - "text": "Elements must only use allowed ARIA attributes", - }, - "properties": Object {}, - }, - "aria-allowed-role": Object { - "fullDescription": Object { - "text": "Ensures role attribute has an appropriate value for the element", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-allowed-role?application=axe-puppeteer", - "id": "aria-allowed-role", - "name": Object { - "text": "ARIA role must be appropriate for the element", + "kind": "pass", + "level": "none", + "locations": Array [ + Object { + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(2) > a[href$=\\"news\\\\.html\\"][onfocus=\\"blur\\\\(\\\\)\\\\;\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Man Gets Nine Months in Violin Case", + }, + }, + }, }, - "properties": Object {}, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", }, - "aria-dpub-role-fallback": Object { - "fullDescription": Object { - "text": "Ensures unsupported DPUB roles are only used on elements with implicit fallback roles", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-dpub-role-fallback?application=axe-puppeteer", - "id": "aria-dpub-role-fallback", - "name": Object { - "text": "Unsupported DPUB ARIA roles should be used on elements with implicit fallback roles", + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ + Object { + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".newsheadline:nth-child(3) > a[href$=\\"news\\\\.html\\"][onfocus=\\"blur\\\\(\\\\)\\\\;\\"]", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "Lack of brains hinders research", + }, + }, + }, }, - "properties": Object {}, + ], + "message": Object { + "markdown": "The following tests passed: +- Element has sufficient color contrast of 17.93.", + "text": "The following tests passed: Element has sufficient color contrast of 17.93.", }, - "aria-hidden-body": Object { - "fullDescription": Object { - "text": "Ensures aria-hidden='true' is not present on the document body.", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-hidden-body?application=axe-puppeteer", - "id": "aria-hidden-body", - "name": Object { - "text": "aria-hidden='true' must not be present on the document body", + "ruleId": "color-contrast", + "ruleIndex": 18, + }, + Object { + "kind": "pass", + "level": "none", + "locations": Array [ + Object { + "logicalLocations": Array [ + Object { + "fullyQualifiedName": ".story:nth-child(1) > span", + "kind": "element", + }, + ], + "physicalLocation": Object { + "artifactLocation": Object { + "index": 0, + "uri": "https://www.w3.org/WAI/demos/bad/before/home.html", + }, + "region": Object { + "snippet": Object { + "text": "", + }, + }, + }, }, - "properties": Object {}, - }, - "aria-hidden-focus": Object { - "fullDescription": Object { - "text": "Ensures aria-hidden elements do not contain focusable elements", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-hidden-focus?application=axe-puppeteer", - "id": "aria-hidden-focus", - "name": Object { - "text": "ARIA hidden element must not contain focusable elements", - }, - "properties": Object {}, - }, - "aria-required-attr": Object { - "fullDescription": Object { - "text": "Ensures elements with ARIA roles have all required ARIA attributes", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-required-attr?application=axe-puppeteer", - "id": "aria-required-attr", - "name": Object { - "text": "Required ARIA attributes must be provided", - }, - "properties": Object {}, - }, - "aria-required-children": Object { - "fullDescription": Object { - "text": "Ensures elements with an ARIA role that require child roles contain them", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-required-children?application=axe-puppeteer", - "id": "aria-required-children", - "name": Object { - "text": "Certain ARIA roles must contain particular children", - }, - "properties": Object {}, - }, - "aria-required-parent": Object { - "fullDescription": Object { - "text": "Ensures elements with an ARIA role that require parent roles are contained by them", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-required-parent?application=axe-puppeteer", - "id": "aria-required-parent", - "name": Object { - "text": "Certain ARIA roles must be contained by particular parents", - }, - "properties": Object {}, - }, - "aria-roles": Object { - "fullDescription": Object { - "text": "Ensures all elements with a role attribute use a valid value", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-roles?application=axe-puppeteer", - "id": "aria-roles", - "name": Object { - "text": "ARIA roles used must conform to valid values", - }, - "properties": Object {}, - }, - "aria-valid-attr": Object { - "fullDescription": Object { - "text": "Ensures attributes that begin with aria- are valid ARIA attributes", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-valid-attr?application=axe-puppeteer", - "id": "aria-valid-attr", - "name": Object { - "text": "ARIA attributes must conform to valid names", - }, - "properties": Object {}, - }, - "aria-valid-attr-value": Object { - "fullDescription": Object { - "text": "Ensures all ARIA attributes have valid values", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/aria-valid-attr-value?application=axe-puppeteer", - "id": "aria-valid-attr-value", - "name": Object { - "text": "ARIA attributes must conform to valid values", - }, - "properties": Object {}, - }, - "autocomplete-valid": Object { - "fullDescription": Object { - "text": "Ensure the autocomplete attribute is correct and suitable for the form field", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/autocomplete-valid?application=axe-puppeteer", - "id": "autocomplete-valid", - "name": Object { - "text": "autocomplete attribute must be used correctly", - }, - "properties": Object {}, - }, - "blink": Object { - "fullDescription": Object { - "text": "Ensures elements are not used", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/blink?application=axe-puppeteer", - "id": "blink", - "name": Object { - "text": " elements are deprecated and must not be used", - }, - "properties": Object {}, - }, - "button-name": Object { - "fullDescription": Object { - "text": "Ensures buttons have discernible text", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/button-name?application=axe-puppeteer", - "id": "button-name", - "name": Object { - "text": "Buttons must have discernible text", - }, - "properties": Object {}, - }, - "bypass": Object { - "fullDescription": Object { - "text": "Ensures each page has at least one mechanism for a user to bypass navigation and jump straight to the content", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/bypass?application=axe-puppeteer", - "id": "bypass", - "name": Object { - "text": "Page must have means to bypass repeated blocks", - }, - "properties": Object {}, - }, - "checkboxgroup": Object { - "fullDescription": Object { - "text": "Ensures related elements have a group and that the group designation is consistent", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/checkboxgroup?application=axe-puppeteer", - "id": "checkboxgroup", - "name": Object { - "text": "Checkbox inputs with the same name attribute value must be part of a group", - }, - "properties": Object {}, - }, - "color-contrast": Object { - "fullDescription": Object { - "text": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/color-contrast?application=axe-puppeteer", - "id": "color-contrast", - "name": Object { - "text": "Elements must have sufficient color contrast", - }, - "properties": Object {}, - }, - "definition-list": Object { - "fullDescription": Object { - "text": "Ensures
elements are structured correctly", - }, - "helpUri": "https://dequeuniversity.com/rules/axe/3.2/definition-list?application=axe-puppeteer", - "id": "definition-list", - "name": Object { - "text": "
elements must only directly contain properly-ordered
and
groups,