node-wcag icon indicating copy to clipboard operation
node-wcag copied to clipboard

WCAG and Section 508 accessibility audits from the command line.

Results 7 node-wcag issues
Sort by recently updated
recently updated
newest added

CLI requires an AChecker API id: ``` $ wcag domainname.com Please provide an AChecker API ID with `--id` or setting an `ACHECKER_ID` environment variable. Register at http://achecker.ca/register.php to get an...

According to https://achecker.ca/checker/suggestion.php?id=7, "img element cannot have alt attribute value of null or whitespace if the img element is contained by an A element and **there is no other link...

Using a localhost address in https://github.com/cfpb/node-wcag#module-usage always passes and returns an empty array for `errors` and `potentialProblems`.

Turns out the global installation isn't the problem: https://travis-ci.org/contolini/node-wcag/builds/80614351 ``` sh $ npm install npm ERR! Linux 3.13.0-40-generic npm ERR! argv "/home/travis/.nvm/versions/node/v0.12.7/bin/node" "/home/travis/.nvm/versions/node/v0.12.7/bin/npm" "install" npm ERR! node v0.12.7 npm ERR!...

In packages.json engines states >=0.8. I propose we bump that to 0.10.

Now only 0.12 is tested. I think it would be a good idea to add 0.10 and iojs as well ``` node_js: - "0.10" - "0.12" - "iojs" ```

Sometimes you don't want the entire report. You just want to know if it PASSES (no errors founds) or FAILS. See https://github.com/cfpb/node-wcag/issues/8#issuecomment-106902577.