eaa-kit 0.6.0 → 0.7.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/README.md +23 -8
- package/dist/astro/index.d.ts +1 -1
- package/dist/astro/index.js +1 -1
- package/dist/audit/runners/worker.js +1 -1
- package/dist/audit-Bwm1xBdJ.js +2 -0
- package/dist/{audit-e_uixhPG.js → audit-DRjAY2iY.js} +164 -75
- package/dist/{baseline-D2qWmUC6.js → baseline-BpE7DbDq.js} +1 -1
- package/dist/{baseline-BscHfFSW.js → baseline-rtnj3RHB.js} +1 -1
- package/dist/cache-D4dOIuOi.js +219 -0
- package/dist/{checklist-BtgkxMEa.js → checklist-DDd9jewi.js} +3 -3
- package/dist/cli/index.js +28 -12
- package/dist/{command-CZKp9Wi_.js → command-3r4fht5f.js} +6 -5
- package/dist/{coverage-BD2_CYns.js → coverage-cb5kPp48.js} +3 -285
- package/dist/coverage-n1X9CkiG.js +3 -0
- package/dist/criteria-CnPJKGeb.js +286 -0
- package/dist/eleventy/index.d.ts +1 -1
- package/dist/eleventy/index.js +1 -1
- package/dist/{html-Bmh7X_sM.js → html-BIxxF3FC.js} +6 -4
- package/dist/index.d.ts +19 -0
- package/dist/index.js +2 -2
- package/dist/{init-BjKYttxc.js → init-DrFfzjvm.js} +2 -2
- package/dist/jsdom-BUYuVJJm.js +3 -0
- package/dist/{jsdom-CQar6OQS.js → jsdom-CsW_xVcA.js} +11 -12
- package/dist/{json-PNg6BeXp.js → json-Bus6YhxB.js} +4 -3
- package/dist/{json-HJDgJp09.js → json-CrQmoTj6.js} +1 -1
- package/dist/{load-vZdV_fD1.js → load-BaWMa-G_.js} +6 -1
- package/dist/load-n62iXDq_.js +2 -0
- package/dist/nuxt/index.d.ts +1 -1
- package/dist/nuxt/index.js +1 -1
- package/dist/{playwright-C-miJP2b.js → playwright-ukCr_5o3.js} +1 -1
- package/dist/{pool-dkexq5xo.js → pool-B4tEUa2S.js} +6 -2
- package/dist/{completeness-Dwq3CPB3.js → remediation-C0klJblu.js} +55 -42
- package/dist/{render-CtsqR0k-.js → render-C1sUZZI_.js} +41 -3
- package/dist/{result-DfUru6y_.js → result-B7_zVxAX.js} +1 -1
- package/dist/result-CRmjjoAA.js +2 -0
- package/dist/{run-YiqyQA2b.d.ts → run-BK2blxMI.d.ts} +8 -0
- package/dist/{run-D7hdVXLA.js → run-DrS0Komf.js} +6 -2
- package/dist/{sarif-BKvq_AUm.js → sarif-BNCE0PNT.js} +3 -2
- package/dist/statement/templates/at.de.md +14 -0
- package/dist/statement/templates/at.en.md +14 -0
- package/dist/statement/templates/ch.de.md +14 -0
- package/dist/statement/templates/ch.en.md +14 -0
- package/dist/statement/templates/de.de.md +14 -0
- package/dist/statement/templates/de.en.md +14 -0
- package/dist/statement/templates/es.en.md +14 -0
- package/dist/statement/templates/es.es.md +15 -0
- package/dist/statement/templates/fr.en.md +14 -0
- package/dist/statement/templates/fr.fr.md +15 -0
- package/dist/statement/templates/it.en.md +14 -0
- package/dist/statement/templates/it.it.md +15 -0
- package/dist/statement/templates/nl.en.md +14 -0
- package/dist/statement/templates/nl.nl.md +15 -0
- package/dist/vite/index.d.ts +1 -1
- package/dist/vite/index.js +1 -1
- package/dist/webpack/index.d.ts +1 -1
- package/dist/webpack/index.js +1 -1
- package/dist/{worksheet-eUjwYLxC.js → worksheet-BIxMtbUd.js} +3 -2
- package/package.json +3 -2
- package/dist/audit-DK2StT1_.js +0 -2
- package/dist/coverage-7bQqWNfN.js +0 -2
- package/dist/jsdom-DMvU2h-f.js +0 -3
- package/dist/load-Bc_xDGAh.js +0 -2
|
@@ -64,6 +64,20 @@ It is based on a self-assessment carried out by {{ provider.legalName }}.
|
|
|
64
64
|
It is based on an assessment carried out by a third party.
|
|
65
65
|
{{/if}}
|
|
66
66
|
|
|
67
|
+
{{#if review.isSingle}}
|
|
68
|
+
One of the {{ review.total }} success criteria in WCAG 2.2 at Levels A and AA was checked
|
|
69
|
+
manually.
|
|
70
|
+
{{/if}}
|
|
71
|
+
{{#if review.isPlural}}
|
|
72
|
+
{{ review.answered }} of the {{ review.total }} success criteria in WCAG 2.2 at Levels A and
|
|
73
|
+
AA were checked manually.
|
|
74
|
+
{{/if}}
|
|
75
|
+
{{#if review.hasDate}}
|
|
76
|
+
The most recent of those manual checks was recorded on {{ review.checkedOnFormatted }}.
|
|
77
|
+
{{/if}}
|
|
78
|
+
{{#if hasReview}}
|
|
79
|
+
|
|
80
|
+
{{/if}}
|
|
67
81
|
{{#if audit.isSinglePage}}
|
|
68
82
|
The automated test run of {{ audit.checkedOnFormatted }} covered one page of this website.
|
|
69
83
|
{{/if}}
|
|
@@ -64,6 +64,21 @@ Zij berust op een zelfbeoordeling door {{ provider.legalName }}.
|
|
|
64
64
|
Zij berust op een beoordeling door een derde partij.
|
|
65
65
|
{{/if}}
|
|
66
66
|
|
|
67
|
+
{{#if review.isSingle}}
|
|
68
|
+
Eén van de {{ review.total }} succescriteria van WCAG 2.2 (niveaus A en AA) is handmatig
|
|
69
|
+
gecontroleerd.
|
|
70
|
+
{{/if}}
|
|
71
|
+
{{#if review.isPlural}}
|
|
72
|
+
{{ review.answered }} van de {{ review.total }} succescriteria van WCAG 2.2 (niveaus A en
|
|
73
|
+
AA) zijn handmatig gecontroleerd.
|
|
74
|
+
{{/if}}
|
|
75
|
+
{{#if review.hasDate}}
|
|
76
|
+
De meest recente van deze handmatige controles is uitgevoerd op
|
|
77
|
+
{{ review.checkedOnFormatted }}.
|
|
78
|
+
{{/if}}
|
|
79
|
+
{{#if hasReview}}
|
|
80
|
+
|
|
81
|
+
{{/if}}
|
|
67
82
|
{{#if audit.isSinglePage}}
|
|
68
83
|
De geautomatiseerde test van {{ audit.checkedOnFormatted }} betrof één pagina van deze
|
|
69
84
|
website.
|
package/dist/vite/index.d.ts
CHANGED
package/dist/vite/index.js
CHANGED
package/dist/webpack/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as IntegrationOptions, t as BuildAuditError } from "../run-
|
|
1
|
+
import { n as IntegrationOptions, t as BuildAuditError } from "../run-BK2blxMI.js";
|
|
2
2
|
//#region src/webpack/index.d.ts
|
|
3
3
|
/** The part of a webpack compilation this reads. */
|
|
4
4
|
interface CompilationLike {
|
package/dist/webpack/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as auditBuild, r as stderrLogger, t as BuildAuditError } from "../run-
|
|
1
|
+
import { n as auditBuild, r as stderrLogger, t as BuildAuditError } from "../run-DrS0Komf.js";
|
|
2
2
|
import path from "node:path";
|
|
3
3
|
//#region src/webpack/index.ts
|
|
4
4
|
var EaaKitWebpackPlugin = class {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as WCAG22_AA_CRITERIA } from "./criteria-CnPJKGeb.js";
|
|
2
|
+
import { n as DEFAULT_TAGS } from "./result-B7_zVxAX.js";
|
|
3
|
+
import { a as manualCheckFor, i as rulesByCriterion, o as understandingUrl } from "./coverage-cb5kPp48.js";
|
|
3
4
|
//#region src/audit/worksheet.ts
|
|
4
5
|
function buildWorksheet(options) {
|
|
5
6
|
const rules = rulesByCriterion(options.tags ?? DEFAULT_TAGS);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eaa-kit",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "WCAG 2.2 AA auditor and EU accessibility statement generator for seven countries (AT, DE, CH, ES, FR, IT, NL). Audits a static build or a running site from the command line.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -79,7 +79,8 @@
|
|
|
79
79
|
"typecheck": "tsc --noEmit",
|
|
80
80
|
"lint": "biome check .",
|
|
81
81
|
"format": "biome check --write .",
|
|
82
|
-
"smoke": "pnpm build && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json && node dist/cli/index.js audit tests/fixtures/site --include \"about/**\" \"blog/**\" \"drafts/**\" \"legacy.htm\" --concurrency 2 && node dist/cli/index.js audit tests/fixtures/site --include about/** --format html && node dist/cli/index.js audit tests/fixtures/site --baseline examples/baseline.json && node -e \"import('./dist/astro/index.js').then(m => { const i = m.default(); if (i.name !== 'eaa-kit' || typeof i.hooks['astro:build:done'] !== 'function') { throw new Error('astro entry point is not an integration') } console.log('astro entry ok') })\" && node dist/cli/index.js baseline tests/fixtures/site --output .eaa-kit/smoke-baseline.json && node dist/cli/index.js baseline tests/fixtures/site --output .eaa-kit/smoke-baseline.json --prune && node dist/cli/index.js checklist --record .eaa-kit/smoke-review.json --output .eaa-kit/smoke-review.md && node dist/cli/index.js audit tests/fixtures/site --include about/** --review .eaa-kit/smoke-review.json --coverage && node dist/cli/index.js statement --config examples/eaa.config.json && node dist/cli/index.js statement --config examples/eaa.config.json --audit examples/report.json --format html && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json --output .eaa-kit/smoke-base.json && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json --output .eaa-kit/smoke-head.json && node dist/cli/index.js diff .eaa-kit/smoke-base.json .eaa-kit/smoke-head.json --format json",
|
|
82
|
+
"smoke": "pnpm build && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json && node dist/cli/index.js audit tests/fixtures/site --include \"about/**\" \"blog/**\" \"drafts/**\" \"legacy.htm\" --concurrency 2 && node dist/cli/index.js audit tests/fixtures/site --include about/** --format html && node dist/cli/index.js audit tests/fixtures/site --baseline examples/baseline.json && node -e \"import('./dist/astro/index.js').then(m => { const i = m.default(); if (i.name !== 'eaa-kit' || typeof i.hooks['astro:build:done'] !== 'function') { throw new Error('astro entry point is not an integration') } console.log('astro entry ok') })\" && node dist/cli/index.js baseline tests/fixtures/site --output .eaa-kit/smoke-baseline.json && node dist/cli/index.js baseline tests/fixtures/site --output .eaa-kit/smoke-baseline.json --prune && node dist/cli/index.js checklist --record .eaa-kit/smoke-review.json --output .eaa-kit/smoke-review.md && node dist/cli/index.js audit tests/fixtures/site --include about/** --review .eaa-kit/smoke-review.json --coverage && node dist/cli/index.js statement --config examples/eaa.config.json && node dist/cli/index.js statement --config examples/eaa.config.json --audit examples/report.json --format html && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json --no-cache --output .eaa-kit/smoke-base.json && node dist/cli/index.js audit tests/fixtures/site --include about/** --format json --no-cache --output .eaa-kit/smoke-head.json && node dist/cli/index.js diff .eaa-kit/smoke-base.json .eaa-kit/smoke-head.json --format json",
|
|
83
|
+
"bench": "pnpm build && node scripts/bench.mjs",
|
|
83
84
|
"examples": "pnpm build && node scripts/generate-examples.mjs",
|
|
84
85
|
"test:packaged": "pnpm build && node scripts/test-packaged.mjs"
|
|
85
86
|
},
|
package/dist/audit-DK2StT1_.js
DELETED
package/dist/jsdom-DMvU2h-f.js
DELETED
package/dist/load-Bc_xDGAh.js
DELETED