ultra11y 2.22.0 → 2.24.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.
Files changed (43) hide show
  1. package/README.md +93 -9
  2. package/package.json +6 -2
  3. package/scripts/build-pack-rgaa.mjs +95 -1
  4. package/scripts/build-standards.mjs +5 -1
  5. package/scripts/ultra11y.mjs +2920 -320
  6. package/skills/review-a11y/SKILL.md +1 -1
  7. package/skills/review-a11y/scripts/ultra11y.mjs +2920 -320
  8. package/skills/ultra11y/SKILL.md +38 -2
  9. package/skills/ultra11y/references/ci.md +165 -0
  10. package/skills/ultra11y/references/criteria.md +5 -5
  11. package/skills/ultra11y/references/devtools.md +67 -0
  12. package/skills/ultra11y/references/e2e.md +112 -0
  13. package/skills/ultra11y/references/judgment.md +25 -0
  14. package/skills/ultra11y/references/pages.md +205 -0
  15. package/skills/ultra11y/scripts/ultra11y.mjs +2920 -320
  16. package/src/adjudicate.ts +270 -45
  17. package/src/annotate.ts +158 -0
  18. package/src/audit.ts +8 -1
  19. package/src/capture.ts +4 -0
  20. package/src/cli.ts +485 -14
  21. package/src/criteria.ts +58 -0
  22. package/src/data/standards/rgaa.json +155 -30
  23. package/src/data/wcag.json +5 -5
  24. package/src/dev.ts +427 -0
  25. package/src/e2e.ts +303 -0
  26. package/src/gh.ts +72 -0
  27. package/src/init.ts +39 -7
  28. package/src/messages.ts +87 -0
  29. package/src/orchestrate-templates.ts +12 -4
  30. package/src/pages.ts +283 -0
  31. package/src/parse/html.ts +12 -0
  32. package/src/pixel.ts +217 -0
  33. package/src/prd.ts +37 -0
  34. package/src/report.ts +28 -2
  35. package/src/rules/registry.ts +2 -0
  36. package/src/rules/rendered.ts +379 -0
  37. package/src/rules/rule.ts +3 -0
  38. package/src/sarif.ts +196 -0
  39. package/src/scan-local.ts +4 -0
  40. package/src/snapshot.ts +442 -0
  41. package/src/standards/derive.ts +32 -1
  42. package/src/types.ts +161 -1
  43. package/src/util.ts +18 -0
@@ -3,7 +3,7 @@ name: review-a11y
3
3
  description: "Use to REVIEW code changes for accessibility — '/review-a11y', 'review my changes/PR/branch for a11y', 'accessibility review of this diff'. Scopes to exactly the code under change (staged files, working diff, or branch vs merge-base), runs the bundled install-free ultra11y engine (node scripts/ultra11y.mjs, no keys; static WCAG 2.2 AA checks tied to success criteria, cross-file JSX/TSX via --graph), then adds YOUR judgment: refute false positives (SFC/library-source findings are preliminary), decide alt relevance and link purpose, name the rendering criteria (contrast, focus, zoom) as residual risks — never invent a non-conformity. Output: a severity-ranked review (blocking → major → minor) with file:line, concrete fixes, residual risks and a one-line verdict, in the conversation's language (technical tokens stay in English). Companion of the ultra11y skill (full audits, reports, PRD, RGAA packs). Triggers: 'review a11y', 'a11y review', 'accessibility review'."
4
4
  license: MIT
5
5
  metadata:
6
- version: 2.22.0
6
+ version: 2.24.0
7
7
  ---
8
8
 
9
9
  # review-a11y — accessibility review of changed code