-
Notifications
You must be signed in to change notification settings - Fork 64
Resource Types
Rowan Manning edited this page Sep 12, 2013
·
6 revisions
This page contains outlines of the resource types available through the pa11y-ws web-service.
A task is a group of settings which will be tested with whenever pa11y-ws generates results. Each task in the application is looped over and results are generated with pa11y.
A task looks like this:
{
"id": "522f263ccd4cc6fd52000011",
"url": "nature.com",
"standard": "WCAG2AA",
"ignore": []
}
A result represents the output of one pa11y test on a specific task. It cannot be created manually, as they are created at scheduled intervals.
A result looks like this:
{
"id": "522f263ccd4cc6fd52000012",
"task": "522f263ccd4cc6fd52000011",
"count": {
"error": 2,
"warning": 4,
"notice": 6,
"total": 12
},
"results": [ ... ]
}