ultra11y 5.58.2 → 5.58.4

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 (39) hide show
  1. package/.claude-plugin/marketplace.json +1 -1
  2. package/.claude-plugin/plugin.json +1 -1
  3. package/.codex-plugin/plugin.json +1 -1
  4. package/.opencode/plugins/ultra11y.js +1 -1
  5. package/README.md +3 -1
  6. package/package.json +7 -2
  7. package/scripts/ultra11y.mjs +30462 -43470
  8. package/scripts/vendor/wcag-2.2-techniques.json +4 -4
  9. package/skills/review-a11y/SKILL.md +1 -1
  10. package/skills/review-a11y/scripts/ultra11y.mjs +30462 -43470
  11. package/skills/ultra11y/SKILL.md +1 -1
  12. package/skills/ultra11y/references/cross-file.md +10 -3
  13. package/skills/ultra11y/references/pages.md +6 -5
  14. package/skills/ultra11y/scripts/ultra11y.mjs +30462 -43470
  15. package/skills/ultra11y/templates/gitlab-ci.yml +1 -1
  16. package/src/affected.ts +6 -6
  17. package/src/audit.ts +55 -0
  18. package/src/data/guidance/wcag.json +2 -2
  19. package/src/glob.ts +43 -24
  20. package/src/graph/graph.ts +77 -1
  21. package/src/graph/imports.ts +9 -3
  22. package/src/graph/resolve.ts +4 -5
  23. package/src/graph/spec-resolve.ts +181 -0
  24. package/src/graph/tsconfig.ts +7 -7
  25. package/src/html-report.ts +3 -5
  26. package/src/mcp/protocol.ts +1 -2
  27. package/src/mcp/resources.ts +2 -3
  28. package/src/messages.ts +2 -2
  29. package/src/pages-report.ts +77 -14
  30. package/src/pages.ts +45 -10
  31. package/src/report.ts +8 -46
  32. package/src/rules/cross-registry.ts +30 -3
  33. package/src/rules/mandatory.ts +17 -3
  34. package/src/rules/next-metadata.ts +39 -0
  35. package/src/types.ts +1 -1
  36. package/src/walk.ts +272 -0
  37. package/src/graph/engine-resolve.ts +0 -0
  38. package/src/vendor/codeindex-engine.d.mts +0 -1572
  39. package/src/vendor/codeindex-engine.mjs +0 -17693
@@ -10,7 +10,7 @@
10
10
  "name": "ultra11y",
11
11
  "source": "./",
12
12
  "description": "RGAA 4.1.2 accessibility audits on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports in Claude Code.",
13
- "version": "5.58.2",
13
+ "version": "5.58.4",
14
14
  "author": { "name": "maxgfr" },
15
15
  "homepage": "https://github.com/SocialGouv/ultra11y",
16
16
  "repository": "https://github.com/SocialGouv/ultra11y",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ultra11y",
3
3
  "description": "RGAA 4.1.2 accessibility audits, the French State's standard, on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports. Never declares conforming what it has not verified.",
4
- "version": "5.58.2",
4
+ "version": "5.58.4",
5
5
  "author": { "name": "maxgfr" },
6
6
  "homepage": "https://github.com/SocialGouv/ultra11y",
7
7
  "repository": "https://github.com/SocialGouv/ultra11y",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ultra11y",
3
3
  "description": "RGAA 4.1.2 accessibility audits, the French State's standard, on a WCAG 2.2 AA core: automatic review before commit, push and pull request, plus dated, evidenced Markdown, HTML and per-page conformance reports. Never declares conforming what it has not verified.",
4
- "version": "5.58.2",
4
+ "version": "5.58.4",
5
5
  "author": { "name": "maxgfr", "url": "https://github.com/maxgfr" },
6
6
  "homepage": "https://github.com/SocialGouv/ultra11y",
7
7
  "repository": "https://github.com/SocialGouv/ultra11y",
@@ -44,7 +44,7 @@ import { fileURLToPath } from "node:url";
44
44
  // does not carry it, so a user's own ultra11y.js is never clobbered. Kept as text, not as
45
45
  // an export (see above).
46
46
  const ULTRA11Y_OPENCODE_PLUGIN = "ULTRA11Y_OPENCODE_PLUGIN";
47
- const ULTRA11Y_PLUGIN_VERSION = "5.58.2";
47
+ const ULTRA11Y_PLUGIN_VERSION = "5.58.4";
48
48
  const PLUGIN_ID = "ultra11y";
49
49
  const SKILL_NAMES = ["ultra11y", "review-a11y"];
50
50
 
package/README.md CHANGED
@@ -450,7 +450,9 @@ or malformed file is reported unreadable. See `skills/ultra11y/references/audit.
450
450
  only when something **says** so (else it is counted as unattributed, never spread across
451
451
  pages), and a criterion is conforming *by silence* only on a page whose real rendered DOM
452
452
  was audited. An adjudicated non-conformity counts only on the pages its findings are on; an adjudicated
453
- conformity stays a claim about the whole run. And `pages --format report [--split page]` turns that into the **deliverable an
453
+ conformity stays a claim about the whole run, except on a page with none of the criterion's
454
+ subject. Under a country standard, a page's rate uses the overall rate's formula: validated ÷
455
+ applicable, so a criterion still to assess keeps it a floor. And `pages --format report [--split page]` turns that into the **deliverable an
454
456
  auditor hands over**: one dossier per page — identity, **screenshot**, rate, *every* criterion
455
457
  of the standard with its status on that page, then each non-conformity as the ordinary auditor
456
458
  block. It re-decides nothing and invents no format, so a page sheet and the compliance report
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ultra11y",
3
- "version": "5.58.2",
3
+ "version": "5.58.4",
4
4
  "description": "Audit d'accessibilité RGAA 4.1.2, le référentiel de l'État : rapport daté, grille des 106 critères, backlog et tickets. Moteur statique, navigateur et jugement IA contre-vérifié. Il ne déclare jamais conforme ce qu'il n'a pas vérifié. Socle WCAG 2.2 AA.",
5
5
  "homepage": "https://socialgouv.github.io/ultra11y/",
6
6
  "type": "module",
@@ -91,7 +91,11 @@
91
91
  "@babel/parser": "^8.0.0",
92
92
  "@playwright/test": "^1.62.1",
93
93
  "domhandler": "^6.0.1",
94
- "htmlparser2": "^12.0.0"
94
+ "fdir": "^6.5.0",
95
+ "get-tsconfig": "^4.14.3",
96
+ "htmlparser2": "^12.0.0",
97
+ "ignore": "^7.0.16",
98
+ "picomatch": "^4.0.4"
95
99
  },
96
100
  "devDependencies": {
97
101
  "@biomejs/biome": "^2.5.1",
@@ -100,6 +104,7 @@
100
104
  "@semantic-release/git": "^10.0.1",
101
105
  "@semantic-release/npm": "^13.1.5",
102
106
  "@types/node": "^26.0.1",
107
+ "@types/picomatch": "^4.0.3",
103
108
  "@vitest/coverage-v8": "^4.1.9",
104
109
  "jsdom": "^29.1.1",
105
110
  "semantic-release": "^25.0.8",