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

Update Puppeteer to `22` #227

Open jcarstairs-scottlogic opened 7 months ago

jcarstairs-scottlogic commented 7 months ago

We're using Puppeteer ~9.9.1. Puppeteer now only officially supports versions >= 19.4.0. At the time of writing, the latest stable version is 21.5.2. As this is quite a big dependency, it's probably a good idea to try and update this.

(Sorry that this issue isn't well fleshed-out! I thought it was better to have it written down without any research than not at all.)

jamesobrooks commented 7 months ago

Also of note, the Puppeteer image is no longer maintained by Buildkite. We recently ran into an issue where a language feature did not have browser support because the version of Chrome is out-of-date.

lanesawyer commented 1 day ago

+1 to getting this issue resolved, we were trying to integrate pa11y into our codebase but newer native APIs (like structuredClone) cause it to crash.

We're trying to figure out if we can hack our own version of pa11y-ci together with the base pa11y tool in the meantime, since we don't want to add a polyfill just for a developer tool, but it would be super nice for the ci tool to get updated!