diff --git a/templates/topic/index.json-ld b/templates/topic/index.json-ld index a0877519b..2e437655d 100644 --- a/templates/topic/index.json-ld +++ b/templates/topic/index.json-ld @@ -72,6 +72,18 @@ "language": "fr", "path": "topic-doc-fr.html" } + ], + "reports": [ + { + "title": "Accessibility assessment #1 - GC topic template", + "language": "en", + "path": "reports/a11y-1-en.html" + }, + { + "title": "Évaluation d'accessibilité #1 - Gabarits de page de sujet GC", + "language": "fr", + "path": "reports/a11y-1-fr.html" + } ] }, "dependencies": { diff --git a/templates/topic/reports/a11y-1-en.html b/templates/topic/reports/a11y-1-en.html new file mode 100644 index 000000000..ca81542fa --- /dev/null +++ b/templates/topic/reports/a11y-1-en.html @@ -0,0 +1,11 @@ +--- +{ + "title": "Accessibility assessment #1 - GC topic template", + "language": "en", + "description": "Evaluation of the GC topic template in order to determine if it is aligned with our design and is compliant to our accessibility guideline when used as is without any special customization.", + "altLangPage": "a11y-1-fr.html", + "dateModified": "2024-09-18", + "layout": "assessment_wrote_en-en", + "reportURL": "a11y-1.json" +} +--- diff --git a/templates/topic/reports/a11y-1-fr.html b/templates/topic/reports/a11y-1-fr.html new file mode 100644 index 000000000..bbae38415 --- /dev/null +++ b/templates/topic/reports/a11y-1-fr.html @@ -0,0 +1,11 @@ +--- +{ + "title": "Évaluation d'accessibilité #1 - Gabarits de page de sujet GC", + "language": "fr", + "description": "Évaluation des gabarits de page de sujet GC afin de déterminer s'il est aligné avec notre conception et est conforme à nos lignes directrices en matière d'accessibilité lorsqu'il est utilisé tel quel sans aucune personnalisation particulière.", + "altLangPage": "a11y-1-en.html", + "dateModified": "2024-09-18", + "layout": "assessment_wrote_en-fr", + "reportURL": "a11y-1.json" +} +--- diff --git a/templates/topic/reports/a11y-1.json b/templates/topic/reports/a11y-1.json new file mode 100644 index 000000000..e143bca10 --- /dev/null +++ b/templates/topic/reports/a11y-1.json @@ -0,0 +1,638 @@ +{ + "@context": "https://wet-boew.github.io/vocab/context/2023/assessment-report-en.json-ld", + "@type": [ + "earl:Assertion", + "acr:AssessmentReport" + ], + "dct:date": "2024-10-03", + "earl:subject": { + "@id": "_:subject", + "dct:references": [ + "https://wet-boew.github.io/GCWeb/templates/topic/topic-en.html", + "https://wet-boew.github.io/GCWeb/templates/topic/topic-stackedheader-en.html" + ], + "@type": [ + "earl:TestSubject", + "schema:WebPage" + ], + "dct:description": "Evalutation and testing only of the component inside the main content area that is required for the topic template, in exception of the page details section.", + "oa:hasState": [ + { + "@type": "acr:MediaQueryList", + "acr:stateValue": "(min-width: 992px) and (max-width: 1199px)" + } + ], + "earl:pointer": { + "@type": "oa:CssSelector", + "@value": "main" + } + }, + "dct:description": "Evaluation of the GC topic template in order to determine if it is aligned with our design and is compliant to our accessibility guideline when used as is without any special customization. The pages were assessed to ensure that they meet the Web Content Accessibility Guideline by manually testing each success criteria.", + "earl:result": [ + { + "earl:test": "WCAG21:non-text-content", + "earl:subject": { + "@id": "_non-text-content_itm1", + "dct:isPartOf": "_:subject", + "@type": ["earl:TestSubject", "schema:WebPageElement"], + "dct:description": "Right-aligned image in the introduction block" + }, + "earl:result": [ + { + "earl:test": "act:rules/wcag2x/sc/1_1_1_situation_a", + "earl:outcome": "earl:passed", + "earl:mode": "earl:manual", + "earl:subject": "_non-text-content_itm1", + "dct:description": "Image includes an alt tag to describe the image content." + } + ], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "Non-text content includes text alternative that serves the equivalent purpose.", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:audio-only-and-video-only-prerecorded", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:captions-prerecorded", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:audio-description-or-media-alternative-prerecorded", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:captions-live", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:audio-description-prerecorded", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:info-and-relationships", + "earl:subject": { + "@id": "_info-and-relationships_itm1", + "dct:isPartOf": "_:subject", + "@type": ["earl:TestSubject", "schema:WebPageElement"], + "dct:description": "" + }, + "earl:result": [ + { + "earl:test": "WCAG2xTech:html/H48", + "earl:outcome": "earl:passed", + "earl:mode": "earl:manual", + "earl:subject": "_info-and-relationships_itm1", + "dct:description": "h1,h2, and h3 tags are used to identify headings and subheadings, respectively." + }, + { + "earl:test": "act:rules/wcag2x/sc/1_3_1_situation_a", + "earl:outcome": "earl:passed", + "earl:mode": "earl:manual", + "earl:subject": "_info-and-relationships_itm1", + "dct:description": "ul tags are used for groups of links." + } + ], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "The page provides semantic structure, including headings and lists, to make information and relationships clear and accessible.", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:meaningful-sequence", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:sensory-characteristics", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:orientation", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:identify-input-purpose", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:use-of-color", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:audio-control", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:contrast-minimum", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:resize-text", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:image-of-text", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:reflow", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:non-text-contrast", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:text-spacing", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:content-on-hover-or-focus", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:keyboard", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:no-keyboard-trap", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:character-key-shortcuts", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:timing-adjustable", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:pause-stop-hide", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:three-flashes-or-below-threshold", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:byNot tested-blocks", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:page-titled", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:focus-order", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:link-purpose-in-context", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:multiple-ways", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:headings-and-labels", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:focus-visible", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:pointer-gestures", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:pointer-cancellation", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:label-in-name", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:motion-actuation", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:language-of-page", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:language-of-parts", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:on-focus", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:on-input", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:consistent-navigation", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:consistent-identification", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:error-identification", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:labels-or-instructions", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:error-suggestion", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:error-prevention-legal-financial-data)", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + }, + { + "earl:test": "WCAG21:parsing", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:name-role-value", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:forEvaluation", + "acr:relevancy": "acr:forEvaluation", + "dct:description": "", + "earl:outcome": "earl:passed" + }, + { + "earl:test": "WCAG21:status-messages", + "earl:subject": "_:subject", + "earl:result": [], + "acr:asset": [], + "earl:mode": "earl:manual", + "acr:severity": "acr:notRelevant", + "acr:relevancy": "acr:notRelevant", + "dct:description": "", + "earl:outcome": "earl:inapplicable" + } + ], + "acr:standard": "https://www.w3.org/TR/WCAG21", + "acr:conformanceOption": "act:standard/profiles/wcag#levelAA", + "acr:stateValue": "(min-width: 992px) and (max-width: 1199px)", + "earl:assertedBy": { + "@type": [ + "earl:Assertor", + "foaf:Organization" + ], + "earl:mainAssertor": { + "@type": [ + "earl:Assertor", + "foaf:Person" + ], + "foaf:name": "Brahim Mahadi Wachilli", + "foaf:homepage": "https://github.com/BrahimMahadi" + }, + "foaf:name": "Service Canada - Principal Publisher", + "foaf:homepage": "https://github.com/ServiceCanada" + }, + "foaf:name": "Service Canada - Principal Publisher", + "foaf:homepage": "https://github.com/ServiceCanada", + "workspace-id": "0" +}