From bf3779518e9623108dddf93f770fa5fa70d1d96c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Sep 2023 07:20:23 +0000 Subject: [PATCH] Bump axe-core from 4.7.2 to 4.8.2 in /thirdparty/WCAG Bumps [axe-core](https://github.com/dequelabs/axe-core) from 4.7.2 to 4.8.2. - [Release notes](https://github.com/dequelabs/axe-core/releases) - [Changelog](https://github.com/dequelabs/axe-core/blob/develop/CHANGELOG.md) - [Commits](https://github.com/dequelabs/axe-core/compare/v4.7.2...v4.8.2) --- updated-dependencies: - dependency-name: axe-core dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .../Templates/NFE/WCAG-Tabel-Gegenereerd.md | 56 +++++++++---------- thirdparty/WCAG/package-lock.json | 14 ++--- thirdparty/WCAG/package.json | 2 +- thirdparty/WCAG/wcag.py | 11 ++-- 4 files changed, 43 insertions(+), 40 deletions(-) diff --git a/Content/Templates/NFE/WCAG-Tabel-Gegenereerd.md b/Content/Templates/NFE/WCAG-Tabel-Gegenereerd.md index 7e2c5e60..deb475d7 100644 --- a/Content/Templates/NFE/WCAG-Tabel-Gegenereerd.md +++ b/Content/Templates/NFE/WCAG-Tabel-Gegenereerd.md @@ -1,11 +1,11 @@ -| Item | Omschrijving | Niveau | Axe-core 4.7.2 regels | +| Item | Omschrijving | Niveau | Axe-core 4.8.2 regels | | :--- | :--- | :--- | :--- | | Principe 1 | [Perceivable](https://www.w3.org/TR/WCAG21/#perceivable) | | | | Richtlijn 1.1 | [Text Alternatives](https://www.w3.org/TR/WCAG21/#text-alternatives) | | | -| Succes criterium 1.1.1 | [Non-text Content](https://www.w3.org/TR/WCAG21/#non-text-content) | A | [aria-meter-name](https://dequeuniversity.com/rules/axe/4.7/aria-meter-name?application=axeAPI), [aria-progressbar-name](https://dequeuniversity.com/rules/axe/4.7/aria-progressbar-name?application=axeAPI), [image-alt](https://dequeuniversity.com/rules/axe/4.7/image-alt?application=axeAPI), [input-image-alt](https://dequeuniversity.com/rules/axe/4.7/input-image-alt?application=axeAPI), [object-alt](https://dequeuniversity.com/rules/axe/4.7/object-alt?application=axeAPI), [role-img-alt](https://dequeuniversity.com/rules/axe/4.7/role-img-alt?application=axeAPI), [svg-img-alt](https://dequeuniversity.com/rules/axe/4.7/svg-img-alt?application=axeAPI) | +| Succes criterium 1.1.1 | [Non-text Content](https://www.w3.org/TR/WCAG21/#non-text-content) | A | [aria-meter-name](https://dequeuniversity.com/rules/axe/4.8/aria-meter-name?application=axeAPI), [aria-progressbar-name](https://dequeuniversity.com/rules/axe/4.8/aria-progressbar-name?application=axeAPI), [image-alt](https://dequeuniversity.com/rules/axe/4.8/image-alt?application=axeAPI), [input-image-alt](https://dequeuniversity.com/rules/axe/4.8/input-image-alt?application=axeAPI), [object-alt](https://dequeuniversity.com/rules/axe/4.8/object-alt?application=axeAPI), [role-img-alt](https://dequeuniversity.com/rules/axe/4.8/role-img-alt?application=axeAPI), [svg-img-alt](https://dequeuniversity.com/rules/axe/4.8/svg-img-alt?application=axeAPI) | | Richtlijn 1.2 | [Time-based Media](https://www.w3.org/TR/WCAG21/#time-based-media) | | | -| Succes criterium 1.2.1 | [Audio-only and Video-only (Prerecorded)](https://www.w3.org/TR/WCAG21/#audio-only-and-video-only-prerecorded) | A | [audio-caption](https://dequeuniversity.com/rules/axe/4.7/audio-caption?application=axeAPI) | -| Succes criterium 1.2.2 | [Captions (Prerecorded)](https://www.w3.org/TR/WCAG21/#captions-prerecorded) | A | [video-caption](https://dequeuniversity.com/rules/axe/4.7/video-caption?application=axeAPI) | +| Succes criterium 1.2.1 | [Audio-only and Video-only (Prerecorded)](https://www.w3.org/TR/WCAG21/#audio-only-and-video-only-prerecorded) | A | [audio-caption](https://dequeuniversity.com/rules/axe/4.8/audio-caption?application=axeAPI) | +| Succes criterium 1.2.2 | [Captions (Prerecorded)](https://www.w3.org/TR/WCAG21/#captions-prerecorded) | A | [video-caption](https://dequeuniversity.com/rules/axe/4.8/video-caption?application=axeAPI) | | Succes criterium 1.2.3 | [Audio Description or Media Alternative (Prerecorded)](https://www.w3.org/TR/WCAG21/#audio-description-or-media-alternative-prerecorded) | A | geen | | Succes criterium 1.2.4 | [Captions (Live)](https://www.w3.org/TR/WCAG21/#captions-live) | AA | geen | | Succes criterium 1.2.5 | [Audio Description (Prerecorded)](https://www.w3.org/TR/WCAG21/#audio-description-prerecorded) | AA | geen | @@ -14,37 +14,37 @@ | Succes criterium 1.2.8 | [Media Alternative (Prerecorded)](https://www.w3.org/TR/WCAG21/#media-alternative-prerecorded) | AAA | geen | | Succes criterium 1.2.9 | [Audio-only (Live)](https://www.w3.org/TR/WCAG21/#audio-only-live) | AAA | geen | | Richtlijn 1.3 | [Adaptable](https://www.w3.org/TR/WCAG21/#adaptable) | | | -| Succes criterium 1.3.1 | [Info and Relationships](https://www.w3.org/TR/WCAG21/#info-and-relationships) | A | [aria-required-children](https://dequeuniversity.com/rules/axe/4.7/aria-required-children?application=axeAPI), [aria-required-parent](https://dequeuniversity.com/rules/axe/4.7/aria-required-parent?application=axeAPI), [definition-list](https://dequeuniversity.com/rules/axe/4.7/definition-list?application=axeAPI), [dlitem](https://dequeuniversity.com/rules/axe/4.7/dlitem?application=axeAPI), [list](https://dequeuniversity.com/rules/axe/4.7/list?application=axeAPI), [listitem](https://dequeuniversity.com/rules/axe/4.7/listitem?application=axeAPI), [p-as-heading](https://dequeuniversity.com/rules/axe/4.7/p-as-heading?application=axeAPI) (experimenteel), [table-fake-caption](https://dequeuniversity.com/rules/axe/4.7/table-fake-caption?application=axeAPI) (experimenteel), [td-has-header](https://dequeuniversity.com/rules/axe/4.7/td-has-header?application=axeAPI) (experimenteel), [td-headers-attr](https://dequeuniversity.com/rules/axe/4.7/td-headers-attr?application=axeAPI), [th-has-data-cells](https://dequeuniversity.com/rules/axe/4.7/th-has-data-cells?application=axeAPI) | +| Succes criterium 1.3.1 | [Info and Relationships](https://www.w3.org/TR/WCAG21/#info-and-relationships) | A | [aria-required-children](https://dequeuniversity.com/rules/axe/4.8/aria-required-children?application=axeAPI), [aria-required-parent](https://dequeuniversity.com/rules/axe/4.8/aria-required-parent?application=axeAPI), [definition-list](https://dequeuniversity.com/rules/axe/4.8/definition-list?application=axeAPI), [dlitem](https://dequeuniversity.com/rules/axe/4.8/dlitem?application=axeAPI), [list](https://dequeuniversity.com/rules/axe/4.8/list?application=axeAPI), [listitem](https://dequeuniversity.com/rules/axe/4.8/listitem?application=axeAPI), [p-as-heading](https://dequeuniversity.com/rules/axe/4.8/p-as-heading?application=axeAPI) (experimenteel), [table-fake-caption](https://dequeuniversity.com/rules/axe/4.8/table-fake-caption?application=axeAPI) (experimenteel), [td-has-header](https://dequeuniversity.com/rules/axe/4.8/td-has-header?application=axeAPI) (experimenteel), [td-headers-attr](https://dequeuniversity.com/rules/axe/4.8/td-headers-attr?application=axeAPI), [th-has-data-cells](https://dequeuniversity.com/rules/axe/4.8/th-has-data-cells?application=axeAPI) | | Succes criterium 1.3.2 | [Meaningful Sequence](https://www.w3.org/TR/WCAG21/#meaningful-sequence) | A | geen | | Succes criterium 1.3.3 | [Sensory Characteristics](https://www.w3.org/TR/WCAG21/#sensory-characteristics) | A | geen | -| Succes criterium 1.3.4 | [Orientation](https://www.w3.org/TR/WCAG21/#orientation) | AA | [css-orientation-lock](https://dequeuniversity.com/rules/axe/4.7/css-orientation-lock?application=axeAPI) (experimenteel) | -| Succes criterium 1.3.5 | [Identify Input Purpose](https://www.w3.org/TR/WCAG21/#identify-input-purpose) | AA | [autocomplete-valid](https://dequeuniversity.com/rules/axe/4.7/autocomplete-valid?application=axeAPI) | +| Succes criterium 1.3.4 | [Orientation](https://www.w3.org/TR/WCAG21/#orientation) | AA | [css-orientation-lock](https://dequeuniversity.com/rules/axe/4.8/css-orientation-lock?application=axeAPI) (experimenteel) | +| Succes criterium 1.3.5 | [Identify Input Purpose](https://www.w3.org/TR/WCAG21/#identify-input-purpose) | AA | [autocomplete-valid](https://dequeuniversity.com/rules/axe/4.8/autocomplete-valid?application=axeAPI) | | Succes criterium 1.3.6 | [Identify Purpose](https://www.w3.org/TR/WCAG21/#identify-purpose) | AAA | geen | | Richtlijn 1.4 | [Distinguishable](https://www.w3.org/TR/WCAG21/#distinguishable) | | | -| Succes criterium 1.4.1 | [Use of Color](https://www.w3.org/TR/WCAG21/#use-of-color) | A | [link-in-text-block](https://dequeuniversity.com/rules/axe/4.7/link-in-text-block?application=axeAPI) | -| Succes criterium 1.4.2 | [Audio Control](https://www.w3.org/TR/WCAG21/#audio-control) | A | [no-autoplay-audio](https://dequeuniversity.com/rules/axe/4.7/no-autoplay-audio?application=axeAPI) | -| Succes criterium 1.4.3 | [Contrast (Minimum)](https://www.w3.org/TR/WCAG21/#contrast-minimum) | AA | [color-contrast](https://dequeuniversity.com/rules/axe/4.7/color-contrast?application=axeAPI) | -| Succes criterium 1.4.4 | [Resize text](https://www.w3.org/TR/WCAG21/#resize-text) | AA | [meta-viewport](https://dequeuniversity.com/rules/axe/4.7/meta-viewport?application=axeAPI) | +| Succes criterium 1.4.1 | [Use of Color](https://www.w3.org/TR/WCAG21/#use-of-color) | A | [link-in-text-block](https://dequeuniversity.com/rules/axe/4.8/link-in-text-block?application=axeAPI) | +| Succes criterium 1.4.2 | [Audio Control](https://www.w3.org/TR/WCAG21/#audio-control) | A | [no-autoplay-audio](https://dequeuniversity.com/rules/axe/4.8/no-autoplay-audio?application=axeAPI) | +| Succes criterium 1.4.3 | [Contrast (Minimum)](https://www.w3.org/TR/WCAG21/#contrast-minimum) | AA | [color-contrast](https://dequeuniversity.com/rules/axe/4.8/color-contrast?application=axeAPI) | +| Succes criterium 1.4.4 | [Resize text](https://www.w3.org/TR/WCAG21/#resize-text) | AA | [meta-viewport](https://dequeuniversity.com/rules/axe/4.8/meta-viewport?application=axeAPI) | | Succes criterium 1.4.5 | [Images of Text](https://www.w3.org/TR/WCAG21/#images-of-text) | AA | geen | -| Succes criterium 1.4.6 | [Contrast (Enhanced)](https://www.w3.org/TR/WCAG21/#contrast-enhanced) | AAA | [color-contrast-enhanced](https://dequeuniversity.com/rules/axe/4.7/color-contrast-enhanced?application=axeAPI) | +| Succes criterium 1.4.6 | [Contrast (Enhanced)](https://www.w3.org/TR/WCAG21/#contrast-enhanced) | AAA | [color-contrast-enhanced](https://dequeuniversity.com/rules/axe/4.8/color-contrast-enhanced?application=axeAPI) | | Succes criterium 1.4.7 | [Low or No Background Audio](https://www.w3.org/TR/WCAG21/#low-or-no-background-audio) | AAA | geen | | Succes criterium 1.4.8 | [Visual Presentation](https://www.w3.org/TR/WCAG21/#visual-presentation) | AAA | geen | | Succes criterium 1.4.9 | [Images of Text (No Exception)](https://www.w3.org/TR/WCAG21/#images-of-text-no-exception) | AAA | geen | | Succes criterium 1.4.10 | [Reflow](https://www.w3.org/TR/WCAG21/#reflow) | AA | geen | | Succes criterium 1.4.11 | [Non-text Contrast](https://www.w3.org/TR/WCAG21/#non-text-contrast) | AA | geen | -| Succes criterium 1.4.12 | [Text Spacing](https://www.w3.org/TR/WCAG21/#text-spacing) | AA | [avoid-inline-spacing](https://dequeuniversity.com/rules/axe/4.7/avoid-inline-spacing?application=axeAPI) | +| Succes criterium 1.4.12 | [Text Spacing](https://www.w3.org/TR/WCAG21/#text-spacing) | AA | [avoid-inline-spacing](https://dequeuniversity.com/rules/axe/4.8/avoid-inline-spacing?application=axeAPI) | | Succes criterium 1.4.13 | [Content on Hover or Focus](https://www.w3.org/TR/WCAG21/#content-on-hover-or-focus) | AA | geen | | Principe 2 | [Operable](https://www.w3.org/TR/WCAG21/#operable) | | | | Richtlijn 2.1 | [Keyboard Accessible](https://www.w3.org/TR/WCAG21/#keyboard-accessible) | | | -| Succes criterium 2.1.1 | [Keyboard](https://www.w3.org/TR/WCAG21/#keyboard) | A | [frame-focusable-content](https://dequeuniversity.com/rules/axe/4.7/frame-focusable-content?application=axeAPI), [scrollable-region-focusable](https://dequeuniversity.com/rules/axe/4.7/scrollable-region-focusable?application=axeAPI), [server-side-image-map](https://dequeuniversity.com/rules/axe/4.7/server-side-image-map?application=axeAPI) | +| Succes criterium 2.1.1 | [Keyboard](https://www.w3.org/TR/WCAG21/#keyboard) | A | [frame-focusable-content](https://dequeuniversity.com/rules/axe/4.8/frame-focusable-content?application=axeAPI), [scrollable-region-focusable](https://dequeuniversity.com/rules/axe/4.8/scrollable-region-focusable?application=axeAPI), [server-side-image-map](https://dequeuniversity.com/rules/axe/4.8/server-side-image-map?application=axeAPI) | | Succes criterium 2.1.2 | [No Keyboard Trap](https://www.w3.org/TR/WCAG21/#no-keyboard-trap) | A | geen | | Succes criterium 2.1.3 | [Keyboard (No Exception)](https://www.w3.org/TR/WCAG21/#keyboard-no-exception) | AAA | geen | | Succes criterium 2.1.4 | [Character Key Shortcuts](https://www.w3.org/TR/WCAG21/#character-key-shortcuts) | A | geen | | Richtlijn 2.2 | [Enough Time](https://www.w3.org/TR/WCAG21/#enough-time) | | | -| Succes criterium 2.2.1 | [Timing Adjustable](https://www.w3.org/TR/WCAG21/#timing-adjustable) | A | [meta-refresh](https://dequeuniversity.com/rules/axe/4.7/meta-refresh?application=axeAPI) | -| Succes criterium 2.2.2 | [Pause, Stop, Hide](https://www.w3.org/TR/WCAG21/#pause-stop-hide) | A | [blink](https://dequeuniversity.com/rules/axe/4.7/blink?application=axeAPI), [marquee](https://dequeuniversity.com/rules/axe/4.7/marquee?application=axeAPI) | +| Succes criterium 2.2.1 | [Timing Adjustable](https://www.w3.org/TR/WCAG21/#timing-adjustable) | A | [meta-refresh](https://dequeuniversity.com/rules/axe/4.8/meta-refresh?application=axeAPI) | +| Succes criterium 2.2.2 | [Pause, Stop, Hide](https://www.w3.org/TR/WCAG21/#pause-stop-hide) | A | [blink](https://dequeuniversity.com/rules/axe/4.8/blink?application=axeAPI), [marquee](https://dequeuniversity.com/rules/axe/4.8/marquee?application=axeAPI) | | Succes criterium 2.2.3 | [No Timing](https://www.w3.org/TR/WCAG21/#no-timing) | AAA | geen | -| Succes criterium 2.2.4 | [Interruptions](https://www.w3.org/TR/WCAG21/#interruptions) | AAA | [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.7/meta-refresh-no-exceptions?application=axeAPI) | +| Succes criterium 2.2.4 | [Interruptions](https://www.w3.org/TR/WCAG21/#interruptions) | AAA | [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.8/meta-refresh-no-exceptions?application=axeAPI) | | Succes criterium 2.2.5 | [Re-authenticating](https://www.w3.org/TR/WCAG21/#re-authenticating) | AAA | geen | | Succes criterium 2.2.6 | [Timeouts](https://www.w3.org/TR/WCAG21/#timeouts) | AAA | geen | | Richtlijn 2.3 | [Seizures and Physical Reactions](https://www.w3.org/TR/WCAG21/#seizures-and-physical-reactions) | | | @@ -52,27 +52,27 @@ | Succes criterium 2.3.2 | [Three Flashes](https://www.w3.org/TR/WCAG21/#three-flashes) | AAA | geen | | Succes criterium 2.3.3 | [Animation from Interactions](https://www.w3.org/TR/WCAG21/#animation-from-interactions) | AAA | geen | | Richtlijn 2.4 | [Navigable](https://www.w3.org/TR/WCAG21/#navigable) | | | -| Succes criterium 2.4.1 | [Bypass Blocks](https://www.w3.org/TR/WCAG21/#bypass-blocks) | A | [bypass](https://dequeuniversity.com/rules/axe/4.7/bypass?application=axeAPI) | -| Succes criterium 2.4.2 | [Page Titled](https://www.w3.org/TR/WCAG21/#page-titled) | A | [document-title](https://dequeuniversity.com/rules/axe/4.7/document-title?application=axeAPI) | +| Succes criterium 2.4.1 | [Bypass Blocks](https://www.w3.org/TR/WCAG21/#bypass-blocks) | A | [bypass](https://dequeuniversity.com/rules/axe/4.8/bypass?application=axeAPI) | +| Succes criterium 2.4.2 | [Page Titled](https://www.w3.org/TR/WCAG21/#page-titled) | A | [document-title](https://dequeuniversity.com/rules/axe/4.8/document-title?application=axeAPI) | | Succes criterium 2.4.3 | [Focus Order](https://www.w3.org/TR/WCAG21/#focus-order) | A | geen | -| Succes criterium 2.4.4 | [Link Purpose (In Context)](https://www.w3.org/TR/WCAG21/#link-purpose-in-context) | A | [area-alt](https://dequeuniversity.com/rules/axe/4.7/area-alt?application=axeAPI), [link-name](https://dequeuniversity.com/rules/axe/4.7/link-name?application=axeAPI) | +| Succes criterium 2.4.4 | [Link Purpose (In Context)](https://www.w3.org/TR/WCAG21/#link-purpose-in-context) | A | [area-alt](https://dequeuniversity.com/rules/axe/4.8/area-alt?application=axeAPI), [link-name](https://dequeuniversity.com/rules/axe/4.8/link-name?application=axeAPI) | | Succes criterium 2.4.5 | [Multiple Ways](https://www.w3.org/TR/WCAG21/#multiple-ways) | AA | geen | | Succes criterium 2.4.6 | [Headings and Labels](https://www.w3.org/TR/WCAG21/#headings-and-labels) | AA | geen | | Succes criterium 2.4.7 | [Focus Visible](https://www.w3.org/TR/WCAG21/#focus-visible) | AA | geen | | Succes criterium 2.4.8 | [Location](https://www.w3.org/TR/WCAG21/#location) | AAA | geen | -| Succes criterium 2.4.9 | [Link Purpose (Link Only)](https://www.w3.org/TR/WCAG21/#link-purpose-link-only) | AAA | [identical-links-same-purpose](https://dequeuniversity.com/rules/axe/4.7/identical-links-same-purpose?application=axeAPI) | +| Succes criterium 2.4.9 | [Link Purpose (Link Only)](https://www.w3.org/TR/WCAG21/#link-purpose-link-only) | AAA | [identical-links-same-purpose](https://dequeuniversity.com/rules/axe/4.8/identical-links-same-purpose?application=axeAPI) | | Succes criterium 2.4.10 | [Section Headings](https://www.w3.org/TR/WCAG21/#section-headings) | AAA | geen | | Richtlijn 2.5 | [Input Modalities](https://www.w3.org/TR/WCAG21/#input-modalities) | | | | Succes criterium 2.5.1 | [Pointer Gestures](https://www.w3.org/TR/WCAG21/#pointer-gestures) | A | geen | | Succes criterium 2.5.2 | [Pointer Cancellation](https://www.w3.org/TR/WCAG21/#pointer-cancellation) | A | geen | -| Succes criterium 2.5.3 | [Label in Name](https://www.w3.org/TR/WCAG21/#label-in-name) | A | [label-content-name-mismatch](https://dequeuniversity.com/rules/axe/4.7/label-content-name-mismatch?application=axeAPI) (experimenteel) | +| Succes criterium 2.5.3 | [Label in Name](https://www.w3.org/TR/WCAG21/#label-in-name) | A | [label-content-name-mismatch](https://dequeuniversity.com/rules/axe/4.8/label-content-name-mismatch?application=axeAPI) (experimenteel) | | Succes criterium 2.5.4 | [Motion Actuation](https://www.w3.org/TR/WCAG21/#motion-actuation) | A | geen | | Succes criterium 2.5.5 | [Target Size](https://www.w3.org/TR/WCAG21/#target-size) | AAA | geen | | Succes criterium 2.5.6 | [Concurrent Input Mechanisms](https://www.w3.org/TR/WCAG21/#concurrent-input-mechanisms) | AAA | geen | | Principe 3 | [Understandable](https://www.w3.org/TR/WCAG21/#understandable) | | | | Richtlijn 3.1 | [Readable](https://www.w3.org/TR/WCAG21/#readable) | | | -| Succes criterium 3.1.1 | [Language of Page](https://www.w3.org/TR/WCAG21/#language-of-page) | A | [html-has-lang](https://dequeuniversity.com/rules/axe/4.7/html-has-lang?application=axeAPI), [html-lang-valid](https://dequeuniversity.com/rules/axe/4.7/html-lang-valid?application=axeAPI), [html-xml-lang-mismatch](https://dequeuniversity.com/rules/axe/4.7/html-xml-lang-mismatch?application=axeAPI) | -| Succes criterium 3.1.2 | [Language of Parts](https://www.w3.org/TR/WCAG21/#language-of-parts) | AA | [valid-lang](https://dequeuniversity.com/rules/axe/4.7/valid-lang?application=axeAPI) | +| Succes criterium 3.1.1 | [Language of Page](https://www.w3.org/TR/WCAG21/#language-of-page) | A | [html-has-lang](https://dequeuniversity.com/rules/axe/4.8/html-has-lang?application=axeAPI), [html-lang-valid](https://dequeuniversity.com/rules/axe/4.8/html-lang-valid?application=axeAPI), [html-xml-lang-mismatch](https://dequeuniversity.com/rules/axe/4.8/html-xml-lang-mismatch?application=axeAPI) | +| Succes criterium 3.1.2 | [Language of Parts](https://www.w3.org/TR/WCAG21/#language-of-parts) | AA | [valid-lang](https://dequeuniversity.com/rules/axe/4.8/valid-lang?application=axeAPI) | | Succes criterium 3.1.3 | [Unusual Words](https://www.w3.org/TR/WCAG21/#unusual-words) | AAA | geen | | Succes criterium 3.1.4 | [Abbreviations](https://www.w3.org/TR/WCAG21/#abbreviations) | AAA | geen | | Succes criterium 3.1.5 | [Reading Level](https://www.w3.org/TR/WCAG21/#reading-level) | AAA | geen | @@ -82,16 +82,16 @@ | Succes criterium 3.2.2 | [On Input](https://www.w3.org/TR/WCAG21/#on-input) | A | geen | | Succes criterium 3.2.3 | [Consistent Navigation](https://www.w3.org/TR/WCAG21/#consistent-navigation) | AA | geen | | Succes criterium 3.2.4 | [Consistent Identification](https://www.w3.org/TR/WCAG21/#consistent-identification) | AA | geen | -| Succes criterium 3.2.5 | [Change on Request](https://www.w3.org/TR/WCAG21/#change-on-request) | AAA | [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.7/meta-refresh-no-exceptions?application=axeAPI) | +| Succes criterium 3.2.5 | [Change on Request](https://www.w3.org/TR/WCAG21/#change-on-request) | AAA | [meta-refresh-no-exceptions](https://dequeuniversity.com/rules/axe/4.8/meta-refresh-no-exceptions?application=axeAPI) | | Richtlijn 3.3 | [Input Assistance](https://www.w3.org/TR/WCAG21/#input-assistance) | | | | Succes criterium 3.3.1 | [Error Identification](https://www.w3.org/TR/WCAG21/#error-identification) | A | geen | -| Succes criterium 3.3.2 | [Labels or Instructions](https://www.w3.org/TR/WCAG21/#labels-or-instructions) | A | [form-field-multiple-labels](https://dequeuniversity.com/rules/axe/4.7/form-field-multiple-labels?application=axeAPI) | +| Succes criterium 3.3.2 | [Labels or Instructions](https://www.w3.org/TR/WCAG21/#labels-or-instructions) | A | [form-field-multiple-labels](https://dequeuniversity.com/rules/axe/4.8/form-field-multiple-labels?application=axeAPI) | | Succes criterium 3.3.3 | [Error Suggestion](https://www.w3.org/TR/WCAG21/#error-suggestion) | AA | geen | | Succes criterium 3.3.4 | [Error Prevention (Legal, Financial, Data)](https://www.w3.org/TR/WCAG21/#error-prevention-legal-financial-data) | AA | geen | | Succes criterium 3.3.5 | [Help](https://www.w3.org/TR/WCAG21/#help) | AAA | geen | | Succes criterium 3.3.6 | [Error Prevention (All)](https://www.w3.org/TR/WCAG21/#error-prevention-all) | AAA | geen | | Principe 4 | [Robust](https://www.w3.org/TR/WCAG21/#robust) | | | | Richtlijn 4.1 | [Compatible](https://www.w3.org/TR/WCAG21/#compatible) | | | -| Succes criterium 4.1.1 | [Parsing](https://www.w3.org/TR/WCAG21/#parsing) | A | [duplicate-id-active](https://dequeuniversity.com/rules/axe/4.7/duplicate-id-active?application=axeAPI), [duplicate-id-aria](https://dequeuniversity.com/rules/axe/4.7/duplicate-id-aria?application=axeAPI), [duplicate-id](https://dequeuniversity.com/rules/axe/4.7/duplicate-id?application=axeAPI) | -| Succes criterium 4.1.2 | [Name, Role, Value](https://www.w3.org/TR/WCAG21/#name-role-value) | A | [area-alt](https://dequeuniversity.com/rules/axe/4.7/area-alt?application=axeAPI), [aria-allowed-attr](https://dequeuniversity.com/rules/axe/4.7/aria-allowed-attr?application=axeAPI), [aria-command-name](https://dequeuniversity.com/rules/axe/4.7/aria-command-name?application=axeAPI), [aria-hidden-body](https://dequeuniversity.com/rules/axe/4.7/aria-hidden-body?application=axeAPI), [aria-hidden-focus](https://dequeuniversity.com/rules/axe/4.7/aria-hidden-focus?application=axeAPI), [aria-input-field-name](https://dequeuniversity.com/rules/axe/4.7/aria-input-field-name?application=axeAPI), [aria-required-attr](https://dequeuniversity.com/rules/axe/4.7/aria-required-attr?application=axeAPI), [aria-roledescription](https://dequeuniversity.com/rules/axe/4.7/aria-roledescription?application=axeAPI), [aria-roles](https://dequeuniversity.com/rules/axe/4.7/aria-roles?application=axeAPI), [aria-toggle-field-name](https://dequeuniversity.com/rules/axe/4.7/aria-toggle-field-name?application=axeAPI), [aria-tooltip-name](https://dequeuniversity.com/rules/axe/4.7/aria-tooltip-name?application=axeAPI), [aria-valid-attr-value](https://dequeuniversity.com/rules/axe/4.7/aria-valid-attr-value?application=axeAPI), [aria-valid-attr](https://dequeuniversity.com/rules/axe/4.7/aria-valid-attr?application=axeAPI), [button-name](https://dequeuniversity.com/rules/axe/4.7/button-name?application=axeAPI), [frame-title-unique](https://dequeuniversity.com/rules/axe/4.7/frame-title-unique?application=axeAPI), [frame-title](https://dequeuniversity.com/rules/axe/4.7/frame-title?application=axeAPI), [input-button-name](https://dequeuniversity.com/rules/axe/4.7/input-button-name?application=axeAPI), [input-image-alt](https://dequeuniversity.com/rules/axe/4.7/input-image-alt?application=axeAPI), [label](https://dequeuniversity.com/rules/axe/4.7/label?application=axeAPI), [link-name](https://dequeuniversity.com/rules/axe/4.7/link-name?application=axeAPI), [nested-interactive](https://dequeuniversity.com/rules/axe/4.7/nested-interactive?application=axeAPI), [select-name](https://dequeuniversity.com/rules/axe/4.7/select-name?application=axeAPI) | +| Succes criterium 4.1.1 | [Parsing](https://www.w3.org/TR/WCAG21/#parsing) | A | [duplicate-id-active](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-active?application=axeAPI), [duplicate-id](https://dequeuniversity.com/rules/axe/4.8/duplicate-id?application=axeAPI) | +| Succes criterium 4.1.2 | [Name, Role, Value](https://www.w3.org/TR/WCAG21/#name-role-value) | A | [area-alt](https://dequeuniversity.com/rules/axe/4.8/area-alt?application=axeAPI), [aria-allowed-attr](https://dequeuniversity.com/rules/axe/4.8/aria-allowed-attr?application=axeAPI), [aria-braille-equivalent](https://dequeuniversity.com/rules/axe/4.8/aria-braille-equivalent?application=axeAPI), [aria-command-name](https://dequeuniversity.com/rules/axe/4.8/aria-command-name?application=axeAPI), [aria-conditional-attr](https://dequeuniversity.com/rules/axe/4.8/aria-conditional-attr?application=axeAPI), [aria-deprecated-role](https://dequeuniversity.com/rules/axe/4.8/aria-deprecated-role?application=axeAPI), [aria-hidden-body](https://dequeuniversity.com/rules/axe/4.8/aria-hidden-body?application=axeAPI), [aria-hidden-focus](https://dequeuniversity.com/rules/axe/4.8/aria-hidden-focus?application=axeAPI), [aria-input-field-name](https://dequeuniversity.com/rules/axe/4.8/aria-input-field-name?application=axeAPI), [aria-prohibited-attr](https://dequeuniversity.com/rules/axe/4.8/aria-prohibited-attr?application=axeAPI), [aria-required-attr](https://dequeuniversity.com/rules/axe/4.8/aria-required-attr?application=axeAPI), [aria-roledescription](https://dequeuniversity.com/rules/axe/4.8/aria-roledescription?application=axeAPI), [aria-roles](https://dequeuniversity.com/rules/axe/4.8/aria-roles?application=axeAPI), [aria-toggle-field-name](https://dequeuniversity.com/rules/axe/4.8/aria-toggle-field-name?application=axeAPI), [aria-tooltip-name](https://dequeuniversity.com/rules/axe/4.8/aria-tooltip-name?application=axeAPI), [aria-valid-attr-value](https://dequeuniversity.com/rules/axe/4.8/aria-valid-attr-value?application=axeAPI), [aria-valid-attr](https://dequeuniversity.com/rules/axe/4.8/aria-valid-attr?application=axeAPI), [button-name](https://dequeuniversity.com/rules/axe/4.8/button-name?application=axeAPI), [duplicate-id-aria](https://dequeuniversity.com/rules/axe/4.8/duplicate-id-aria?application=axeAPI), [frame-title-unique](https://dequeuniversity.com/rules/axe/4.8/frame-title-unique?application=axeAPI), [frame-title](https://dequeuniversity.com/rules/axe/4.8/frame-title?application=axeAPI), [input-button-name](https://dequeuniversity.com/rules/axe/4.8/input-button-name?application=axeAPI), [input-image-alt](https://dequeuniversity.com/rules/axe/4.8/input-image-alt?application=axeAPI), [label](https://dequeuniversity.com/rules/axe/4.8/label?application=axeAPI), [link-name](https://dequeuniversity.com/rules/axe/4.8/link-name?application=axeAPI), [nested-interactive](https://dequeuniversity.com/rules/axe/4.8/nested-interactive?application=axeAPI), [select-name](https://dequeuniversity.com/rules/axe/4.8/select-name?application=axeAPI) | | Succes criterium 4.1.3 | [Status Messages](https://www.w3.org/TR/WCAG21/#status-messages) | AA | geen | \ No newline at end of file diff --git a/thirdparty/WCAG/package-lock.json b/thirdparty/WCAG/package-lock.json index 6a150069..c3195b1f 100644 --- a/thirdparty/WCAG/package-lock.json +++ b/thirdparty/WCAG/package-lock.json @@ -5,13 +5,13 @@ "packages": { "": { "dependencies": { - "axe-core": "^4.7.2" + "axe-core": "^4.8.2" } }, "node_modules/axe-core": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.2.tgz", - "integrity": "sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==", + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.2.tgz", + "integrity": "sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==", "engines": { "node": ">=4" } @@ -19,9 +19,9 @@ }, "dependencies": { "axe-core": { - "version": "4.7.2", - "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.7.2.tgz", - "integrity": "sha512-zIURGIS1E1Q4pcrMjp+nnEh+16G56eG/MUllJH8yEvw7asDo7Ac9uhC9KIH5jzpITueEZolfYglnCGIuSBz39g==" + "version": "4.8.2", + "resolved": "https://registry.npmjs.org/axe-core/-/axe-core-4.8.2.tgz", + "integrity": "sha512-/dlp0fxyM3R8YW7MFzaHWXrf4zzbr0vaYb23VBFCl83R7nWNPg/yaQw2Dc8jzCMmDVLhSdzH8MjrsuIUuvX+6g==" } } } diff --git a/thirdparty/WCAG/package.json b/thirdparty/WCAG/package.json index 3cbda3c1..3ee26fc8 100644 --- a/thirdparty/WCAG/package.json +++ b/thirdparty/WCAG/package.json @@ -1,5 +1,5 @@ { "dependencies": { - "axe-core": "^4.7.2" + "axe-core": "^4.8.2" } } diff --git a/thirdparty/WCAG/wcag.py b/thirdparty/WCAG/wcag.py index b7ec81b9..4aeafb81 100644 --- a/thirdparty/WCAG/wcag.py +++ b/thirdparty/WCAG/wcag.py @@ -31,10 +31,13 @@ def node(script): # Read the Axe-core version and rules axe_core_version = node("console.log(require('axe-core').version)") -rules_text = node("axe = require('axe-core'); console.log(axe.getRules())") -rules_text = re.sub(r"([a-zA-Z]+): ", r'"\1": ', rules_text) -rules_text = re.sub(r": undefined", r": []", rules_text) -rules = ast.literal_eval(rules_text) +node(""" +const axe = require('axe-core'); +const fs = require('fs'); + +fs.writeFileSync('/tmp/wcag_rules.json', JSON.stringify(axe.getRules(), null, 2), 'utf-8') +""") +rules = json.load(pathlib.Path("/tmp/wcag_rules.json").open()) # Read the WCAG success criteria with pathlib.Path("wcag.json").open() as wcag_file: