ultra11y 4.0.0 → 4.1.0
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.opencode/plugins/ultra11y.js +1 -1
- package/README.md +22 -0
- package/package.json +1 -1
- package/scripts/ultra11y.mjs +1639 -337
- package/skills/review-a11y/SKILL.md +1 -1
- package/skills/review-a11y/scripts/ultra11y.mjs +1639 -337
- package/skills/ultra11y/SKILL.md +1 -1
- package/skills/ultra11y/references/ci.md +87 -0
- package/skills/ultra11y/references/pages.md +57 -0
- package/skills/ultra11y/scripts/ultra11y.mjs +1639 -337
- package/src/annotate.ts +180 -15
- package/src/auditor.ts +0 -0
- package/src/cli.ts +158 -8
- package/src/dev.ts +32 -76
- package/src/html-emit.ts +310 -0
- package/src/html-report.ts +459 -0
- package/src/html.ts +261 -0
- package/src/mcp/handlers.ts +11 -1
- package/src/mcp/tools.ts +10 -1
- package/src/pages-report.ts +34 -21
- package/src/pages.ts +28 -4
- package/src/report.ts +71 -27
- package/src/types.ts +1 -1
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"name": "ultra11y",
|
|
11
11
|
"source": "./",
|
|
12
12
|
"description": "Automatic accessibility review of the code under change before every commit, push and pull request, plus full WCAG 2.2 AA / RGAA audits and conformance deliverables on demand.",
|
|
13
|
-
"version": "4.
|
|
13
|
+
"version": "4.1.0",
|
|
14
14
|
"author": { "name": "maxgfr" },
|
|
15
15
|
"homepage": "https://github.com/maxgfr/ultra11y",
|
|
16
16
|
"repository": "https://github.com/maxgfr/ultra11y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
3
|
"description": "Accessibility for WCAG 2.2 AA and country standards (RGAA…): an automatic review of the code under change before every commit, push and pull request, plus full audits and conformance deliverables on demand.",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"author": { "name": "maxgfr" },
|
|
6
6
|
"homepage": "https://github.com/maxgfr/ultra11y",
|
|
7
7
|
"repository": "https://github.com/maxgfr/ultra11y",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
3
|
"description": "Accessibility for WCAG 2.2 AA and country standards (RGAA…): an automatic review of the code under change before every commit, push and pull request, plus full audits and conformance deliverables on demand.",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.1.0",
|
|
5
5
|
"author": { "name": "maxgfr", "url": "https://github.com/maxgfr" },
|
|
6
6
|
"homepage": "https://github.com/maxgfr/ultra11y",
|
|
7
7
|
"repository": "https://github.com/maxgfr/ultra11y",
|
|
@@ -27,7 +27,7 @@ import { fileURLToPath } from "node:url";
|
|
|
27
27
|
// Ownership marker: `ultra11y install --opencode` refuses to overwrite a plugin file that
|
|
28
28
|
// does not carry it, so a user's own ultra11y.js is never clobbered.
|
|
29
29
|
const ULTRA11Y_OPENCODE_PLUGIN = "ULTRA11Y_OPENCODE_PLUGIN";
|
|
30
|
-
const ULTRA11Y_PLUGIN_VERSION = "4.
|
|
30
|
+
const ULTRA11Y_PLUGIN_VERSION = "4.1.0";
|
|
31
31
|
|
|
32
32
|
const here = dirname(fileURLToPath(import.meta.url));
|
|
33
33
|
|
package/README.md
CHANGED
|
@@ -409,6 +409,28 @@ node scripts/ultra11y.mjs report --in audit.json --out audits # audits/wcag
|
|
|
409
409
|
node scripts/ultra11y.mjs check --report audits/wcag-YYYY-MM-DD.md # integrity gate
|
|
410
410
|
```
|
|
411
411
|
|
|
412
|
+
### A report someone will actually open
|
|
413
|
+
|
|
414
|
+
`--html` turns the audit into a page: `audits/index.html` as the entry point, plus a
|
|
415
|
+
detachable single file that prints to PDF. Self-contained — no script, no external asset,
|
|
416
|
+
nothing pointing outside the directory — and it passes this engine's own accessibility audit,
|
|
417
|
+
which is the least a tool like this owes.
|
|
418
|
+
|
|
419
|
+
```sh
|
|
420
|
+
node scripts/ultra11y.mjs report --in audit.json --html --evidence --out audits
|
|
421
|
+
node scripts/ultra11y.mjs pages --in audit.json --format report --split page \
|
|
422
|
+
--evidence --html --out audits/pages
|
|
423
|
+
```
|
|
424
|
+
|
|
425
|
+
`--evidence` illustrates each non-conformity with an **annotated crop of the offending
|
|
426
|
+
element**, cut from the page snapshot: `selectorHint` is lossy, and a rendered-tier finding on
|
|
427
|
+
a client-rendered page is anchored at `dom.html:2` whatever it is really about. It needs
|
|
428
|
+
snapshots, and it says per page and per criterion what it could not draw and why — an
|
|
429
|
+
occurrence with no picture must never read as an occurrence with no defect.
|
|
430
|
+
|
|
431
|
+
In the GitHub Action both are **on by default**, so the uploaded artifact has a front door
|
|
432
|
+
without changing a workflow. See `references/ci.md`.
|
|
433
|
+
|
|
412
434
|
The skill (`skills/ultra11y/SKILL.md` + `references/`) teaches the agent when and how to run these, how to complete the manual criteria, and the native-first authoring doctrine.
|
|
413
435
|
|
|
414
436
|
## Development
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ultra11y",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.1.0",
|
|
4
4
|
"description": "Audit HTML/CSS/JSX against WCAG 2.2 AA and produce a dated compliance report, or author/review accessible markup (native-HTML-first). A skills.sh agent skill: an install-free static engine (bundled, no npm install) plus the agent's judgment, with check/verify gates against hallucinated non-conformities, and pluggable in-repo standards packs (RGAA France first; Section 508 & EN 301 549 next).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "pnpm@10.33.0",
|