Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pa11y-ci support for WCAG 2.2 #205

Closed
Shehreem-Solirius opened this issue May 15, 2023 · 5 comments
Closed

Pa11y-ci support for WCAG 2.2 #205

Shehreem-Solirius opened this issue May 15, 2023 · 5 comments

Comments

@Shehreem-Solirius
Copy link

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

@hollsk
Copy link
Member

hollsk commented May 15, 2023

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
Copy link

werdnanoslen commented Oct 13, 2023

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
Copy link
Member

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
Copy link

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

@j-mendez
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants