@okent/accessibility-scanner-keyboard-plugin 0.1.0 → 0.1.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 +4 -4
- package/package.json +6 -3
package/README.md
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
A plugin for [GitHub's accessibility scanner](https://github.com/github/accessibility-scanner)
|
|
4
4
|
that walks the real Tab order of each page and reports the keyboard failures a
|
|
5
5
|
rule engine inspecting the DOM at rest cannot see. It is a TypeScript port of
|
|
6
|
-
the keyboard probe in
|
|
6
|
+
the keyboard probe in accessibility-tooling, an ACR toolkit, with the same rules, the
|
|
7
7
|
same thresholds, and the same refusal to treat a clean walk as a pass.
|
|
8
8
|
|
|
9
9
|
| Rule | Criterion | Asserts |
|
|
@@ -110,12 +110,12 @@ into one summary finding.
|
|
|
110
110
|
npm install
|
|
111
111
|
npx playwright install chromium
|
|
112
112
|
npm test # unit tests for the walk analysis, plus an end-to-end run
|
|
113
|
-
# against
|
|
113
|
+
# against test/fixtures/demo.html
|
|
114
114
|
npm run build
|
|
115
115
|
```
|
|
116
116
|
|
|
117
|
-
The end-to-end test asserts that every keyboard defect planted in the
|
|
118
|
-
|
|
117
|
+
The end-to-end test asserts that every keyboard defect planted in the
|
|
118
|
+
fixture is found and that its control cases stay silent. The
|
|
119
119
|
fixture's header comment lists what is planted.
|
|
120
120
|
|
|
121
121
|
## License
|
package/package.json
CHANGED
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@okent/accessibility-scanner-keyboard-plugin",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Keyboard probe plugin for github/accessibility-scanner: focus traps, unreachable controls, removed focus indicators, and focus-order divergence, found by walking the real Tab order.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
|
-
"url": "git+https://github.com/owenpkent/accessibility-
|
|
9
|
-
"directory": "plugins/keyboard-scan"
|
|
8
|
+
"url": "git+https://github.com/owenpkent/accessibility-scanner-keyboard-plugin.git"
|
|
10
9
|
},
|
|
11
10
|
"type": "module",
|
|
12
11
|
"main": "./dist/index.js",
|
|
@@ -56,5 +55,9 @@
|
|
|
56
55
|
"playwright": "^1.50.0",
|
|
57
56
|
"typescript": "^5.5.0",
|
|
58
57
|
"vitest": "^3.0.0"
|
|
58
|
+
},
|
|
59
|
+
"homepage": "https://github.com/owenpkent/accessibility-scanner-keyboard-plugin#readme",
|
|
60
|
+
"bugs": {
|
|
61
|
+
"url": "https://github.com/owenpkent/accessibility-scanner-keyboard-plugin/issues"
|
|
59
62
|
}
|
|
60
63
|
}
|