Skip to content

Commit

Permalink
ci: add WCAG JSON publication GitHub Action workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbert committed May 22, 2024
1 parent 9c53e4a commit 5fbb8dd
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/wcag.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: GitHub Issues as WCAG result

on:
issues:
types:
- opened
- closed
- reopened
- labelled
- unlabelled
push:
branches:
- main

jobs:
publish-wcag-result:
runs-on: ubuntu-latest

steps:
- name: Checkout branch
uses: actions/checkout@v4

- name: Include GitHub Issues as WCAG result
uses: frameless/wcag-issues-action@latest
with:
website: https://loket.digitaal.utrecht.nl/
label-color: D93F0B
owner: frameless
repo: strapi
input: apps/pdc-frontend/wcag-evaluation.json
create-labels: true
create-artifact: true
token: ${{ secrets.GH_ISSUES_TOKEN }}
103 changes: 103 additions & 0 deletions apps/pdc-frontend/wcag-evaluation.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,103 @@
{
"@context": {
"reporter": "http://github.com/w3c/wai-wcag-em-report-tool/",
"wcagem": "http://www.w3.org/TR/WCAG-EM/#",
"Evaluation": "wcagem:procedure",
"defineScope": "wcagem:step1",
"scope": "wcagem:step1a",
"step1b": { "@id": "wcagem:step1b", "@type": "@id" },
"conformanceTarget": "step1b",
"accessibilitySupportBaseline": "wcagem:step1c",
"additionalEvaluationRequirements": "wcagem:step1d",
"exploreTarget": "wcagem:step2",
"essentialFunctionality": "wcagem:step2b",
"pageTypeVariety": "wcagem:step2c",
"technologiesReliedUpon": "wcagem:step2d",
"selectSample": "wcagem:step3",
"structuredSample": "wcagem:step3a",
"randomSample": "wcagem:step3b",
"Website": "wcagem:website",
"Webpage": "wcagem:webpage",
"auditSample": "wcagem:step4",
"reportFindings": "wcagem:step5",
"documentSteps": "wcagem:step5a",
"commissioner": "wcagem:commissioner",
"evaluator": "wcagem:evaluator",
"evaluationSpecifics": "wcagem:step5b",
"WCAG": "http://www.w3.org/TR/WCAG/#",
"WCAG20": "http://www.w3.org/TR/WCAG20/#",
"WCAG21": "http://www.w3.org/TR/WCAG21/#",
"WAI": "http://www.w3.org/WAI/",
"A": "WAI:WCAG2A-Conformance",
"AA": "WAI:WCAG2AA-Conformance",
"AAA": "WAI:WCAG2AAA-Conformance",
"wcagVersion": "WAI:standards-guidelines/wcag/#versions",
"reportToolVersion": "wcagem:reportToolVersion",
"earl": "http://www.w3.org/ns/earl#",
"Assertion": "earl:Assertion",
"TestMode": "earl:TestMode",
"TestCriterion": "earl:TestCriterion",
"TestCase": "earl:TestCase",
"TestRequirement": "earl:TestRequirement",
"TestSubject": "earl:TestSubject",
"TestResult": "earl:TestResult",
"OutcomeValue": "earl:OutcomeValue",
"Pass": "earl:Pass",
"Fail": "earl:Fail",
"CannotTell": "earl:CannotTell",
"NotApplicable": "earl:NotApplicable",
"NotTested": "earl:NotTested",
"assertedBy": "earl:assertedBy",
"mode": "earl:mode",
"result": "earl:result",
"subject": "earl:subject",
"test": "earl:test",
"outcome": "earl:outcome",
"dcterms": "http://purl.org/dc/terms/",
"title": "dcterms:title",
"description": "dcterms:description",
"summary": "dcterms:summary",
"date": "dcterms:date",
"hasPart": "dcterms:hasPart",
"isPartOf": "dcterms:isPartOf",
"id": "@id",
"type": "@type",
"language": "@language"
},
"language": "en",
"type": "Evaluation",
"reportToolVersion": "3.0.3",
"defineScope": {
"id": "_:defineScope",
"scope": {
"description": "De website van het Digitaal Loket van gemeente Utrecht, op loket.digitaal.utrecht.nl",
"title": "Digitaal Loket van gemeente Utrecht"
},
"conformanceTarget": "AA",
"accessibilitySupportBaseline": "",
"additionalEvaluationRequirements": "",
"wcagVersion": "2.1"
},
"exploreTarget": {
"id": "_:exploreTarget",
"essentialFunctionality": "",
"pageTypeVariety": "",
"technologiesReliedUpon": ["HTML", "CSS", "WAI-ARIA", "JavaScript", "SVG"]
},
"selectSample": {},
"auditSample": [],
"reportFindings": {
"date": { "type": "http://www.w3.org/TR/NOTE-datetime", "@value": "2024-05-15" },
"summary": "",
"title": "Audit toegankelijkheid Digitaal Loket gemeente Utrecht",
"commissioner": "Frameless B.V.",
"evaluator": "Savi",
"documentSteps": [
{ "id": "_:about" },
{ "id": "_:defineScope" },
{ "id": "_:exploreTarget" },
{ "id": "_:selectSample" }
],
"evaluationSpecifics": ""
}
}

0 comments on commit 5fbb8dd

Please sign in to comment.