There is 1 update, 1 comment.
 
 
Cristal / cid:jira-generated-image-avatar-487f8751-39c0-45e9-b55b-dc2521a597e8 CRISTAL-12 Open

Automate accessibility testing

 
View issue   ยท   Add comment
 

1 update

 
cid:jira-generated-image-avatar-8af114d4-798b-4760-9ba0-afabf928c167 Changes by Charpentier Lucas on 13/Mar/25 15:10
 
Labels: wcag
 
 

1 comment

 
cid:jira-generated-image-avatar-8af114d4-798b-4760-9ba0-afabf928c167 Charpentier Lucas on 13/Mar/25 15:20
 

I recommend using a library relying on axe-core.

E.g. https://www.npmjs.com/package/@axe-core/playwright (MPL-2.0)

> Axe is an accessibility testing engine for websites and other HTML-based user interfaces. It's fast, secure, lightweight, and was built to seamlessly integrate with any existing test environment so you can automate accessibility testing alongside your regular functional testing.

This project's development is lead by the private company Deques. From what I know, it's the testing engine behind a lot of accessibility tools and it should be very reliable. The main risk for this project is that Deques decides to stop contributing to it, it would then probably become slowly outdated. Since web standards, especially HTML and WCAG, don't move very fast, it's only a risk on the long term (10 years?).

FYI, back when we implemented those tests in XWiki Standard, I made an analysis of the tools available:
https://design.xwiki.org/xwiki/bin/view/Proposal/WCAG21validationinbuild#HClosescopecomparison