{"action":"closed","issue":{"url":"https://api.github.com/repos/wfp/node-a11y-auditor/issues/2","labels_url":"https://api.github.com/repos/wfp/node-a11y-auditor/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/wfp/node-a11y-auditor/issues/2/comments","events_url":"https://api.github.com/repos/wfp/node-a11y-auditor/issues/2/events","html_url":"https://github.com/wfp/node-a11y-auditor/issues/2","id":116823842,"number":2,"title":"Load and use pa11y module rather than global version","user":{"login":"andrewholgate","id":3862180,"avatar_url":"https://avatars.githubusercontent.com/u/3862180?v=3","gravatar_id":"","url":"https://api.github.com/users/andrewholgate","html_url":"https://github.com/andrewholgate","followers_url":"https://api.github.com/users/andrewholgate/followers","following_url":"https://api.github.com/users/andrewholgate/following{/other_user}","gists_url":"https://api.github.com/users/andrewholgate/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewholgate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewholgate/subscriptions","organizations_url":"https://api.github.com/users/andrewholgate/orgs","repos_url":"https://api.github.com/users/andrewholgate/repos","events_url":"https://api.github.com/users/andrewholgate/events{/privacy}","received_events_url":"https://api.github.com/users/andrewholgate/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"lashab","id":1751914,"avatar_url":"https://avatars.githubusercontent.com/u/1751914?v=3","gravatar_id":"","url":"https://api.github.com/users/lashab","html_url":"https://github.com/lashab","followers_url":"https://api.github.com/users/lashab/followers","following_url":"https://api.github.com/users/lashab/following{/other_user}","gists_url":"https://api.github.com/users/lashab/gists{/gist_id}","starred_url":"https://api.github.com/users/lashab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lashab/subscriptions","organizations_url":"https://api.github.com/users/lashab/orgs","repos_url":"https://api.github.com/users/lashab/repos","events_url":"https://api.github.com/users/lashab/events{/privacy}","received_events_url":"https://api.github.com/users/lashab/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-11-13T18:34:08Z","updated_at":"2015-11-18T13:06:58Z","closed_at":"2015-11-18T13:06:58Z","body":"Although it is a dependency for this module, `pa11y` is not being loaded and used.\r\neg. `var pa11y = require('pa11y');`\r\n\r\nWe need to replace the below with the loaded version:\r\n\r\n```\r\nvar pa11y = \"for file in files/a11y_audit/*.html; do pa11y --standard WCAG2A --ignore 'notice;warning' file:$file; done;\"\r\n```"}}