wcag-scanner 1.2.56 → 1.2.58

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +8 -6
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -18,6 +18,8 @@ WCAG Scanner is a powerful accessibility testing tool that helps developers iden
18
18
 
19
19
  ![Alt](https://repobeats.axiom.co/api/embed/ea9b7507716a27718ca4869364db5f69100a6bb1.svg "Repobeats analytics image")
20
20
 
21
+ <div align="center"><img src="https://codecov.io/gh/sinhaparth5/wcag-scanner/graphs/sunburst.svg?token=TOJOPXNYGV" alt="CodeCov Sunburst" /> </div>
22
+
21
23
  ## ✨ Features
22
24
 
23
25
  - **Comprehensive Accessibility Testing**: Scans websites against WCAG 2.1 A, AA, and AAA compliance levels
@@ -42,18 +44,18 @@ yarn add wcag-scanner
42
44
  ```
43
45
 
44
46
  ## How to use
47
+ ### CLI Usage Example:
45
48
 
46
- ### Scan a file
47
49
  ```bash
50
+ # Scan a file
48
51
  npx wcag-scanner file index.html --level AA --format console
49
- ```
50
52
 
51
- ### Scan a URL
52
- ```bash
53
+ # Scan a URL
53
54
  npx wcag-scanner url https://example.com --format html --output report.html
54
55
  ```
55
56
 
56
- ### Implement with Express
57
+ ### Express Middleware Usage Example:
58
+
57
59
  ```JavaScript
58
60
  import express from 'express';
59
61
  import { middleware } from 'wcag-scanner';
@@ -92,7 +94,7 @@ app.listen(3000, () => {
92
94
  });
93
95
  ```
94
96
 
95
- ### Create an API
97
+ ### Programmatic API Usage Example:
96
98
  ```JavaScript
97
99
  import { scanHtml, scanUrl, formatReport } from 'wcag-scanner';
98
100
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wcag-scanner",
3
- "version": "1.2.56",
3
+ "version": "1.2.58",
4
4
  "description": "Scan HTML for WCAG accessibility violations with AI-powered fix suggestions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",