From 2028b054c67dbe5b909a510f4ba56d201cf988ce Mon Sep 17 00:00:00 2001 From: josephdiab <[jrdiab@gmail.com]> Date: Tue, 25 Jul 2023 13:30:46 -0400 Subject: [PATCH] Pre-accessibility assessment for panels --- common/panels/index.json-ld | 55 +++ common/panels/reports/pre-a11y-1-en.html | 15 + common/panels/reports/pre-a11y-1-fr.html | 15 + common/panels/reports/pre-a11y-1.json | 596 +++++++++++++++++++++++ 4 files changed, 681 insertions(+) create mode 100644 common/panels/index.json-ld create mode 100644 common/panels/reports/pre-a11y-1-en.html create mode 100644 common/panels/reports/pre-a11y-1-fr.html create mode 100644 common/panels/reports/pre-a11y-1.json diff --git a/common/panels/index.json-ld b/common/panels/index.json-ld new file mode 100644 index 000000000..4a6d8d241 --- /dev/null +++ b/common/panels/index.json-ld @@ -0,0 +1,55 @@ +{ + "@context": { + "@version": 1.1, + "dct": "http://purl.org/dc/terms/", + "title": { "@id": "dct:title", "@container": "@language" }, + "description": { "@id": "dct:description", "@container": "@language" }, + "modified": "dct:modified" + }, + "title": { + "en": "Panels", + "fr": "Panneaux" + }, + "description": { + "en": "Main Container with alternate tags.", + "fr": "Conteneur principal avec des balises alternatives." + }, + "modified": "2023-07-05", + "componentName": "maincontainer", + "processing": "baseline", + "status": "stable", + "pages": { + "examples": [ + { + "title": "Main Container", + "language": "en", + "path": "maincontainer-en.html" + }, + { + "title": "Conteneur Principal", + "language": "fr", + "path": "maincontainer-fr.html" + }, + { + "title": "Main Container with article", + "language": "en", + "path": "maincontainer-article-en.html" + }, + { + "title": "Conteneur Principal avec article", + "language": "fr", + "path": "maincontainer-article-fr.html" + }, + { + "title": "Main Container with section", + "language": "en", + "path": "maincontainer-section-en.html" + }, + { + "title": "Conteneur Principal avec section", + "language": "fr", + "path": "maincontainer-section-fr.html" + } + ] + } +} diff --git a/common/panels/reports/pre-a11y-1-en.html b/common/panels/reports/pre-a11y-1-en.html new file mode 100644 index 000000000..f72246bdf --- /dev/null +++ b/common/panels/reports/pre-a11y-1-en.html @@ -0,0 +1,15 @@ +--- +{ + "title": "Pre Accessibility assessment #1 - Panels", + "language": "en", + "description": "Pre assessment of the Panels component.", + "tag": "footer", + "parentdir": "footer", + "parentPage": "Footer", + "parentPageURL": "footer", + "altLangPage": "pre-a11y-1-fr.html", + "dateModified": "2023-07-18", + "layout": "assessment_wrote_en-en", + "reportURL": "pre-a11y-1.json" +} +--- diff --git a/common/panels/reports/pre-a11y-1-fr.html b/common/panels/reports/pre-a11y-1-fr.html new file mode 100644 index 000000000..a9a87bc9f --- /dev/null +++ b/common/panels/reports/pre-a11y-1-fr.html @@ -0,0 +1,15 @@ +--- +{ + "title": "Pre Assessment d'accessibilité #1 - Panneaux", + "language": "fr", + "description": "Pre Assessment d'accessibilité pour les panneaux", + "tag": "footer", + "parentdir": "footer", + "parentPage": "Pied de page", + "parentPageURL": "footer", + "altLangPage": "pre-a11y-1-en.html", + "dateModified": "2023-07-18", + "layout": "assessment_wrote_en-fr", + "reportURL": "pre-a11y-1.json" +} +--- diff --git a/common/panels/reports/pre-a11y-1.json b/common/panels/reports/pre-a11y-1.json new file mode 100644 index 000000000..a26776b46 --- /dev/null +++ b/common/panels/reports/pre-a11y-1.json @@ -0,0 +1,596 @@ +{ + "@context": "https://wet-boew.github.io/vocab/context/2023/conformance-report-en.json", + "@type": [ + "earl:Assertion", + "acr:AssessmentReport" + ], + "earl:subject": { + "@id": "_:subject", + "dct:references": "https://wet-boew.github.io/wet-boew-styleguide/design/panels-en.html", + "@type": [ + "earl:TestSubject", + "schema:WebPage" + ], + "dct:description": "Pre assessment of the Panels component.", + "earl:pointer": { + "@type": "oa:CssSelector", + "@value": ".panel" + } + }, + "earl:assertedBy": { + "foaf:name": "Service Canada - Principal Publisher", + "foaf:homepage": "https://github.com/ServiceCanada", + "@type": [ + "earl:Assertor", + "foaf:Organization" + ], + "earl:mainAssertor": { + "foaf:name": "Joseph Diab (Github: @josephdiab)", + "foaf:homepage": "https://github.com/josephdiab", + "@type": [ + "earl:Assertor", + "foaf:Person" + ] + } + }, + "dct:date": "2023-10-10", + "dct:description": "Analyzing and exploring the subject and produce a pre-evaluation of all WCAG 2.1 SC at level AA.", + "acr:involvesExpertise": [ + "wbv:acr/topics#aria", + "Javascript" + ], + "dct:source": "act:rulesets/wcag2x/wcag21_all_levelAA.json", + "acr:standard": "https://www.w3.org/TR/WCAG21", + "acr:conformanceOption": "act:standard/profiles/wcag#levelAA", + "earl:result": [{ + "earl:test": "WCAG21:non-text-content", + "earl:outcome": "earl:untested", + "earl:subject": "_:subject", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:audio-only-and-video-only-prerecorded", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:captions-prerecorded", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:audio-description-or-media-alternative-prerecorded", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:captions-live", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:audio-description-prerecorded", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:info-and-relationships", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:meaningful-sequence", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:sensory-characteristics", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:orientation", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:identify-input-purpose", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:use-of-color", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:audio-control", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:contrast-minimum", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:resize-text", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:image-of-text", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:reflow", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:non-text-contrast", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:text-spacing", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:content-on-hover-or-focus", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:keyboard", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:no-keyboard-trap", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:character-key-shortcuts", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:timing-adjustable", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:pause-stop-hide", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:three-flashes-or-below-threshold", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:bypass-blocks", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:page-titled", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:focus-order", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:link-purpose-in-context", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:multiple-ways", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:headings-and-labels", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:focus-visible", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:pointer-gestures", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:pointer-cancellation", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:label-in-name", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:motion-actuation", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:language-of-page", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:language-of-parts", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:on-focus", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:on-input", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:consistent-navigation", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:consistent-identification", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:error-identification", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:labels-or-instructions", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:error-suggestion", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:error-prevention-legal-financial-data)", + "earl:subject": "_:subject", + "earl:outcome": "earl:inapplicable", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:parsing", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:name-role-value", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + }, + { + "earl:test": "WCAG21:status-messages", + "earl:subject": "_:subject", + "earl:outcome": "earl:untested", + "dct:description": "", + "earl:mode": "earl:unknownMode", + "@type": [ + "earl:TestResult", + "earl:Assertion" + ] + } + ] +}