Details
-
Bug
-
Resolution: Fixed
-
Major
-
15.2-rc-1
-
None
-
Unknown
-
N/A
-
N/A
-
Description
Problem
The axe-core validation of the Docker functional tests only selects rules by the tags wcag2a, wcag2aa, wcag21a and wcag21aa. The wcag22aa tag is missing, so target-size, the only WCAG 2.2 AA rule of axe-core, is never executed. This happens even though WCAGContext configures it to fail the build. Our official accessibility commitment is WCAG 2.2 AA.
The same tag list is duplicated in assert-axe.ts of @xwiki/platform-test-accessibility, which the Vitest accessibility tests use.
Proposal
- Add wcag22aa to VALIDATE_TAGS in WCAGContext and to the tag list of assert-axe.ts.
- Fix or report the target-size violations it reveals, and keep the rule warning-only until they are fixed.
Raised in https://forum.xwiki.org/t/remove-the-dutch-web-guidelines-validation/19056
Attachments
Issue Links
- is related to
-
XWIKI-25845 The suggested page links of the page-not-found screen are smaller than the minimum target size
-
- Open
-
-
XWIKI-25846 The live table pagination arrows are smaller than the minimum target size
-
- Open
-
-
XWIKI-25847 The page links of the Recently Modified and Recently Created panels are smaller than the minimum target size
-
- Open
-
-
XWIKI-25848 The entries of the Applications panel are smaller than the minimum target size
-
- Open
-
-
XWIKI-25849 The links of the table of contents are smaller than the minimum target size
-
- Open
-
-
XWIKI-25851 The "Configure more syntaxes" link of the edit form is smaller than the minimum target size
-
- Open
-
-
XWIKI-25852 The release note links of the What's New page are smaller than the minimum target size
-
- Open
-
-
XWIKI-25853 The line number links of the source viewer are smaller than the minimum target size
-
- Open
-
-
XWIKI-25843 The breadcrumb parent-tree toggles and home link are smaller than the minimum target size
-
- Closed
-
-
XWIKI-25844 The breadcrumb links are distinguished from the surrounding text by color only
-
- Closed
-
-
XWIKI-25850 The version link of an attachment is smaller than the minimum target size
-
- Closed
-
-
XWIKI-25656 Remove the Dutch Web Guidelines validation
-
- Closed
-
- relates to
-
XWIKI-20541 Integrate a WCAG 2.1 validation tool in XWiki build/CI
-
- Closed
-