Skip to content

Instantly share code, notes, and snippets.

@thibaudcolas
Created May 9, 2025 12:59
Show Gist options
  • Save thibaudcolas/6ba290a39b16ea3a96f409116feba095 to your computer and use it in GitHub Desktop.
Save thibaudcolas/6ba290a39b16ea3a96f409116feba095 to your computer and use it in GitHub Desktop.
OpenACR VPAT 2.4 WCAG 2.1 to VPAT 2.5 WCAG 2.2

Here is what I had noted on the work needed:

For what it’s worth – I tried updating my report based on 2.4-edition-wcag-2.1-508-eu-en.yaml to the new 2.5 edition WCAG 2.2 here, it worked great 🌈. All I had to do was manually add the data for the additional SCs in my YAML report, then use the CLI with this PR to output Markdown and HTML. Thank you!

Diff between the 2.4 and 2.5 reports:

diff --git a/audits/acr/acr_wagtail_5.2_2.4-edition-wcag-2.1-508-en.yaml b/audits/acr/acr_wagtail_5.2_2.5-edition-wcag-2.2-508-en.yaml
index 7d634f6..d35843f 100644
--- a/audits/acr/acr_wagtail_5.2_2.4-edition-wcag-2.1-508-en.yaml
+++ b/audits/acr/acr_wagtail_5.2_2.5-edition-wcag-2.2-508-en.yaml
@@ -20,7 +20,7 @@ vendor:
   phone: ""
   website: "https://wagtail.org/"
 report_date: 15/12/2023
-last_modified_date: 22/12/2023
+last_modified_date: 02/01/2024
 version: 1
 notes: >-
   Testing based on https://static-wagtail-v5-2.netlify.app/admin/. This report
@@ -56,7 +56,7 @@ repository: "https://github.com/wagtail/accessibility"
 feedback: "https://github.com/wagtail/accessibility"
 license: CC0-1.0
 related_openacrs: []
-catalog: 2.4-edition-wcag-2.1-508-en
+catalog: 2.5-edition-wcag-2.2-508-en
 chapters:
   success_criteria_level_a:
     notes: ""
@@ -662,6 +662,26 @@ chapters:
             adherence:
               level: supports
               notes: ""
+      - num: 3.2.6
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: ""
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+              notes: >-
+                Wagtail’s sidebar contains a dedicated menu for all Help
+                resources.
       - num: 3.3.1
         components:
           - name: web
@@ -713,6 +733,28 @@ chapters:
               notes: >-
                 All form fields requiring input in the CMS have labels. Some
                 also have help text for instructions.
+      - num: 3.3.7
+        components:
+          - name: web
+            adherence:
+              level: partially-supports
+              notes: >-
+                Forms created with Wagtail have no way for CMS users to define
+                the autocomplete attribute with relevant autofill metadata.
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: >-
+                There is no content that requires user input in our Editor Guide
+                or developer documentation.
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+              notes: ""
       - num: 4.1.1
         components:
           - name: web
@@ -1100,6 +1142,70 @@ chapters:
             adherence:
               level: supports
               notes: ""
+      - num: 2.4.11
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: >-
+                Wagtail doesn’t enforce any specific styles in its output that
+                would affect this SC.
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+      - num: 2.5.7
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: >-
+                Wagtail doesn’t enforce any specific styles in its output that
+                would affect this SC.
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: does-not-support
+              notes: >-
+                The page reordering mechanism supports dragging, keyboard
+                interactions, but no single-pointer operations.
+      - num: 2.5.8
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: >-
+                Wagtail doesn’t enforce any specific styles in its output that
+                would affect this SC.
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: partially-supports
+              notes: >-
+                There is a known issue with the anchors of collapsible panels
+                on mobile viewports. See:
+                https://github.com/wagtail/wagtail/issues/11411
       - num: 3.1.2
         components:
           - name: web
@@ -1236,6 +1342,24 @@ chapters:
                 For legal and financial requirements specifically, Wagtail
                 supports turning on different publication workflows for
                 different pages or sections of a site.
+      - num: 3.3.8
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: ""
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+              notes: ""
       - num: 4.1.3
         components:
           - name: web
@@ -1631,7 +1755,7 @@ chapters:
             adherence:
               level: supports
               notes: >-
-                Wagtail doesn’t enforce any specific HTM in its output that
+                Wagtail doesn’t enforce any specific HTML in its output that
                 would affect this SC.
           - name: electronic-docs
             adherence:
@@ -1645,6 +1769,26 @@ chapters:
             adherence:
               level: supports
               notes: All pages contain headings where sub-sections are present.
+      - num: 2.4.12
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: >-
+                Wagtail doesn’t enforce any specific styles in its output that
+                would affect this SC.
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+              notes: ""
       - num: 2.5.5
         components:
           - name: web
@@ -1836,6 +1980,24 @@ chapters:
                 Though a large number of authoring actions are reversible, not
                 all are. See
                 https://wagtail.org/accessibility/atag-audit/#a411-content-changes-reversible-minimum
+      - num: 3.3.9
+        components:
+          - name: web
+            adherence:
+              level: supports
+              notes: ""
+          - name: electronic-docs
+            adherence:
+              level: supports
+              notes: ""
+          - name: software
+            adherence:
+              level: not-applicable
+              notes: ""
+          - name: authoring-tool
+            adherence:
+              level: supports
+              notes: ""
   functional_performance_criteria:
     notes: ""
     disabled: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment