TheA11yMachine icon indicating copy to clipboard operation
TheA11yMachine copied to clipboard

Allow to rerun an audit on the report page

Open krtek4 opened this issue 9 years ago • 2 comments

It would be great to be able to rerun an audit of a particular page when displaying its report.

This will greatly speed up the fixing process :

  1. Display the page report
  2. Fix the error
  3. Update the audit result

This will require to have some kind of "server" mode for a11ym where it keeps running after the audit is finished and awaits for update command.

Then we could send update request to this server using AJAX.

I envision something really simple, a small HTTP server listing on any port waiting for some JSON data sent via a POST request to tell a11ym which page to analyze and the needed options. No need to expose the whole CLI options, since this will probably be done on a per URL basis.

This is different than https://github.com/liip/TheA11yMachine/issues/11 and only targeted at local dev setups.

krtek4 avatar Jan 07 '16 14:01 krtek4

So a11ymd? This is dangerous. We have to manage tokens to limit number of requests per user in time for instance. Thoughts?

Hywan avatar Jan 08 '16 07:01 Hywan

@Hywan I tried to explain better what I mean in the issue. The goal is not to listen to the whole world, just command from the same machine where the "server" runs. The idea is only to speed up accessibility issues fixing, not allowing other people to launch jobs.

krtek4 avatar Jan 08 '16 20:01 krtek4