Questions tagged [pa11y]

Pa11y is an automated accessibility testing tool. It runs HTML CodeSniffer from the command line for programmatic accessibility reporting.

Related projects

The Node.js-based Pa11y command-line tool is the core tool in the suite. It uses a PhantomJS instance to browse a supplied webpage, and then runs Squizlabs' HTML_Codesniffer on that webpage, returning any accessibility errors it finds.

There is also a separate Pa11y Dashboard project for running a series of tests and graphing errors over time, a CI tool, and a webservice.

Documentation

38 questions
0
votes
1 answer

Java + Pa11y + login web page

I am a beginner to Pa11y. The web application on which I am working needs user login. Once the user logs in then then only the rest of the pages are visible. Any idea how can I use pa11y to login to the web page and run pa11y on those pages using…
Sweety
  • 117
  • 6
  • 18
0
votes
1 answer

Anyway to send HTML to Pa11y for logged in pages?

Working on a Chrome extension, and I want one click checking for logged-in pages, rather than asking a (non-technical) user to send pa11y the selectors for login, if I were to harvest the HTML and send it to a server to run a pa11y scan, would this…
user1130176
  • 1,772
  • 1
  • 23
  • 33
0
votes
1 answer

"EventEmitter memory leak detected" errors causing crashes

I'm fairly new to Javascript/NodeJS (first time) and have been having an issue with memory leak errors. I keep getting the following: Possible EventEmitter memory leak detected. 11 SIGINT listeners added. Use emitter.setMaxListeners() to increase…
user2871898
  • 93
  • 2
  • 10
0
votes
1 answer

Error: page.setRequestInterception is not a function

I could not set viewport with pa11y.I'm getting Error. { "defaults": { "timeout": 1000, "page": { "viewport": { "width": 320, "height": 480 } } }, "urls": [ "https://sonymobile.com/gb", …
ubunturk
  • 1
  • 2
0
votes
1 answer

Using Pa11y with Supertest

What is the best way to use Pa11y with Supertest? Something like: describe ('my page', function () { it ('is accessible', function () { request (server).get ('/').expect (function ({ body }) { // How to run Pa11y here? …
Danyal Aytekin
  • 4,106
  • 3
  • 36
  • 44
0
votes
1 answer

Best Docker Instance for Pa11y

There are a couple Docker instances that offer Pa11y, but I'm not sure which is the best one for me. What are the pros or cons with the builds that have been contributed back? The Alexiasa has 2 stars but hasn't been updated in a year. Any…
Mike Gifford
  • 641
  • 1
  • 8
  • 17
0
votes
1 answer

Pa11y 5 Accessibility Testing using Actions unable to set form fields in a react js app

Using Pa11y 5 actions I tried to set a form developed using react-js. By taking regular screenshots I can see that data is being set. Example: 'set field #firstName to John', 'set field #lastName to Doe' But when the following action is…
Nan
  • 95
  • 1
  • 8
-1
votes
0 answers

How to pass actual CSS selector for Actions element in pa11y config

We use pa11y for automated accessibility testing as part of mandatory requirement for our application portals. For one of the portals we have a requirement such that we have a test user to login under the login page, then wait for the URL to be…
Ashley
  • 1,447
  • 3
  • 26
  • 52
1 2
3