pa11y / pa11y-ci

Pa11y CI is a CI-centric accessibility test runner, built using Pa11y
https://pa11y.org
GNU Lesser General Public License v3.0
509 stars 62 forks source link

Pa11y-ci support for WCAG 2.2 #205

Closed Shehreem-Solirius closed 9 months ago

Shehreem-Solirius commented 1 year ago

Will pa11y-ci be upgraded to support WCAG2.2 or if it already does, what is the tag for it?

hollsk commented 1 year ago

Hi Shehreem, thanks for using Pa11y! Yes, we will support WCAG 2.2 - we rely on the axe and HTML_Codesniffer rules engines for the test criteria, so the "when" depends partly on them, partly on us 😄

HTML_CS doesn't support WCAG 2.2 yet, and although I don't know what their roadmap looks like, I wouldn't expect them to release a 2.2 ruleset before the guidelines have been finalised.

The 4.5 version of axe core does support WCAG 2.2, but we're using an older version. The axe team have released their new rules much earlier than most - most devs are going to want to wait so they don't end up wasting time building rulesets that could be changed or removed. Deque just has more people to throw at this than the rest of us, so I imagine it's less of a problem for them 😅

So, yes, hopefully we'll update that soon, and there's a chance that we might add support via axe before HTML_CS, which will depend on the Pa11y team's bandwidth.

werdnanoslen commented 9 months ago

Now that 2.2 has been finalized, it seems very unlikely that HTML_CS will support WCAG 2.2, so I think you'll have to rely on axe.

Any indication on when pa11y might support it then?

josebolos commented 9 months ago

Hi @werdnanoslen!

Not at the moment, no. We try to update pa11y to use the latest versions of HTML_CS and axe if and when we can, on a best-effort basis, as @hollsk indicated. I'm not aware of what level of WCAG 2.2 support axe offers at the moment.

We always try to make it as clear as possible what has changed whenever we release a new version, so I would suggest to keep an eye on the Changelog.

werdnanoslen commented 9 months ago

axe has one rule to check target size, but they do support it

j-mendez commented 5 months ago

Will pa11y-ci be upgraded to support WCAG2.2 or if it already does, what is the tag for it?

For 2.2 and beyond kayle handles this with a lot of bug fixes and speed improvements. It should be a drop in replacement. If you are using this on the cloud prepare for a huge cost savings since the lib has rewrite of axe and htmlcs that take performance to the next level.