This issue has been created
There are 2 updates.
 
 
XWiki Platform / cid:jira-generated-image-avatar-cd1a47f4-86e8-4c0c-a105-4f9dbc5a4b82 XWIKI-25642 Open

Validate that data table cells have a header with axe-core

 
View issue   ยท   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-cf82963c-927d-411b-b098-40289b04c527 Charpentier Lucas created this issue on 03/Nov/26 14:29
 
Summary: Validate that data table cells have a header with axe-core
Issue Type: cid:jira-generated-image-avatar-cd1a47f4-86e8-4c0c-a105-4f9dbc5a4b82 Improvement
Affects Versions: 18.9.0
Assignee: Unassigned
Components: Test Framework
Created: 03/Nov/26 14:29
Priority: cid:jira-generated-image-static-major-e5d11e9d-fa1f-4561-97bc-629ae3b4af90 Major
Reporter: Charpentier Lucas
Description:

Context

The Dutch Web Guidelines (DWG) validation is being removed. Its rule 11s2 checks that data tables have th cells, which is required by WCAG 1.3.1 (level A). axe-core has an equivalent rule, td-has-header, that is more accurate: it only checks data cells of tables larger than 3x3 and ignores layout tables. Because the rule is tagged experimental, it is not run by default, so nothing covers this requirement once DWG is gone.

Proposal

  • Enable td-has-header explicitly in WCAGContext, as a warning first.
  • Make it fail the build once the reported violations have been checked for false positives.

Raised in https://forum.xwiki.org/t/remove-the-dutch-web-guidelines-validation/19056

 
 

2 updates

 
cid:jira-generated-image-avatar-cf82963c-927d-411b-b098-40289b04c527 Changes by Charpentier Lucas on 03/Nov/26 14:29
 
Fix Version: 18.10.0-rc-1
Assignee: Charpentier Lucas