KINGgemeenten/accessibilitymonitor — pull request #11 by jessebeach (2014-07-22 01:58:30+00:00)
Title: Quail 2.2.5 updates

Quail 2.2.5 now reports on all Success Criteria (19 total). Although not many are evaluating anything at the moment.

I had to refactor the way we're pushing data out of the ```phantomquail.js``` file. It was redundantly stringifying all the test data (my fault) and when I added a few more Success Criteria, it was blowing up Phantom.

I also reduced the amount of HTML that a case will report. The limit is now a 200 char string. It will indicated if it is truncated, for example:

```
{
"status": "passed",
"selector": "script[type=\"text/javascript\"]",
"html": "``` or ```

``` rather than their entire contents. That should *greatly* reduce the size of the results files. We'll get more optimizations in their soon as well.