semantica11y 1.0.0 โ 1.0.1
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.
- package/README.md +2 -7
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
<img src="
|
|
1
|
+
<img src="https://media.licdn.com/dms/image/v2/D5622AQGesCZdmU6big/feedshare-shrink_800/B56Z5fRmg6KcAc-/0/1779714910497?e=2147483647&v=beta&t=WrvuX6KsIjAy6aVgzPf3C9K27W5CL3CiR4ngtqHKvJc" alt="Semantica11y logo" width="500" height="350">
|
|
2
2
|
|
|
3
3
|
# Semantica11y
|
|
4
4
|
|
|
@@ -89,7 +89,7 @@ const analyzer = new Analyzer({ rules: customRules });
|
|
|
89
89
|
|
|
90
90
|
Semantica11y ships with 11 default rules that check semantic HTML, ARIA usage, headings, landmarks, forms, images, disclosure controls, modal dialogs, and native label conflicts.
|
|
91
91
|
|
|
92
|
-
For the full rule-by-rule reference, see [src/engine/rules/README.md](
|
|
92
|
+
For the full rule-by-rule reference, see [src/engine/rules/README.md](https://github.com/Steady5063/Semantica11y/tree/main/src/engine/rules).
|
|
93
93
|
|
|
94
94
|
## ๐งช Testing
|
|
95
95
|
|
|
@@ -111,11 +111,6 @@ Run the Playwright example against `https://example.com`:
|
|
|
111
111
|
node examples/basic.js
|
|
112
112
|
```
|
|
113
113
|
|
|
114
|
-
Analyze a different page:
|
|
115
|
-
|
|
116
|
-
```bash
|
|
117
|
-
node examples/basic.js https://www.statefarm.com
|
|
118
|
-
```
|
|
119
114
|
|
|
120
115
|
## ๐ฆ Build Package
|
|
121
116
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "semantica11y",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "A JavaScript engine to check webpages for ARIA and non-semantic HTML elements with suggestions for improvements",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.js",
|
|
@@ -37,7 +37,8 @@
|
|
|
37
37
|
"author": "",
|
|
38
38
|
"license": "MIT",
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"jsdom": "^24.0.0"
|
|
40
|
+
"jsdom": "^24.0.0",
|
|
41
|
+
"semantica11y": "^1.0.0"
|
|
41
42
|
},
|
|
42
43
|
"devDependencies": {
|
|
43
44
|
"playwright": "^1.60.0"
|