Git Product home page Git Product logo

Comments (1)

josebolos avatar josebolos commented on June 10, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.