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": "