tjscollins / axe-crawler Goto Github PK
View Code? Open in Web Editor NEWWeb crawler that runs axe-core accessibility tests on the urls it collects
License: MIT License
Web crawler that runs axe-core accessibility tests on the urls it collects
License: MIT License
Running axecrawler with any configuration:
(node:6820) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 5): TypeError: Cannot read property 'verbose' of undefined
(node:17132) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
This is a feature request. It would be good to add a configuration option to ignore fragment identifiers in URLs, so that pages are only scanned once.
Phone links--anchor tags whose href
attribute begins with tel:
--should not be scanned.
For example, the following code results in a scan of the URL http://my.domain.com/tel:+11231231234, when it shouldn't:
<p>Phone: <a href="tel:+11231231234">1-123-123-1234</a></p>
From this comment by @jasonday
Ran into an issue with the browser logging. Running a crawl on our site with --depth 1 (roughly 150 urls), the crawler exited with a memory issue. Our site (being larger) produces lengthy log statements, and I'm wondering if that caused it to overload.
Using MacOS High Sierra (10.13.4) with Node 8.11.1 and npm 5.8.0, when I follow the directions in the README to install axe-crawler npm install -g axe-crawler
, it fails with the following:
npm ERR! path /Users/rfentres/.nvm/versions/node/v8.11.1/lib/node_modules/axe-crawler/dist/bin/axe-crawler
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/rfentres/.nvm/versions/node/v8.11.1/lib/node_modules/axe-crawler/dist/bin/axe-crawler'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/rfentres/.npm/_logs/2018-04-23T17_12_08_464Z-debug.log
It worked before, and I even submitted a pull request, so I'm wondering if perhaps it has something to do with my upgrade to High Sierra. Any ideas for how to fix? I tried uninstalling and reinstalling Node, both from the package installer on the NodeJS site and by using nvm, with no luck.
Debugging output gives:
DEBUG: Sun Jan 28 2018 15:25:51 GMT-1000 (HST)
Test case:[object Object]
INFO: Sun Jan 28 2018 15:25:51 GMT-1000 (HST)
Got http://localhost.com/school/kagman-early-head-start/INFO: Sun Jan 28 2018 15:25:51 GMT-1000 (HST)
Testing http://localhost.com/school/kagman-early-head-start/ mobileDEBUG: Sun Jan 28 2018 15:25:51 GMT-1000 (HST)
Results for http://localhost.com/school/kagman-early-head-start/ mobile received
Debugging output should give the content of the test case object.
Using node v10.13.0 and npm 6.4.1 on macOS Mohave, I got the following build error:
npm ERR! [email protected] install: node-pre-gyp install --fallback-to-build/
Upgrading the sqlite3 package to ^4.0.4 seemed to fix it. This should probably be changed in package.json.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.