This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-db258e2a-1d6d-40ac-88a9-661f15d5c0d6 XWIKI-25641 Open

The WCAG 2.2 AA rules of axe-core are never run in the accessibility validation

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-70b28e04-27f3-4444-bb7f-2ebeb4f70c97 Charpentier Lucas created this issue on 03/Nov/26 14:29
 
Summary: The WCAG 2.2 AA rules of axe-core are never run in the accessibility validation
Issue Type: cid:jira-generated-image-avatar-db258e2a-1d6d-40ac-88a9-661f15d5c0d6 Bug
Affects Versions: 15.2-rc-1
Assignee: Unassigned
Components: Test Framework
Created: 03/Nov/26 14:29
Priority: cid:jira-generated-image-static-major-32638097-109f-40b9-8f70-cee420439846 Major
Reporter: Charpentier Lucas
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

 
 

2 updates

 
cid:jira-generated-image-avatar-70b28e04-27f3-4444-bb7f-2ebeb4f70c97 Changes by Charpentier Lucas on 03/Nov/26 14:29
 
Fix Version: 18.10.0-rc-1
Assignee: Charpentier Lucas