accessibility-checker
Advanced tools
Comparing version 3.0.8 to 3.1.0
@@ -193,5 +193,5 @@ #!/usr/bin/env node | ||
if (isFile) { | ||
result = await aChecker.getCompliance("file://"+f, f); | ||
result = await aChecker.getCompliance("file://"+f, f.replace(/^file:\/\//,"").replace(/:/g,"_")); | ||
} else { | ||
result = await aChecker.getCompliance(f, f); | ||
result = await aChecker.getCompliance(f, f.replace(/^(https?:|file:)\/\//,"").replace(/:/g,"_")); | ||
} | ||
@@ -198,0 +198,0 @@ if (result) { |
@@ -29,2 +29,4 @@ /****************************************************************************** | ||
maxTabs: 1, | ||
policies: ["IBM_Accessibility"], | ||
@@ -31,0 +33,0 @@ |
{ | ||
"name": "accessibility-checker", | ||
"version": "3.0.8", | ||
"version": "3.1.0", | ||
"description": "An automated testing tools for accessibility testing using Puppeteer, Selenium, or Zombie", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,6 +20,10 @@ # accessibility-checker | ||
Use the command-line version: | ||
* Install globally | ||
```bash | ||
$ npx achecker | ||
$ npm install -g accessibility-checker | ||
``` | ||
* Run command-line tool after globally installed | ||
```bash | ||
$ achecker | ||
``` | ||
@@ -26,0 +30,0 @@ ## Getting Started |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2416183
12329
401