Comments (1)
Ciao @LuciaLux!
Thank you for creating this issue. I can replicate it successfully with both the axe runner, and the default HTML CodeSniffer, but the problem doesn't seem to happen every time, only about 50% of the time.
As I was suspecting that there's something wrong with the page, I tried to run a performance test using WebPagetest, you can see the results here:
https://www.webpagetest.org/result/221021_BiDc1X_A58/
From the 9 times that WPT tried to load the page, it didn't manage to load it successfully not even once, as shown by the following error message:
(Test Error: Page Load Timeout)
(Error: Timed Out)
I can see that the page has loads of different CSS and JS resources that would probably be more performant if they were concatenated and served as a single request. I can't see the load even being fired on any of the 9 page loads, so if I had to take a guess at where the problem may lie, I would say that there's probably some kind of JS task being run that is preventing the page to finish loading successfully and firing the load event. There's also a bunch of requests to pbs.twimg.com
being fired. All this could be causing puppeteer (the library that pa11y uses to interact with browsers) to think that the page is still loading, until it finally reaches the 30s set up as the default timeout.
It could be useful to increase the timeout to a much higher value (e.g. 300s) and see if that makes a difference but, other than that, the only way to really fix the problem is probably by finding out what's causing the page to be so busy and delay the load event.
I hope that this helps!
from pa11y.
Related Issues (20)
- Can I include a config file for a report? HOT 2
- Error reporting during installation HOT 1
- rules option ignored HOT 1
- Documented require() for reporters doesn't work HOT 3
- Error: Could not find expected browser (chrome) locally. Run `npm install` to download the correct Chromium revision (869685) HOT 5
- Is pa11y still maintained? HOT 6
- Fails to run once `core-js` is removed from the page. HOT 3
- Retrieving the number of items that pass the checks per rule HOT 1
- Version 7.0.0 requires an unsupported version of puppeteer HOT 5
- Dark or light mode handling HOT 2
- Certain pages result in "Cannot read properties of undefined (reading 'replace')" HOT 4
- Custom Timeout settings is not working - script is timed out with default 30000 ms HOT 2
- Contrast ratio potential false-positive HOT 1
- Summarise passing test cases HOT 3
- Can pa11y be used as unit tests in CI pipeline and make the build fail? HOT 2
- Shadow DOM HOT 2
- Help needed for interaction with drop down element HOT 1
- Distinguish "violation" from "incomplete" test in `axe` runner
- Accessibility scanning with html_codesniffer as its runner fails with this error while it is working with axe runner.
- Accessibility scanning with html_codesniffer as its runner fails with this error for some urls.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pa11y.