@holmdigital/engine 2.1.7 → 2.2.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/dist/{chunk-BXSPTSSZ.mjs → chunk-FAZPXKHR.mjs} +48 -14
- package/dist/cli/index.js +50 -14
- package/dist/cli/index.mjs +4 -2
- package/dist/cli/templates/da.json +3 -3
- package/dist/cli/templates/de.json +3 -3
- package/dist/cli/templates/es.json +3 -3
- package/dist/cli/templates/fi.json +3 -3
- package/dist/cli/templates/fr.json +3 -3
- package/dist/cli/templates/it.json +36 -0
- package/dist/cli/templates/nl.json +3 -3
- package/dist/cli/templates/no.json +3 -3
- package/dist/cli/templates/pl.json +36 -0
- package/dist/cli/templates/pt.json +36 -0
- package/dist/cli/templates/sv.json +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +47 -13
- package/dist/index.mjs +1 -1
- package/dist/templates/da.json +3 -3
- package/dist/templates/de.json +3 -3
- package/dist/templates/es.json +3 -3
- package/dist/templates/fi.json +3 -3
- package/dist/templates/fr.json +3 -3
- package/dist/templates/it.json +36 -0
- package/dist/templates/nl.json +3 -3
- package/dist/templates/no.json +3 -3
- package/dist/templates/pl.json +36 -0
- package/dist/templates/pt.json +36 -0
- package/dist/templates/sv.json +3 -3
- package/package.json +2 -2
|
@@ -138,7 +138,7 @@ var HtmlValidator = class {
|
|
|
138
138
|
// src/core/regulatory-scanner.ts
|
|
139
139
|
import { readFileSync } from "fs";
|
|
140
140
|
function getEngineVersion() {
|
|
141
|
-
return "2.
|
|
141
|
+
return "2.2.0";
|
|
142
142
|
}
|
|
143
143
|
function getStandardsVersion() {
|
|
144
144
|
try {
|
|
@@ -492,7 +492,7 @@ function generateBadgeMarkdown(score) {
|
|
|
492
492
|
import React from "react";
|
|
493
493
|
import { renderToStaticMarkup } from "react-dom/server";
|
|
494
494
|
import { AccessibilityStatement } from "@holmdigital/components";
|
|
495
|
-
import {
|
|
495
|
+
import { getEnforcementBody, getNationalLawByFramework } from "@holmdigital/standards";
|
|
496
496
|
import fs from "fs/promises";
|
|
497
497
|
import path from "path";
|
|
498
498
|
var EVALUATION_METHOD = {
|
|
@@ -506,6 +506,9 @@ var EVALUATION_METHOD = {
|
|
|
506
506
|
fr: "Analyse automatis\xE9e via @holmdigital/engine",
|
|
507
507
|
es: "An\xE1lisis automatizado mediante @holmdigital/engine",
|
|
508
508
|
nl: "Geautomatiseerde controle via @holmdigital/engine",
|
|
509
|
+
it: "Scansione automatizzata tramite @holmdigital/engine",
|
|
510
|
+
pt: "Verifica\xE7\xE3o automatizada via @holmdigital/engine",
|
|
511
|
+
pl: "Automatyczne skanowanie za pomoc\u0105 @holmdigital/engine",
|
|
509
512
|
"en-gb": "Automated scan via @holmdigital/engine",
|
|
510
513
|
"en-us": "Automated scan via @holmdigital/engine",
|
|
511
514
|
"en-ca": "Automated scan via @holmdigital/engine"
|
|
@@ -521,6 +524,9 @@ var STATUS_LABELS = {
|
|
|
521
524
|
fr: { full: "Totalement conforme", partial: "Partiellement conforme", "non-compliant": "Non conforme" },
|
|
522
525
|
es: { full: "Plenamente conforme", partial: "Parcialmente conforme", "non-compliant": "No conforme" },
|
|
523
526
|
nl: { full: "Volledig conform", partial: "Gedeeltelijk conform", "non-compliant": "Niet conform" },
|
|
527
|
+
it: { full: "Pienamente conforme", partial: "Parzialmente conforme", "non-compliant": "Non conforme" },
|
|
528
|
+
pt: { full: "Totalmente conforme", partial: "Parcialmente conforme", "non-compliant": "N\xE3o conforme" },
|
|
529
|
+
pl: { full: "W pe\u0142ni zgodny", partial: "Cz\u0119\u015Bciowo zgodny", "non-compliant": "Niezgodny" },
|
|
524
530
|
"en-gb": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
525
531
|
"en-us": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
526
532
|
"en-ca": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" }
|
|
@@ -536,6 +542,9 @@ var RESPONSE_TIME_DEFAULT = {
|
|
|
536
542
|
fr: "2 jours",
|
|
537
543
|
es: "2 d\xEDas",
|
|
538
544
|
nl: "2 dagen",
|
|
545
|
+
it: "2 giorni",
|
|
546
|
+
pt: "2 dias",
|
|
547
|
+
pl: "2 dni",
|
|
539
548
|
"en-gb": "2 days",
|
|
540
549
|
"en-us": "2 days",
|
|
541
550
|
"en-ca": "2 days"
|
|
@@ -565,17 +574,35 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
565
574
|
}
|
|
566
575
|
});
|
|
567
576
|
const nonComplianceItems = Array.from(issuesMap.values());
|
|
568
|
-
let country =
|
|
569
|
-
if (
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
+
let country = "EU";
|
|
578
|
+
if (metadata?.country) {
|
|
579
|
+
country = metadata.country;
|
|
580
|
+
} else {
|
|
581
|
+
const TLD_MAP = {
|
|
582
|
+
"se": "SE",
|
|
583
|
+
"no": "NO",
|
|
584
|
+
"dk": "DK",
|
|
585
|
+
"fi": "FI",
|
|
586
|
+
"de": "DE",
|
|
587
|
+
"fr": "FR",
|
|
588
|
+
"nl": "NL",
|
|
589
|
+
"es": "ES",
|
|
590
|
+
"it": "IT",
|
|
591
|
+
"pt": "PT",
|
|
592
|
+
"pl": "PL",
|
|
593
|
+
"uk": "GB",
|
|
594
|
+
"us": "US",
|
|
595
|
+
"ca": "CA"
|
|
596
|
+
};
|
|
597
|
+
try {
|
|
598
|
+
const hostname = new URL(result.url).hostname;
|
|
599
|
+
const tld = hostname.split(".").pop()?.toLowerCase() || "";
|
|
600
|
+
country = TLD_MAP[tld] ?? "EU";
|
|
601
|
+
} catch {
|
|
602
|
+
country = "EU";
|
|
603
|
+
}
|
|
577
604
|
}
|
|
578
|
-
const sector = "public";
|
|
605
|
+
const sector = metadata?.sector || "public";
|
|
579
606
|
let logoUrl;
|
|
580
607
|
try {
|
|
581
608
|
const possiblePaths = [
|
|
@@ -707,7 +734,11 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
707
734
|
"{<tiers externe>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
708
735
|
"{<tercero externo>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
709
736
|
"{<third party>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
710
|
-
"{<enforcement_body>}":
|
|
737
|
+
"{<enforcement_body>}": getEnforcementBody(country, sector),
|
|
738
|
+
"{<national_law>}": (() => {
|
|
739
|
+
const law = getNationalLawByFramework(sector === "private" ? "EAA" : "WAD", country);
|
|
740
|
+
return law ? `${law.fullName} (${law.law})` : "";
|
|
741
|
+
})(),
|
|
711
742
|
"{<brister>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "sv" ? "Inga k\xE4nda brister." : "No known issues.",
|
|
712
743
|
"{<puutteet>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fi" ? "Ei tiedossa olevia puutteita." : "No known issues.",
|
|
713
744
|
"{<gebreken>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "nl" ? "Geen bekende gebreken." : "No known issues.",
|
|
@@ -715,6 +746,9 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
715
746
|
"{<d\xE9fauts>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fr" ? "Aucun d\xE9faut connu." : "No known issues.",
|
|
716
747
|
"{<deficiencias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "es" ? "No hay deficiencias conocidas." : "No known issues.",
|
|
717
748
|
"{<mangler>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "no" || lang === "da" ? "Ingen kendte mangler." : "No known issues.",
|
|
749
|
+
"{<carenze>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nessuna carenza nota.",
|
|
750
|
+
"{<defici\xEAncias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nenhuma defici\xEAncia conhecida.",
|
|
751
|
+
"{<braki>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Brak znanych problem\xF3w.",
|
|
718
752
|
"{<issues>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "No known issues."
|
|
719
753
|
};
|
|
720
754
|
const processText = (text) => {
|
|
@@ -726,7 +760,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
726
760
|
if (content2.includes("{<telefonnummer>}") || content2.includes("{<telephone number>}")) {
|
|
727
761
|
return props.phoneNumber ? content2 : "";
|
|
728
762
|
}
|
|
729
|
-
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}")) {
|
|
763
|
+
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}") || content2.includes("{<carenze>}") || content2.includes("{<defici\xEAncias>}") || content2.includes("{<braki>}")) {
|
|
730
764
|
return complianceLevel !== "full" ? content2 : "";
|
|
731
765
|
}
|
|
732
766
|
return content2;
|
package/dist/cli/index.js
CHANGED
|
@@ -782,7 +782,7 @@ var HtmlValidator = class {
|
|
|
782
782
|
// src/core/regulatory-scanner.ts
|
|
783
783
|
var import_node_fs = require("fs");
|
|
784
784
|
function getEngineVersion() {
|
|
785
|
-
return "2.
|
|
785
|
+
return "2.2.0";
|
|
786
786
|
}
|
|
787
787
|
function getStandardsVersion() {
|
|
788
788
|
try {
|
|
@@ -1490,6 +1490,9 @@ var EVALUATION_METHOD = {
|
|
|
1490
1490
|
fr: "Analyse automatis\xE9e via @holmdigital/engine",
|
|
1491
1491
|
es: "An\xE1lisis automatizado mediante @holmdigital/engine",
|
|
1492
1492
|
nl: "Geautomatiseerde controle via @holmdigital/engine",
|
|
1493
|
+
it: "Scansione automatizzata tramite @holmdigital/engine",
|
|
1494
|
+
pt: "Verifica\xE7\xE3o automatizada via @holmdigital/engine",
|
|
1495
|
+
pl: "Automatyczne skanowanie za pomoc\u0105 @holmdigital/engine",
|
|
1493
1496
|
"en-gb": "Automated scan via @holmdigital/engine",
|
|
1494
1497
|
"en-us": "Automated scan via @holmdigital/engine",
|
|
1495
1498
|
"en-ca": "Automated scan via @holmdigital/engine"
|
|
@@ -1505,6 +1508,9 @@ var STATUS_LABELS = {
|
|
|
1505
1508
|
fr: { full: "Totalement conforme", partial: "Partiellement conforme", "non-compliant": "Non conforme" },
|
|
1506
1509
|
es: { full: "Plenamente conforme", partial: "Parcialmente conforme", "non-compliant": "No conforme" },
|
|
1507
1510
|
nl: { full: "Volledig conform", partial: "Gedeeltelijk conform", "non-compliant": "Niet conform" },
|
|
1511
|
+
it: { full: "Pienamente conforme", partial: "Parzialmente conforme", "non-compliant": "Non conforme" },
|
|
1512
|
+
pt: { full: "Totalmente conforme", partial: "Parcialmente conforme", "non-compliant": "N\xE3o conforme" },
|
|
1513
|
+
pl: { full: "W pe\u0142ni zgodny", partial: "Cz\u0119\u015Bciowo zgodny", "non-compliant": "Niezgodny" },
|
|
1508
1514
|
"en-gb": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
1509
1515
|
"en-us": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
1510
1516
|
"en-ca": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" }
|
|
@@ -1520,6 +1526,9 @@ var RESPONSE_TIME_DEFAULT = {
|
|
|
1520
1526
|
fr: "2 jours",
|
|
1521
1527
|
es: "2 d\xEDas",
|
|
1522
1528
|
nl: "2 dagen",
|
|
1529
|
+
it: "2 giorni",
|
|
1530
|
+
pt: "2 dias",
|
|
1531
|
+
pl: "2 dni",
|
|
1523
1532
|
"en-gb": "2 days",
|
|
1524
1533
|
"en-us": "2 days",
|
|
1525
1534
|
"en-ca": "2 days"
|
|
@@ -1549,17 +1558,35 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1549
1558
|
}
|
|
1550
1559
|
});
|
|
1551
1560
|
const nonComplianceItems = Array.from(issuesMap.values());
|
|
1552
|
-
let country =
|
|
1553
|
-
if (
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
+
let country = "EU";
|
|
1562
|
+
if (metadata?.country) {
|
|
1563
|
+
country = metadata.country;
|
|
1564
|
+
} else {
|
|
1565
|
+
const TLD_MAP = {
|
|
1566
|
+
"se": "SE",
|
|
1567
|
+
"no": "NO",
|
|
1568
|
+
"dk": "DK",
|
|
1569
|
+
"fi": "FI",
|
|
1570
|
+
"de": "DE",
|
|
1571
|
+
"fr": "FR",
|
|
1572
|
+
"nl": "NL",
|
|
1573
|
+
"es": "ES",
|
|
1574
|
+
"it": "IT",
|
|
1575
|
+
"pt": "PT",
|
|
1576
|
+
"pl": "PL",
|
|
1577
|
+
"uk": "GB",
|
|
1578
|
+
"us": "US",
|
|
1579
|
+
"ca": "CA"
|
|
1580
|
+
};
|
|
1581
|
+
try {
|
|
1582
|
+
const hostname = new URL(result.url).hostname;
|
|
1583
|
+
const tld = hostname.split(".").pop()?.toLowerCase() || "";
|
|
1584
|
+
country = TLD_MAP[tld] ?? "EU";
|
|
1585
|
+
} catch {
|
|
1586
|
+
country = "EU";
|
|
1587
|
+
}
|
|
1561
1588
|
}
|
|
1562
|
-
const sector = "public";
|
|
1589
|
+
const sector = metadata?.sector || "public";
|
|
1563
1590
|
let logoUrl;
|
|
1564
1591
|
try {
|
|
1565
1592
|
const possiblePaths = [
|
|
@@ -1691,7 +1718,11 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1691
1718
|
"{<tiers externe>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1692
1719
|
"{<tercero externo>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1693
1720
|
"{<third party>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1694
|
-
"{<enforcement_body>}": import_standards.
|
|
1721
|
+
"{<enforcement_body>}": (0, import_standards.getEnforcementBody)(country, sector),
|
|
1722
|
+
"{<national_law>}": (() => {
|
|
1723
|
+
const law = (0, import_standards.getNationalLawByFramework)(sector === "private" ? "EAA" : "WAD", country);
|
|
1724
|
+
return law ? `${law.fullName} (${law.law})` : "";
|
|
1725
|
+
})(),
|
|
1695
1726
|
"{<brister>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "sv" ? "Inga k\xE4nda brister." : "No known issues.",
|
|
1696
1727
|
"{<puutteet>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fi" ? "Ei tiedossa olevia puutteita." : "No known issues.",
|
|
1697
1728
|
"{<gebreken>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "nl" ? "Geen bekende gebreken." : "No known issues.",
|
|
@@ -1699,6 +1730,9 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1699
1730
|
"{<d\xE9fauts>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fr" ? "Aucun d\xE9faut connu." : "No known issues.",
|
|
1700
1731
|
"{<deficiencias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "es" ? "No hay deficiencias conocidas." : "No known issues.",
|
|
1701
1732
|
"{<mangler>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "no" || lang === "da" ? "Ingen kendte mangler." : "No known issues.",
|
|
1733
|
+
"{<carenze>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nessuna carenza nota.",
|
|
1734
|
+
"{<defici\xEAncias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nenhuma defici\xEAncia conhecida.",
|
|
1735
|
+
"{<braki>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Brak znanych problem\xF3w.",
|
|
1702
1736
|
"{<issues>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "No known issues."
|
|
1703
1737
|
};
|
|
1704
1738
|
const processText = (text) => {
|
|
@@ -1710,7 +1744,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1710
1744
|
if (content2.includes("{<telefonnummer>}") || content2.includes("{<telephone number>}")) {
|
|
1711
1745
|
return props.phoneNumber ? content2 : "";
|
|
1712
1746
|
}
|
|
1713
|
-
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}")) {
|
|
1747
|
+
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}") || content2.includes("{<carenze>}") || content2.includes("{<defici\xEAncias>}") || content2.includes("{<braki>}")) {
|
|
1714
1748
|
return complianceLevel !== "full" ? content2 : "";
|
|
1715
1749
|
}
|
|
1716
1750
|
return content2;
|
|
@@ -1847,7 +1881,7 @@ function isValidUrl(urlString) {
|
|
|
1847
1881
|
}
|
|
1848
1882
|
var program = new import_commander.Command();
|
|
1849
1883
|
program.name("hd-a11y-scan").description("HolmDigital Regulatory Scanner").version(getEngineVersion());
|
|
1850
|
-
program.argument("<url>", "URL to scan").option("--lang <code>", "Language code (en, sv)").option("--ci", "Run in CI/CD mode (exit code 1 on critical failures)").option("--generate-tests", "Generate Pseudo-Automation tests").option("--json", "Output as JSON").option("--junit <path>", "Generate JUnit XML report").option("--pdf <path>", "Generate PDF report to path").option("--statement <path>", "Generate accessibility statement HTML to path").option("--format <type>", "Output format for statement (html, md)", "html").option("--viewport <size>", 'Set viewport (e.g. "mobile", "desktop", "1024x768")').option("--threshold <level>", "Severity threshold (critical, high, medium, low)").option("--api-key <key>", "API key for HolmDigital Cloud").option("--cloud-url <url>", "Cloud API URL").option("--invalid-https-cert", "Allow scanning on pages with invalid https certificate").option("--email <email>", "Contact email for accessibility statement").option("--phone <number>", "Contact phone number for accessibility statement").option("--org <name>", "Organization name for accessibility statement").option("--response-time <time>", "Expected response time for accessibility statement").option("--country <code>", "Country code for accessibility statement enforcement body").option("--publish-date <date>", "Publish date for the website (YYYY-MM-DD)").action(async (url, cliOptions) => {
|
|
1884
|
+
program.argument("<url>", "URL to scan").option("--lang <code>", "Language code (en, sv)").option("--ci", "Run in CI/CD mode (exit code 1 on critical failures)").option("--generate-tests", "Generate Pseudo-Automation tests").option("--json", "Output as JSON").option("--junit <path>", "Generate JUnit XML report").option("--pdf <path>", "Generate PDF report to path").option("--statement <path>", "Generate accessibility statement HTML to path").option("--format <type>", "Output format for statement (html, md)", "html").option("--viewport <size>", 'Set viewport (e.g. "mobile", "desktop", "1024x768")').option("--threshold <level>", "Severity threshold (critical, high, medium, low)").option("--api-key <key>", "API key for HolmDigital Cloud").option("--cloud-url <url>", "Cloud API URL").option("--invalid-https-cert", "Allow scanning on pages with invalid https certificate").option("--email <email>", "Contact email for accessibility statement").option("--phone <number>", "Contact phone number for accessibility statement").option("--org <name>", "Organization name for accessibility statement").option("--response-time <time>", "Expected response time for accessibility statement").option("--country <code>", "Country code for accessibility statement enforcement body").option("--sector <type>", "Sector type: public (WAD) or private (EAA)", "public").option("--publish-date <date>", "Publish date for the website (YYYY-MM-DD)").action(async (url, cliOptions) => {
|
|
1851
1885
|
const explorer = (0, import_cosmiconfig.cosmiconfig)("a11y");
|
|
1852
1886
|
const configResult = await explorer.search();
|
|
1853
1887
|
const fileConfig = configResult ? configResult.config : {};
|
|
@@ -1872,6 +1906,7 @@ program.argument("<url>", "URL to scan").option("--lang <code>", "Language code
|
|
|
1872
1906
|
org: cliOptions.org || fileConfig.org,
|
|
1873
1907
|
responseTime: cliOptions.responseTime || fileConfig.responseTime,
|
|
1874
1908
|
country: cliOptions.country || fileConfig.country,
|
|
1909
|
+
sector: cliOptions.sector || fileConfig.sector || "public",
|
|
1875
1910
|
publishDate: cliOptions.publishDate || fileConfig.publishDate
|
|
1876
1911
|
};
|
|
1877
1912
|
setLanguage(options.lang);
|
|
@@ -1923,6 +1958,7 @@ program.argument("<url>", "URL to scan").option("--lang <code>", "Language code
|
|
|
1923
1958
|
organizationName: options.org,
|
|
1924
1959
|
responseTime: options.responseTime,
|
|
1925
1960
|
country: options.country,
|
|
1961
|
+
sector: options.sector,
|
|
1926
1962
|
publishDate: options.publishDate
|
|
1927
1963
|
};
|
|
1928
1964
|
if (options.statement.toLowerCase().endsWith(".pdf")) {
|
package/dist/cli/index.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
generateStatement,
|
|
8
8
|
generateStatementContent,
|
|
9
9
|
getEngineVersion
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-FAZPXKHR.mjs";
|
|
11
11
|
import {
|
|
12
12
|
getCurrentLang,
|
|
13
13
|
setLanguage,
|
|
@@ -442,7 +442,7 @@ function isValidUrl(urlString) {
|
|
|
442
442
|
}
|
|
443
443
|
var program = new Command();
|
|
444
444
|
program.name("hd-a11y-scan").description("HolmDigital Regulatory Scanner").version(getEngineVersion());
|
|
445
|
-
program.argument("<url>", "URL to scan").option("--lang <code>", "Language code (en, sv)").option("--ci", "Run in CI/CD mode (exit code 1 on critical failures)").option("--generate-tests", "Generate Pseudo-Automation tests").option("--json", "Output as JSON").option("--junit <path>", "Generate JUnit XML report").option("--pdf <path>", "Generate PDF report to path").option("--statement <path>", "Generate accessibility statement HTML to path").option("--format <type>", "Output format for statement (html, md)", "html").option("--viewport <size>", 'Set viewport (e.g. "mobile", "desktop", "1024x768")').option("--threshold <level>", "Severity threshold (critical, high, medium, low)").option("--api-key <key>", "API key for HolmDigital Cloud").option("--cloud-url <url>", "Cloud API URL").option("--invalid-https-cert", "Allow scanning on pages with invalid https certificate").option("--email <email>", "Contact email for accessibility statement").option("--phone <number>", "Contact phone number for accessibility statement").option("--org <name>", "Organization name for accessibility statement").option("--response-time <time>", "Expected response time for accessibility statement").option("--country <code>", "Country code for accessibility statement enforcement body").option("--publish-date <date>", "Publish date for the website (YYYY-MM-DD)").action(async (url, cliOptions) => {
|
|
445
|
+
program.argument("<url>", "URL to scan").option("--lang <code>", "Language code (en, sv)").option("--ci", "Run in CI/CD mode (exit code 1 on critical failures)").option("--generate-tests", "Generate Pseudo-Automation tests").option("--json", "Output as JSON").option("--junit <path>", "Generate JUnit XML report").option("--pdf <path>", "Generate PDF report to path").option("--statement <path>", "Generate accessibility statement HTML to path").option("--format <type>", "Output format for statement (html, md)", "html").option("--viewport <size>", 'Set viewport (e.g. "mobile", "desktop", "1024x768")').option("--threshold <level>", "Severity threshold (critical, high, medium, low)").option("--api-key <key>", "API key for HolmDigital Cloud").option("--cloud-url <url>", "Cloud API URL").option("--invalid-https-cert", "Allow scanning on pages with invalid https certificate").option("--email <email>", "Contact email for accessibility statement").option("--phone <number>", "Contact phone number for accessibility statement").option("--org <name>", "Organization name for accessibility statement").option("--response-time <time>", "Expected response time for accessibility statement").option("--country <code>", "Country code for accessibility statement enforcement body").option("--sector <type>", "Sector type: public (WAD) or private (EAA)", "public").option("--publish-date <date>", "Publish date for the website (YYYY-MM-DD)").action(async (url, cliOptions) => {
|
|
446
446
|
const explorer = cosmiconfig("a11y");
|
|
447
447
|
const configResult = await explorer.search();
|
|
448
448
|
const fileConfig = configResult ? configResult.config : {};
|
|
@@ -467,6 +467,7 @@ program.argument("<url>", "URL to scan").option("--lang <code>", "Language code
|
|
|
467
467
|
org: cliOptions.org || fileConfig.org,
|
|
468
468
|
responseTime: cliOptions.responseTime || fileConfig.responseTime,
|
|
469
469
|
country: cliOptions.country || fileConfig.country,
|
|
470
|
+
sector: cliOptions.sector || fileConfig.sector || "public",
|
|
470
471
|
publishDate: cliOptions.publishDate || fileConfig.publishDate
|
|
471
472
|
};
|
|
472
473
|
setLanguage(options.lang);
|
|
@@ -518,6 +519,7 @@ program.argument("<url>", "URL to scan").option("--lang <code>", "Language code
|
|
|
518
519
|
organizationName: options.org,
|
|
519
520
|
responseTime: options.responseTime,
|
|
520
521
|
country: options.country,
|
|
522
|
+
sector: options.sector,
|
|
521
523
|
publishDate: options.publishDate
|
|
522
524
|
};
|
|
523
525
|
if (options.statement.toLowerCase().endsWith(".pdf")) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tilgængelighed for {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} står bag dette websted. Vi ønsker, at så mange som muligt skal kunne bruge det. Dette dokument beskriver, hvordan {<webbplats>} overholder
|
|
3
|
+
"intro": "{<organisation>} står bag dette websted. Vi ønsker, at så mange som muligt skal kunne bruge det. Dette dokument beskriver, hvordan {<webbplats>} overholder {<national_law>}, eventuelle kendte tilgængelighedsproblemer, og hvordan du kan rapportere mangler til os, så vi kan udbedre dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Håndhævelsesprocedure",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret for tilsyn med
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret for tilsyn med {<national_law>}. Du kan klage til {<enforcement_body>}, hvis du mener, at vores digitale service har mangler i tilgængeligheden.\n\nDu kan også klage til {<enforcement_body>}, hvis du mener, at vores vurdering af, hvad der er en uforholdsmæssig stor byrde, skal gennemgås, hvis du mener, at vores tilgængelighedserklæring har mangler, eller hvis du mener, at vi ikke har håndteret din anmodning om tilgængeliggørelse korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk information om webstedets tilgængelighed",
|
|
28
|
-
"content": "{Dette websted er fuldt ud i overensstemmelse med
|
|
28
|
+
"content": "{Dette websted er fuldt ud i overensstemmelse med {<national_law>}./Dette websted er delvist i overensstemmelse med {<national_law>} på grund af de mangler, der er beskrevet nedenfor./Dette websted er ikke i overensstemmelse med {<national_law>}. Utilgængelige dele er beskrevet nedenfor.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Det indhold, der er beskrevet nedenfor, er på den ene eller anden måde ikke helt tilgængeligt.\n\n[\n**Manglende overholdelse af lovkravene**\n\n{<mangler>}\n]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Barrierefreiheitserklärung für {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} ist bemüht, ihre Website im Einklang mit
|
|
3
|
+
"intro": "{<organisation>} ist bemüht, ihre Website im Einklang mit {<national_law>} barrierefrei zugänglich zu machen. Diese Erklärung zur Barrierefreiheit gilt für {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Durchsetzungsverfahren",
|
|
23
|
-
"content": "Die {<enforcement_body>} ist für die Überwachung der
|
|
23
|
+
"content": "Die {<enforcement_body>} ist für die Überwachung der Anforderungen gemäß {<national_law>} zuständig. Wenn Sie auf unsere Benachrichtigungen oder Anfragen keine zufriedenstellende Antwort erhalten haben, können Sie sich an {<enforcement_body>} wenden.\n\nSie können auch eine Beschwerde bei {<enforcement_body>} einreichen, wenn Sie der Meinung sind, dass unsere Einschätzung einer unverhältnismäßigen Belastung überprüft werden sollte, wenn Sie Mängel in unserer Barrierefreiheitserklärung feststellen oder wenn Sie der Meinung sind, dass wir Ihren Antrag auf barrierefreie Bereitstellung von Inhalten nicht korrekt bearbeitet haben."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technische Informationen zur Barrierefreiheit der Website",
|
|
28
|
-
"content": "{Diese Website ist vollständig mit den
|
|
28
|
+
"content": "{Diese Website ist vollständig mit den Anforderungen gemäß {<national_law>} vereinbar./Diese Website ist wegen der folgenden Unvereinbarkeiten teilweise mit den Anforderungen gemäß {<national_law>} vereinbar./Diese Website ist nicht mit den Anforderungen gemäß {<national_law>} vereinbar.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"id": "testing",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Declaración de accesibilidad para {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} se ha comprometido a hacer accesible su sitio web de conformidad con
|
|
3
|
+
"intro": "{<organisation>} se ha comprometido a hacer accesible su sitio web de conformidad con {<national_law>}. Esta declaración de accesibilidad se aplica a {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
7
7
|
"title": "Situación de cumplimiento",
|
|
8
|
-
"content": "{Este sitio web es plenamente conforme con
|
|
8
|
+
"content": "{Este sitio web es plenamente conforme con {<national_law>}./Este sitio web es parcialmente conforme con {<national_law>} debido a las faltas de conformidad que se indican a continuación./Este sitio web no es conforme con {<national_law>}. Los contenidos no accesibles se indican a continuación.}"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"id": "what-to-do",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Procedimiento de aplicación",
|
|
23
|
-
"content": "El {<enforcement_body>} es responsable de supervisar
|
|
23
|
+
"content": "El {<enforcement_body>} es responsable de supervisar el cumplimiento de {<national_law>}. Si no ha recibido una respuesta satisfactoria a su notificación, puede ponerse en contacto con {<enforcement_body>}.\n\nTambién puede presentar una reclamación ante {<enforcement_body>} si considera que nuestra evaluación de lo que constituye una carga desproporcionada debe ser revisada, si encuentra deficiencias en nuestra declaración de accesibilidad o si considera que no hemos gestionado correctamente su solicitud de accesibilidad."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Saavutettavuusseloste: {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} on tämän verkkosivuston ylläpitäjä. Haluamme, että mahdollisimman monet voivat käyttää sivustoa. Tässä asiakirjassa kuvataan, miten {<webbplats>} täyttää
|
|
3
|
+
"intro": "{<organisation>} on tämän verkkosivuston ylläpitäjä. Haluamme, että mahdollisimman monet voivat käyttää sivustoa. Tässä asiakirjassa kuvataan, miten {<webbplats>} täyttää {<national_law>} vaatimukset, mahdolliset tiedossa olevat saavutettavuusongelmat ja miten voit ilmoittaa meille puutteista, jotta voimme korjata ne.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Täytäntöönpanomenettely",
|
|
23
|
-
"content": "{<enforcement_body>} vastaa
|
|
23
|
+
"content": "{<enforcement_body>} vastaa {<national_law>} valvonnasta. Voit tehdä ilmoituksen {<enforcement_body>}lle, jos katsot, että digitaalisessa palvelussamme on saavutettavuuspuutteita.\n\nVoit myös tehdä ilmoituksen {<enforcement_body>}lle, jos katsot, että arviomme kohtuuttomasta rasitteesta on tarkistettava, jos katsot saavutettavuusselosteessamme olevan puutteita tai jos katsot, ettemme ole käsitelleet saavutettavuuspyyntöäsi oikein."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknistä tietoa verkkosivuston saavutettavuudesta",
|
|
28
|
-
"content": "{Tämä verkkosivusto on täysin
|
|
28
|
+
"content": "{Tämä verkkosivusto on täysin {<national_law>} mukainen./Tämä verkkosivusto on osittain {<national_law>} mukainen jäljempänä mainittujen puutteiden vuoksi./Tämä verkkosivusto ei ole {<national_law>} mukainen. Puutteelliset osat on kuvattu jäljempänä.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Jäljempänä mainittu sisältö ei ole täysin saavutettavaa.\n\n[\n**Puutteet lain vaatimusten täyttämisessä**\n\n{<puutteet>}\n]"
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Déclaration d'accessibilité pour {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} s'engage à rendre son site internet accessible conformément à
|
|
3
|
+
"intro": "{<organisation>} s'engage à rendre son site internet accessible conformément à {<national_law>}. Cette déclaration d'accessibilité s'applique à {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
7
7
|
"title": "État de conformité",
|
|
8
|
-
"content": "{Ce site est totalement conforme avec
|
|
8
|
+
"content": "{Ce site est totalement conforme avec {<national_law>}./Ce site est partiellement conforme avec {<national_law>} en raison des non-conformités énumérées ci-dessous./Ce site n'est pas conforme avec {<national_law>}. Les contenus non accessibles sont énumérés ci-dessous.}"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"id": "what-to-do",
|
|
12
12
|
"title": "Contenus non accessibles",
|
|
13
|
-
"content": "Les contenus listés ci-dessous ne sont pas accessibles pour les raisons suivantes :\n\n[\n**Non-conformité avec
|
|
13
|
+
"content": "Les contenus listés ci-dessous ne sont pas accessibles pour les raisons suivantes :\n\n[\n**Non-conformité avec {<national_law>}**\n\n{<défauts>}\n]\n\n[Notre délai de réponse habituel est de {<svarstid>}.]\n\n[Vous pouvez également nous contacter des manières suivantes :\n\n* envoyer un e-mail à {<e-mailadresse>}\n* appeler le {<telefoonnummer>}]"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"id": "reporting",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Dichiarazione di accessibilità per {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} si è impegnata a rendere accessibile il proprio sito web in conformità con {<national_law>}. La presente dichiarazione di accessibilità si applica a {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Stato di conformità",
|
|
8
|
+
"content": "{Questo sito web è pienamente conforme a {<national_law>}./Questo sito web è parzialmente conforme a {<national_law>} a causa delle carenze di conformità indicate di seguito./Questo sito web non è conforme a {<national_law>}. I contenuti non accessibili sono indicati di seguito.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Contenuto non accessibile",
|
|
13
|
+
"content": "Il contenuto elencato di seguito non è accessibile per i seguenti motivi:\n\n[\n**Mancanza di conformità agli standard**\n\n{<carenze>}\n]\n\n[Il nostro tempo di risposta abituale è di {<response time>}.]\n\n[È inoltre possibile contattarci nei seguenti modi:\n\n* inviando un'e-mail a {<e-mail address>}\n* chiamando il numero {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Meccanismo di segnalazione e recapiti",
|
|
18
|
+
"content": "Ci impegniamo a migliorare costantemente l'accessibilità del nostro sito web. Se riscontrate un problema di accessibilità, potete contattarci per segnalarcelo."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedura di applicazione",
|
|
23
|
+
"content": "{<enforcement_body>} è responsabile del controllo del rispetto di {<national_law>}. Se non avete ricevuto una risposta soddisfacente alla vostra segnalazione, potete contattare {<enforcement_body>}.\n\nPotete inoltre presentare un reclamo a {<enforcement_body>} se ritenete che la nostra valutazione di ciò che costituisce un onere sproporzionato debba essere riesaminata, se riscontrate carenze nella nostra dichiarazione di accessibilità o se ritenete che la vostra richiesta di accessibilità non sia stata gestita correttamente."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informazioni tecniche sull'accessibilità del sito web",
|
|
28
|
+
"content": "{Questo sito web è pienamente conforme./Questo sito web è parzialmente conforme a causa delle carenze descritte di seguito./Questo sito web non è conforme.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Preparazione della presente dichiarazione di accessibilità",
|
|
33
|
+
"content": "{Abbiamo effettuato una valutazione autonoma (test interno) del sito web {<organisation>}./Un {<third party>} ha effettuato una verifica indipendente del sito web {<organisation>}./Abbiamo stimato l'accessibilità senza effettuare test.}\n\nL'ultima valutazione è stata effettuata il {<assessment date>}.\n\n[Metodo di valutazione: {<method>}]\n\nIl sito web è stato pubblicato il {<publish date>}.\n\nLa dichiarazione è stata aggiornata l'ultima volta il {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Toegankelijkheidsverklaring voor {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} is verantwoordelijk voor deze website. Wij willen dat iedereen onze website kan gebruiken. In dit document wordt beschreven hoe {<webbplats>} voldoet aan
|
|
3
|
+
"intro": "{<organisation>} is verantwoordelijk voor deze website. Wij willen dat iedereen onze website kan gebruiken. In dit document wordt beschreven hoe {<webbplats>} voldoet aan {<national_law>}, welke toegankelijkheidsproblemen bekend zijn en hoe u eventuele gebreken aan ons kunt melden, zodat we deze kunnen verhelpen.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Handhavingsprocedure",
|
|
23
|
-
"content": "{<enforcement_body>} is verantwoordelijk voor het toezicht op de naleving van
|
|
23
|
+
"content": "{<enforcement_body>} is verantwoordelijk voor het toezicht op de naleving van {<national_law>}. U kunt een klacht indienen bij {<enforcement_body>} als u van mening bent dat onze digitale dienstverlening gebreken vertoont op het gebied van toegankelijkheid.\n\nU kunt ook een klacht indienen bij {<enforcement_body>} als u vindt dat ons oordeel over wat een onevenredige last is, moet worden herzien, als u vindt dat onze toegankelijkheidsverklaring gebreken vertoont of als u vindt dat wij uw verzoek om toegankelijkmaking niet correct hebben behandeld."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technische informatie over de toegankelijkheid van de website",
|
|
28
|
-
"content": "{Deze website is volledig in overeenstemming met
|
|
28
|
+
"content": "{Deze website is volledig in overeenstemming met {<national_law>}./Deze website is gedeeltelijk in overeenstemming met {<national_law>}, vanwege de hieronder beschreven gebreken./Deze website is niet in overeenstemming met {<national_law>}. De niet-toegankelijke delen worden hieronder beschreven.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "De hieronder beschreven inhoud is op de een of andere manier niet volledig toegankelijk.\n\n[\n**Niet-naleving van de wettelijke eisen**\n\n{<gebreken>}\n]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tilgjengelighet for {<nettsted>}",
|
|
3
|
-
"intro": "{<organisasjon>} står bak dette nettstedet. Vi ønsker at flest mulig skal kunne bruke det. Dette dokumentet beskriver hvordan {<nettsted>} oppfyller
|
|
3
|
+
"intro": "{<organisasjon>} står bak dette nettstedet. Vi ønsker at flest mulig skal kunne bruke det. Dette dokumentet beskriver hvordan {<nettsted>} oppfyller {<national_law>}, eventuelle kjente tilgjengelighetsproblemer og hvordan du kan rapportere mangler til oss slik at vi kan utbedre dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Tilsyn",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret for tilsyn med
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret for tilsyn med {<national_law>}. Du kan klage til {<enforcement_body>} hvis du mener at vår digitale tjeneste har mangler i tilgjengelighet.\n\nDu kan også klage til {<enforcement_body>} hvis du mener at vår vurdering av hva som er uforholdsmessig byrdefullt bør overproves, hvis du mener at vår tilgjengelighetserklæring har mangler eller hvis du mener at vi ikke har håndtert din forespørsel om tilgjengeliggjøring korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk informasjon om nettstedets tilgjengelighet",
|
|
28
|
-
"content": "{Dette nettstedet er helt i samsvar med
|
|
28
|
+
"content": "{Dette nettstedet er helt i samsvar med {<national_law>}./Dette nettstedet er delvis i samsvar med {<national_law>}, på grunn av manglene beskrevet nedenfor./Dette nettstedet er ikke i samsvar med {<national_law>}. Utilgjengelige deler er beskrevet nedenfor.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Innholdet som er beskrevet nedenfor er på en eller annen måte ikke fullt ut tilgjengelig.\n\n[\n**Manglende samsvar med lovkravene**\n\n{<mangler>}\n]"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Deklaracja dostępności dla {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} zobowiązała się do zapewnienia dostępności swojej strony internetowej zgodnie z {<national_law>}. Niniejsza deklaracja dostępności dotyczy {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Status zgodności",
|
|
8
|
+
"content": "{Ta strona internetowa jest w pełni zgodna z {<national_law>}./Ta strona internetowa jest częściowo zgodna z {<national_law>} z powodu niezgodności wskazanych poniżej./Ta strona internetowa nie jest zgodna z {<national_law>}. Niedostępne treści są wskazane poniżej.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Niedostępne treści",
|
|
13
|
+
"content": "Poniższe treści nie są dostępne z następujących powodów:\n\n[\n**Niezgodność ze standardami dostępności**\n\n{<braki>}\n]\n\n[Nasz typowy czas odpowiedzi wynosi {<response time>}.]\n\n[Można się z nami również skontaktować w następujący sposób:\n\n* wysyłając wiadomość e-mail na adres {<e-mail address>}\n* dzwoniąc pod numer {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Mechanizm zgłaszania i dane kontaktowe",
|
|
18
|
+
"content": "Nieustannie staramy się poprawiać dostępność naszej strony internetowej. Jeśli napotkają Państwo problem z dostępnością, prosimy o kontakt."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedura egzekwowania",
|
|
23
|
+
"content": "{<enforcement_body>} jest odpowiedzialny za monitorowanie zgodności z {<national_law>}. Jeśli nie otrzymali Państwo satysfakcjonującej odpowiedzi na swoje zgłoszenie, mogą się Państwo skontaktować z {<enforcement_body>}.\n\nMogą Państwo również złożyć skargę do {<enforcement_body>}, jeśli uważają Państwo, że nasza ocena tego, co stanowi nieproporcjonalne obciążenie, powinna zostać poddana przeglądowi, jeśli znajdą Państwo niedociągnięcia w naszej deklaracji dostępności lub jeśli uważają Państwo, że Państwa wniosek dotyczący dostępności nie został prawidłowo rozpatrzony."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informacje techniczne o dostępności strony internetowej",
|
|
28
|
+
"content": "{Ta strona internetowa jest w pełni zgodna./Ta strona internetowa jest częściowo zgodna z powodu niedociągnięć opisanych poniżej./Ta strona internetowa nie jest zgodna.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Przygotowanie niniejszej deklaracji dostępności",
|
|
33
|
+
"content": "{Przeprowadziliśmy samoocenę (wewnętrzne badanie) strony internetowej {<organisation>}./Podmiot zewnętrzny {<third party>} przeprowadził niezależny audyt strony internetowej {<organisation>}./Oszacowaliśmy dostępność bez przeprowadzania testów.}\n\nOstatnia ocena została przeprowadzona dnia {<assessment date>}.\n\n[Metoda oceny: {<method>}]\n\nStrona internetowa została opublikowana dnia {<publish date>}.\n\nDeklaracja została ostatnio zaktualizowana dnia {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Declaração de acessibilidade para {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} comprometeu-se a tornar o seu sítio web acessível, em conformidade com {<national_law>}. A presente declaração de acessibilidade aplica-se a {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Estado de conformidade",
|
|
8
|
+
"content": "{Este sítio web está totalmente em conformidade com {<national_law>}./Este sítio web está parcialmente em conformidade com {<national_law>} devido às deficiências de conformidade indicadas abaixo./Este sítio web não está em conformidade com {<national_law>}. Os conteúdos não acessíveis estão indicados abaixo.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Conteúdo não acessível",
|
|
13
|
+
"content": "O conteúdo a seguir indicado não é acessível pelos seguintes motivos:\n\n[\n**Incumprimento dos requisitos de acessibilidade**\n\n{<deficiências>}\n]\n\n[O nosso tempo de resposta habitual é de {<response time>}.]\n\n[Pode igualmente contactar-nos das seguintes formas:\n\n* enviando um e-mail para {<e-mail address>}\n* ligando para o número {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Mecanismo de comunicação e dados de contacto",
|
|
18
|
+
"content": "Esforçamo-nos por melhorar continuamente a acessibilidade do nosso sítio web. Se encontrar algum problema de acessibilidade, pode contactar-nos para nos informar."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedimento de execução",
|
|
23
|
+
"content": "A {<enforcement_body>} é responsável pela monitorização do cumprimento de {<national_law>}. Se não recebeu uma resposta satisfatória à sua notificação, pode contactar a {<enforcement_body>}.\n\nPode igualmente apresentar uma reclamação junto da {<enforcement_body>} se considerar que a nossa avaliação do que constitui um encargo desproporcionado deve ser revista, se encontrar deficiências na nossa declaração de acessibilidade ou se considerar que a sua solicitação de acessibilidade não foi corretamente tratada."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informações técnicas sobre a acessibilidade do sítio web",
|
|
28
|
+
"content": "{Este sítio web está totalmente em conformidade./Este sítio web está parcialmente em conformidade devido às deficiências descritas abaixo./Este sítio web não está em conformidade.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Elaboração da presente declaração de acessibilidade",
|
|
33
|
+
"content": "{Realizámos uma autoavaliação (teste interno) do sítio web {<organisation>}./Uma {<third party>} realizou uma auditoria independente do sítio web {<organisation>}./Estimámos a acessibilidade sem realizar testes.}\n\nA última avaliação foi realizada em {<assessment date>}.\n\n[Método de avaliação: {<method>}]\n\nO sítio web foi publicado em {<publish date>}.\n\nA declaração foi atualizada pela última vez em {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tillgänglighet för {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} står bakom den här webbplatsen. Vi vill att så många som möjligt ska kunna använda den. Det här dokumentet beskriver hur {<webbplats>} uppfyller
|
|
3
|
+
"intro": "{<organisation>} står bakom den här webbplatsen. Vi vill att så många som möjligt ska kunna använda den. Det här dokumentet beskriver hur {<webbplats>} uppfyller {<national_law>}, eventuella kända tillgänglighetsproblem och hur du kan rapportera brister till oss så att vi kan åtgärda dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Tillsyn",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret för tillsyn över
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret för tillsyn över {<national_law>}. Du kan anmäla till {<enforcement_body>} om du tycker att vår digitala service har brister i tillgänglighet.\n\nDu kan också anmäla till {<enforcement_body>} om du tycker att vår bedömning av vad som är oskäligt betungande ska granskas, om du tycker att vår tillgänglighetsredogörelse har brister eller om du tycker att vi inte har hanterat din begäran om tillgängliggörande korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk information om webbplatsens tillgänglighet",
|
|
28
|
-
"content": "{Den här webbplatsen är helt förenlig med
|
|
28
|
+
"content": "{Den här webbplatsen är helt förenlig med {<national_law>}./Den här webbplatsen är delvis förenlig med {<national_law>}, på grund av de brister som beskrivs nedan./Den här webbplatsen är inte förenlig med {<national_law>}. Otillgängliga delar beskrivs nedan.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Det innehåll som beskrivs nedan är på ett eller annat sätt inte helt tillgängligt.\n\n[\n**Bristande förenlighet med lagkraven**\n\n{<brister>}\n]"
|
package/dist/index.d.mts
CHANGED
|
@@ -159,6 +159,7 @@ interface StatementMetadata {
|
|
|
159
159
|
phoneNumber?: string;
|
|
160
160
|
responseTime?: string;
|
|
161
161
|
country?: string;
|
|
162
|
+
sector?: 'public' | 'private';
|
|
162
163
|
publishDate?: string | Date;
|
|
163
164
|
}
|
|
164
165
|
declare function generateStatementContent(result: ScanResult, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<string>;
|
package/dist/index.d.ts
CHANGED
|
@@ -159,6 +159,7 @@ interface StatementMetadata {
|
|
|
159
159
|
phoneNumber?: string;
|
|
160
160
|
responseTime?: string;
|
|
161
161
|
country?: string;
|
|
162
|
+
sector?: 'public' | 'private';
|
|
162
163
|
publishDate?: string | Date;
|
|
163
164
|
}
|
|
164
165
|
declare function generateStatementContent(result: ScanResult, lang?: string, format?: 'html' | 'md' | 'markdown', metadata?: StatementMetadata): Promise<string>;
|
package/dist/index.js
CHANGED
|
@@ -676,7 +676,7 @@ var HtmlValidator = class {
|
|
|
676
676
|
// src/core/regulatory-scanner.ts
|
|
677
677
|
var import_node_fs = require("fs");
|
|
678
678
|
function getEngineVersion() {
|
|
679
|
-
return "2.
|
|
679
|
+
return "2.2.0";
|
|
680
680
|
}
|
|
681
681
|
function getStandardsVersion() {
|
|
682
682
|
try {
|
|
@@ -1045,6 +1045,9 @@ var EVALUATION_METHOD = {
|
|
|
1045
1045
|
fr: "Analyse automatis\xE9e via @holmdigital/engine",
|
|
1046
1046
|
es: "An\xE1lisis automatizado mediante @holmdigital/engine",
|
|
1047
1047
|
nl: "Geautomatiseerde controle via @holmdigital/engine",
|
|
1048
|
+
it: "Scansione automatizzata tramite @holmdigital/engine",
|
|
1049
|
+
pt: "Verifica\xE7\xE3o automatizada via @holmdigital/engine",
|
|
1050
|
+
pl: "Automatyczne skanowanie za pomoc\u0105 @holmdigital/engine",
|
|
1048
1051
|
"en-gb": "Automated scan via @holmdigital/engine",
|
|
1049
1052
|
"en-us": "Automated scan via @holmdigital/engine",
|
|
1050
1053
|
"en-ca": "Automated scan via @holmdigital/engine"
|
|
@@ -1060,6 +1063,9 @@ var STATUS_LABELS = {
|
|
|
1060
1063
|
fr: { full: "Totalement conforme", partial: "Partiellement conforme", "non-compliant": "Non conforme" },
|
|
1061
1064
|
es: { full: "Plenamente conforme", partial: "Parcialmente conforme", "non-compliant": "No conforme" },
|
|
1062
1065
|
nl: { full: "Volledig conform", partial: "Gedeeltelijk conform", "non-compliant": "Niet conform" },
|
|
1066
|
+
it: { full: "Pienamente conforme", partial: "Parzialmente conforme", "non-compliant": "Non conforme" },
|
|
1067
|
+
pt: { full: "Totalmente conforme", partial: "Parcialmente conforme", "non-compliant": "N\xE3o conforme" },
|
|
1068
|
+
pl: { full: "W pe\u0142ni zgodny", partial: "Cz\u0119\u015Bciowo zgodny", "non-compliant": "Niezgodny" },
|
|
1063
1069
|
"en-gb": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
1064
1070
|
"en-us": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
|
|
1065
1071
|
"en-ca": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" }
|
|
@@ -1075,6 +1081,9 @@ var RESPONSE_TIME_DEFAULT = {
|
|
|
1075
1081
|
fr: "2 jours",
|
|
1076
1082
|
es: "2 d\xEDas",
|
|
1077
1083
|
nl: "2 dagen",
|
|
1084
|
+
it: "2 giorni",
|
|
1085
|
+
pt: "2 dias",
|
|
1086
|
+
pl: "2 dni",
|
|
1078
1087
|
"en-gb": "2 days",
|
|
1079
1088
|
"en-us": "2 days",
|
|
1080
1089
|
"en-ca": "2 days"
|
|
@@ -1104,17 +1113,35 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1104
1113
|
}
|
|
1105
1114
|
});
|
|
1106
1115
|
const nonComplianceItems = Array.from(issuesMap.values());
|
|
1107
|
-
let country =
|
|
1108
|
-
if (
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
|
|
1115
|
-
|
|
1116
|
+
let country = "EU";
|
|
1117
|
+
if (metadata?.country) {
|
|
1118
|
+
country = metadata.country;
|
|
1119
|
+
} else {
|
|
1120
|
+
const TLD_MAP = {
|
|
1121
|
+
"se": "SE",
|
|
1122
|
+
"no": "NO",
|
|
1123
|
+
"dk": "DK",
|
|
1124
|
+
"fi": "FI",
|
|
1125
|
+
"de": "DE",
|
|
1126
|
+
"fr": "FR",
|
|
1127
|
+
"nl": "NL",
|
|
1128
|
+
"es": "ES",
|
|
1129
|
+
"it": "IT",
|
|
1130
|
+
"pt": "PT",
|
|
1131
|
+
"pl": "PL",
|
|
1132
|
+
"uk": "GB",
|
|
1133
|
+
"us": "US",
|
|
1134
|
+
"ca": "CA"
|
|
1135
|
+
};
|
|
1136
|
+
try {
|
|
1137
|
+
const hostname = new URL(result.url).hostname;
|
|
1138
|
+
const tld = hostname.split(".").pop()?.toLowerCase() || "";
|
|
1139
|
+
country = TLD_MAP[tld] ?? "EU";
|
|
1140
|
+
} catch {
|
|
1141
|
+
country = "EU";
|
|
1142
|
+
}
|
|
1116
1143
|
}
|
|
1117
|
-
const sector = "public";
|
|
1144
|
+
const sector = metadata?.sector || "public";
|
|
1118
1145
|
let logoUrl;
|
|
1119
1146
|
try {
|
|
1120
1147
|
const possiblePaths = [
|
|
@@ -1246,7 +1273,11 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1246
1273
|
"{<tiers externe>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1247
1274
|
"{<tercero externo>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1248
1275
|
"{<third party>}": props.generatorTool?.name || "HolmDigital Engine",
|
|
1249
|
-
"{<enforcement_body>}": import_standards.
|
|
1276
|
+
"{<enforcement_body>}": (0, import_standards.getEnforcementBody)(country, sector),
|
|
1277
|
+
"{<national_law>}": (() => {
|
|
1278
|
+
const law = (0, import_standards.getNationalLawByFramework)(sector === "private" ? "EAA" : "WAD", country);
|
|
1279
|
+
return law ? `${law.fullName} (${law.law})` : "";
|
|
1280
|
+
})(),
|
|
1250
1281
|
"{<brister>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "sv" ? "Inga k\xE4nda brister." : "No known issues.",
|
|
1251
1282
|
"{<puutteet>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fi" ? "Ei tiedossa olevia puutteita." : "No known issues.",
|
|
1252
1283
|
"{<gebreken>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "nl" ? "Geen bekende gebreken." : "No known issues.",
|
|
@@ -1254,6 +1285,9 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1254
1285
|
"{<d\xE9fauts>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fr" ? "Aucun d\xE9faut connu." : "No known issues.",
|
|
1255
1286
|
"{<deficiencias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "es" ? "No hay deficiencias conocidas." : "No known issues.",
|
|
1256
1287
|
"{<mangler>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "no" || lang === "da" ? "Ingen kendte mangler." : "No known issues.",
|
|
1288
|
+
"{<carenze>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nessuna carenza nota.",
|
|
1289
|
+
"{<defici\xEAncias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Nenhuma defici\xEAncia conhecida.",
|
|
1290
|
+
"{<braki>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "Brak znanych problem\xF3w.",
|
|
1257
1291
|
"{<issues>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "No known issues."
|
|
1258
1292
|
};
|
|
1259
1293
|
const processText = (text) => {
|
|
@@ -1265,7 +1299,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1265
1299
|
if (content2.includes("{<telefonnummer>}") || content2.includes("{<telephone number>}")) {
|
|
1266
1300
|
return props.phoneNumber ? content2 : "";
|
|
1267
1301
|
}
|
|
1268
|
-
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}")) {
|
|
1302
|
+
if (content2.includes("{<brister>}") || content2.includes("{<mangler>}") || content2.includes("{<issues>}") || content2.includes("{<carenze>}") || content2.includes("{<defici\xEAncias>}") || content2.includes("{<braki>}")) {
|
|
1269
1303
|
return complianceLevel !== "full" ? content2 : "";
|
|
1270
1304
|
}
|
|
1271
1305
|
return content2;
|
package/dist/index.mjs
CHANGED
package/dist/templates/da.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tilgængelighed for {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} står bag dette websted. Vi ønsker, at så mange som muligt skal kunne bruge det. Dette dokument beskriver, hvordan {<webbplats>} overholder
|
|
3
|
+
"intro": "{<organisation>} står bag dette websted. Vi ønsker, at så mange som muligt skal kunne bruge det. Dette dokument beskriver, hvordan {<webbplats>} overholder {<national_law>}, eventuelle kendte tilgængelighedsproblemer, og hvordan du kan rapportere mangler til os, så vi kan udbedre dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Håndhævelsesprocedure",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret for tilsyn med
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret for tilsyn med {<national_law>}. Du kan klage til {<enforcement_body>}, hvis du mener, at vores digitale service har mangler i tilgængeligheden.\n\nDu kan også klage til {<enforcement_body>}, hvis du mener, at vores vurdering af, hvad der er en uforholdsmæssig stor byrde, skal gennemgås, hvis du mener, at vores tilgængelighedserklæring har mangler, eller hvis du mener, at vi ikke har håndteret din anmodning om tilgængeliggørelse korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk information om webstedets tilgængelighed",
|
|
28
|
-
"content": "{Dette websted er fuldt ud i overensstemmelse med
|
|
28
|
+
"content": "{Dette websted er fuldt ud i overensstemmelse med {<national_law>}./Dette websted er delvist i overensstemmelse med {<national_law>} på grund af de mangler, der er beskrevet nedenfor./Dette websted er ikke i overensstemmelse med {<national_law>}. Utilgængelige dele er beskrevet nedenfor.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Det indhold, der er beskrevet nedenfor, er på den ene eller anden måde ikke helt tilgængeligt.\n\n[\n**Manglende overholdelse af lovkravene**\n\n{<mangler>}\n]"
|
package/dist/templates/de.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Barrierefreiheitserklärung für {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} ist bemüht, ihre Website im Einklang mit
|
|
3
|
+
"intro": "{<organisation>} ist bemüht, ihre Website im Einklang mit {<national_law>} barrierefrei zugänglich zu machen. Diese Erklärung zur Barrierefreiheit gilt für {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Durchsetzungsverfahren",
|
|
23
|
-
"content": "Die {<enforcement_body>} ist für die Überwachung der
|
|
23
|
+
"content": "Die {<enforcement_body>} ist für die Überwachung der Anforderungen gemäß {<national_law>} zuständig. Wenn Sie auf unsere Benachrichtigungen oder Anfragen keine zufriedenstellende Antwort erhalten haben, können Sie sich an {<enforcement_body>} wenden.\n\nSie können auch eine Beschwerde bei {<enforcement_body>} einreichen, wenn Sie der Meinung sind, dass unsere Einschätzung einer unverhältnismäßigen Belastung überprüft werden sollte, wenn Sie Mängel in unserer Barrierefreiheitserklärung feststellen oder wenn Sie der Meinung sind, dass wir Ihren Antrag auf barrierefreie Bereitstellung von Inhalten nicht korrekt bearbeitet haben."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technische Informationen zur Barrierefreiheit der Website",
|
|
28
|
-
"content": "{Diese Website ist vollständig mit den
|
|
28
|
+
"content": "{Diese Website ist vollständig mit den Anforderungen gemäß {<national_law>} vereinbar./Diese Website ist wegen der folgenden Unvereinbarkeiten teilweise mit den Anforderungen gemäß {<national_law>} vereinbar./Diese Website ist nicht mit den Anforderungen gemäß {<national_law>} vereinbar.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"id": "testing",
|
package/dist/templates/es.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Declaración de accesibilidad para {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} se ha comprometido a hacer accesible su sitio web de conformidad con
|
|
3
|
+
"intro": "{<organisation>} se ha comprometido a hacer accesible su sitio web de conformidad con {<national_law>}. Esta declaración de accesibilidad se aplica a {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
7
7
|
"title": "Situación de cumplimiento",
|
|
8
|
-
"content": "{Este sitio web es plenamente conforme con
|
|
8
|
+
"content": "{Este sitio web es plenamente conforme con {<national_law>}./Este sitio web es parcialmente conforme con {<national_law>} debido a las faltas de conformidad que se indican a continuación./Este sitio web no es conforme con {<national_law>}. Los contenidos no accesibles se indican a continuación.}"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"id": "what-to-do",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Procedimiento de aplicación",
|
|
23
|
-
"content": "El {<enforcement_body>} es responsable de supervisar
|
|
23
|
+
"content": "El {<enforcement_body>} es responsable de supervisar el cumplimiento de {<national_law>}. Si no ha recibido una respuesta satisfactoria a su notificación, puede ponerse en contacto con {<enforcement_body>}.\n\nTambién puede presentar una reclamación ante {<enforcement_body>} si considera que nuestra evaluación de lo que constituye una carga desproporcionada debe ser revisada, si encuentra deficiencias en nuestra declaración de accesibilidad o si considera que no hemos gestionado correctamente su solicitud de accesibilidad."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
package/dist/templates/fi.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Saavutettavuusseloste: {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} on tämän verkkosivuston ylläpitäjä. Haluamme, että mahdollisimman monet voivat käyttää sivustoa. Tässä asiakirjassa kuvataan, miten {<webbplats>} täyttää
|
|
3
|
+
"intro": "{<organisation>} on tämän verkkosivuston ylläpitäjä. Haluamme, että mahdollisimman monet voivat käyttää sivustoa. Tässä asiakirjassa kuvataan, miten {<webbplats>} täyttää {<national_law>} vaatimukset, mahdolliset tiedossa olevat saavutettavuusongelmat ja miten voit ilmoittaa meille puutteista, jotta voimme korjata ne.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Täytäntöönpanomenettely",
|
|
23
|
-
"content": "{<enforcement_body>} vastaa
|
|
23
|
+
"content": "{<enforcement_body>} vastaa {<national_law>} valvonnasta. Voit tehdä ilmoituksen {<enforcement_body>}lle, jos katsot, että digitaalisessa palvelussamme on saavutettavuuspuutteita.\n\nVoit myös tehdä ilmoituksen {<enforcement_body>}lle, jos katsot, että arviomme kohtuuttomasta rasitteesta on tarkistettava, jos katsot saavutettavuusselosteessamme olevan puutteita tai jos katsot, ettemme ole käsitelleet saavutettavuuspyyntöäsi oikein."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknistä tietoa verkkosivuston saavutettavuudesta",
|
|
28
|
-
"content": "{Tämä verkkosivusto on täysin
|
|
28
|
+
"content": "{Tämä verkkosivusto on täysin {<national_law>} mukainen./Tämä verkkosivusto on osittain {<national_law>} mukainen jäljempänä mainittujen puutteiden vuoksi./Tämä verkkosivusto ei ole {<national_law>} mukainen. Puutteelliset osat on kuvattu jäljempänä.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Jäljempänä mainittu sisältö ei ole täysin saavutettavaa.\n\n[\n**Puutteet lain vaatimusten täyttämisessä**\n\n{<puutteet>}\n]"
|
package/dist/templates/fr.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Déclaration d'accessibilité pour {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} s'engage à rendre son site internet accessible conformément à
|
|
3
|
+
"intro": "{<organisation>} s'engage à rendre son site internet accessible conformément à {<national_law>}. Cette déclaration d'accessibilité s'applique à {<webbplats>}.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
7
7
|
"title": "État de conformité",
|
|
8
|
-
"content": "{Ce site est totalement conforme avec
|
|
8
|
+
"content": "{Ce site est totalement conforme avec {<national_law>}./Ce site est partiellement conforme avec {<national_law>} en raison des non-conformités énumérées ci-dessous./Ce site n'est pas conforme avec {<national_law>}. Les contenus non accessibles sont énumérés ci-dessous.}"
|
|
9
9
|
},
|
|
10
10
|
{
|
|
11
11
|
"id": "what-to-do",
|
|
12
12
|
"title": "Contenus non accessibles",
|
|
13
|
-
"content": "Les contenus listés ci-dessous ne sont pas accessibles pour les raisons suivantes :\n\n[\n**Non-conformité avec
|
|
13
|
+
"content": "Les contenus listés ci-dessous ne sont pas accessibles pour les raisons suivantes :\n\n[\n**Non-conformité avec {<national_law>}**\n\n{<défauts>}\n]\n\n[Notre délai de réponse habituel est de {<svarstid>}.]\n\n[Vous pouvez également nous contacter des manières suivantes :\n\n* envoyer un e-mail à {<e-mailadresse>}\n* appeler le {<telefoonnummer>}]"
|
|
14
14
|
},
|
|
15
15
|
{
|
|
16
16
|
"id": "reporting",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Dichiarazione di accessibilità per {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} si è impegnata a rendere accessibile il proprio sito web in conformità con {<national_law>}. La presente dichiarazione di accessibilità si applica a {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Stato di conformità",
|
|
8
|
+
"content": "{Questo sito web è pienamente conforme a {<national_law>}./Questo sito web è parzialmente conforme a {<national_law>} a causa delle carenze di conformità indicate di seguito./Questo sito web non è conforme a {<national_law>}. I contenuti non accessibili sono indicati di seguito.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Contenuto non accessibile",
|
|
13
|
+
"content": "Il contenuto elencato di seguito non è accessibile per i seguenti motivi:\n\n[\n**Mancanza di conformità agli standard**\n\n{<carenze>}\n]\n\n[Il nostro tempo di risposta abituale è di {<response time>}.]\n\n[È inoltre possibile contattarci nei seguenti modi:\n\n* inviando un'e-mail a {<e-mail address>}\n* chiamando il numero {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Meccanismo di segnalazione e recapiti",
|
|
18
|
+
"content": "Ci impegniamo a migliorare costantemente l'accessibilità del nostro sito web. Se riscontrate un problema di accessibilità, potete contattarci per segnalarcelo."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedura di applicazione",
|
|
23
|
+
"content": "{<enforcement_body>} è responsabile del controllo del rispetto di {<national_law>}. Se non avete ricevuto una risposta soddisfacente alla vostra segnalazione, potete contattare {<enforcement_body>}.\n\nPotete inoltre presentare un reclamo a {<enforcement_body>} se ritenete che la nostra valutazione di ciò che costituisce un onere sproporzionato debba essere riesaminata, se riscontrate carenze nella nostra dichiarazione di accessibilità o se ritenete che la vostra richiesta di accessibilità non sia stata gestita correttamente."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informazioni tecniche sull'accessibilità del sito web",
|
|
28
|
+
"content": "{Questo sito web è pienamente conforme./Questo sito web è parzialmente conforme a causa delle carenze descritte di seguito./Questo sito web non è conforme.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Preparazione della presente dichiarazione di accessibilità",
|
|
33
|
+
"content": "{Abbiamo effettuato una valutazione autonoma (test interno) del sito web {<organisation>}./Un {<third party>} ha effettuato una verifica indipendente del sito web {<organisation>}./Abbiamo stimato l'accessibilità senza effettuare test.}\n\nL'ultima valutazione è stata effettuata il {<assessment date>}.\n\n[Metodo di valutazione: {<method>}]\n\nIl sito web è stato pubblicato il {<publish date>}.\n\nLa dichiarazione è stata aggiornata l'ultima volta il {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
package/dist/templates/nl.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Toegankelijkheidsverklaring voor {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} is verantwoordelijk voor deze website. Wij willen dat iedereen onze website kan gebruiken. In dit document wordt beschreven hoe {<webbplats>} voldoet aan
|
|
3
|
+
"intro": "{<organisation>} is verantwoordelijk voor deze website. Wij willen dat iedereen onze website kan gebruiken. In dit document wordt beschreven hoe {<webbplats>} voldoet aan {<national_law>}, welke toegankelijkheidsproblemen bekend zijn en hoe u eventuele gebreken aan ons kunt melden, zodat we deze kunnen verhelpen.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Handhavingsprocedure",
|
|
23
|
-
"content": "{<enforcement_body>} is verantwoordelijk voor het toezicht op de naleving van
|
|
23
|
+
"content": "{<enforcement_body>} is verantwoordelijk voor het toezicht op de naleving van {<national_law>}. U kunt een klacht indienen bij {<enforcement_body>} als u van mening bent dat onze digitale dienstverlening gebreken vertoont op het gebied van toegankelijkheid.\n\nU kunt ook een klacht indienen bij {<enforcement_body>} als u vindt dat ons oordeel over wat een onevenredige last is, moet worden herzien, als u vindt dat onze toegankelijkheidsverklaring gebreken vertoont of als u vindt dat wij uw verzoek om toegankelijkmaking niet correct hebben behandeld."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technische informatie over de toegankelijkheid van de website",
|
|
28
|
-
"content": "{Deze website is volledig in overeenstemming met
|
|
28
|
+
"content": "{Deze website is volledig in overeenstemming met {<national_law>}./Deze website is gedeeltelijk in overeenstemming met {<national_law>}, vanwege de hieronder beschreven gebreken./Deze website is niet in overeenstemming met {<national_law>}. De niet-toegankelijke delen worden hieronder beschreven.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "De hieronder beschreven inhoud is op de een of andere manier niet volledig toegankelijk.\n\n[\n**Niet-naleving van de wettelijke eisen**\n\n{<gebreken>}\n]"
|
package/dist/templates/no.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tilgjengelighet for {<nettsted>}",
|
|
3
|
-
"intro": "{<organisasjon>} står bak dette nettstedet. Vi ønsker at flest mulig skal kunne bruke det. Dette dokumentet beskriver hvordan {<nettsted>} oppfyller
|
|
3
|
+
"intro": "{<organisasjon>} står bak dette nettstedet. Vi ønsker at flest mulig skal kunne bruke det. Dette dokumentet beskriver hvordan {<nettsted>} oppfyller {<national_law>}, eventuelle kjente tilgjengelighetsproblemer og hvordan du kan rapportere mangler til oss slik at vi kan utbedre dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Tilsyn",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret for tilsyn med
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret for tilsyn med {<national_law>}. Du kan klage til {<enforcement_body>} hvis du mener at vår digitale tjeneste har mangler i tilgjengelighet.\n\nDu kan også klage til {<enforcement_body>} hvis du mener at vår vurdering av hva som er uforholdsmessig byrdefullt bør overproves, hvis du mener at vår tilgjengelighetserklæring har mangler eller hvis du mener at vi ikke har håndtert din forespørsel om tilgjengeliggjøring korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk informasjon om nettstedets tilgjengelighet",
|
|
28
|
-
"content": "{Dette nettstedet er helt i samsvar med
|
|
28
|
+
"content": "{Dette nettstedet er helt i samsvar med {<national_law>}./Dette nettstedet er delvis i samsvar med {<national_law>}, på grunn av manglene beskrevet nedenfor./Dette nettstedet er ikke i samsvar med {<national_law>}. Utilgjengelige deler er beskrevet nedenfor.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Innholdet som er beskrevet nedenfor er på en eller annen måte ikke fullt ut tilgjengelig.\n\n[\n**Manglende samsvar med lovkravene**\n\n{<mangler>}\n]"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Deklaracja dostępności dla {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} zobowiązała się do zapewnienia dostępności swojej strony internetowej zgodnie z {<national_law>}. Niniejsza deklaracja dostępności dotyczy {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Status zgodności",
|
|
8
|
+
"content": "{Ta strona internetowa jest w pełni zgodna z {<national_law>}./Ta strona internetowa jest częściowo zgodna z {<national_law>} z powodu niezgodności wskazanych poniżej./Ta strona internetowa nie jest zgodna z {<national_law>}. Niedostępne treści są wskazane poniżej.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Niedostępne treści",
|
|
13
|
+
"content": "Poniższe treści nie są dostępne z następujących powodów:\n\n[\n**Niezgodność ze standardami dostępności**\n\n{<braki>}\n]\n\n[Nasz typowy czas odpowiedzi wynosi {<response time>}.]\n\n[Można się z nami również skontaktować w następujący sposób:\n\n* wysyłając wiadomość e-mail na adres {<e-mail address>}\n* dzwoniąc pod numer {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Mechanizm zgłaszania i dane kontaktowe",
|
|
18
|
+
"content": "Nieustannie staramy się poprawiać dostępność naszej strony internetowej. Jeśli napotkają Państwo problem z dostępnością, prosimy o kontakt."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedura egzekwowania",
|
|
23
|
+
"content": "{<enforcement_body>} jest odpowiedzialny za monitorowanie zgodności z {<national_law>}. Jeśli nie otrzymali Państwo satysfakcjonującej odpowiedzi na swoje zgłoszenie, mogą się Państwo skontaktować z {<enforcement_body>}.\n\nMogą Państwo również złożyć skargę do {<enforcement_body>}, jeśli uważają Państwo, że nasza ocena tego, co stanowi nieproporcjonalne obciążenie, powinna zostać poddana przeglądowi, jeśli znajdą Państwo niedociągnięcia w naszej deklaracji dostępności lub jeśli uważają Państwo, że Państwa wniosek dotyczący dostępności nie został prawidłowo rozpatrzony."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informacje techniczne o dostępności strony internetowej",
|
|
28
|
+
"content": "{Ta strona internetowa jest w pełni zgodna./Ta strona internetowa jest częściowo zgodna z powodu niedociągnięć opisanych poniżej./Ta strona internetowa nie jest zgodna.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Przygotowanie niniejszej deklaracji dostępności",
|
|
33
|
+
"content": "{Przeprowadziliśmy samoocenę (wewnętrzne badanie) strony internetowej {<organisation>}./Podmiot zewnętrzny {<third party>} przeprowadził niezależny audyt strony internetowej {<organisation>}./Oszacowaliśmy dostępność bez przeprowadzania testów.}\n\nOstatnia ocena została przeprowadzona dnia {<assessment date>}.\n\n[Metoda oceny: {<method>}]\n\nStrona internetowa została opublikowana dnia {<publish date>}.\n\nDeklaracja została ostatnio zaktualizowana dnia {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Declaração de acessibilidade para {<organisation>}",
|
|
3
|
+
"intro": "{<organisation>} comprometeu-se a tornar o seu sítio web acessível, em conformidade com {<national_law>}. A presente declaração de acessibilidade aplica-se a {<organisation>}.",
|
|
4
|
+
"sections": [
|
|
5
|
+
{
|
|
6
|
+
"id": "how-accessible",
|
|
7
|
+
"title": "Estado de conformidade",
|
|
8
|
+
"content": "{Este sítio web está totalmente em conformidade com {<national_law>}./Este sítio web está parcialmente em conformidade com {<national_law>} devido às deficiências de conformidade indicadas abaixo./Este sítio web não está em conformidade com {<national_law>}. Os conteúdos não acessíveis estão indicados abaixo.}"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"id": "what-to-do",
|
|
12
|
+
"title": "Conteúdo não acessível",
|
|
13
|
+
"content": "O conteúdo a seguir indicado não é acessível pelos seguintes motivos:\n\n[\n**Incumprimento dos requisitos de acessibilidade**\n\n{<deficiências>}\n]\n\n[O nosso tempo de resposta habitual é de {<response time>}.]\n\n[Pode igualmente contactar-nos das seguintes formas:\n\n* enviando um e-mail para {<e-mail address>}\n* ligando para o número {<telephone number>}]"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"id": "reporting",
|
|
17
|
+
"title": "Mecanismo de comunicação e dados de contacto",
|
|
18
|
+
"content": "Esforçamo-nos por melhorar continuamente a acessibilidade do nosso sítio web. Se encontrar algum problema de acessibilidade, pode contactar-nos para nos informar."
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"id": "enforcement",
|
|
22
|
+
"title": "Procedimento de execução",
|
|
23
|
+
"content": "A {<enforcement_body>} é responsável pela monitorização do cumprimento de {<national_law>}. Se não recebeu uma resposta satisfatória à sua notificação, pode contactar a {<enforcement_body>}.\n\nPode igualmente apresentar uma reclamação junto da {<enforcement_body>} se considerar que a nossa avaliação do que constitui um encargo desproporcionado deve ser revista, se encontrar deficiências na nossa declaração de acessibilidade ou se considerar que a sua solicitação de acessibilidade não foi corretamente tratada."
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"id": "technical",
|
|
27
|
+
"title": "Informações técnicas sobre a acessibilidade do sítio web",
|
|
28
|
+
"content": "{Este sítio web está totalmente em conformidade./Este sítio web está parcialmente em conformidade devido às deficiências descritas abaixo./Este sítio web não está em conformidade.}"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"id": "testing",
|
|
32
|
+
"title": "Elaboração da presente declaração de acessibilidade",
|
|
33
|
+
"content": "{Realizámos uma autoavaliação (teste interno) do sítio web {<organisation>}./Uma {<third party>} realizou uma auditoria independente do sítio web {<organisation>}./Estimámos a acessibilidade sem realizar testes.}\n\nA última avaliação foi realizada em {<assessment date>}.\n\n[Método de avaliação: {<method>}]\n\nO sítio web foi publicado em {<publish date>}.\n\nA declaração foi atualizada pela última vez em {<update date>}."
|
|
34
|
+
}
|
|
35
|
+
]
|
|
36
|
+
}
|
package/dist/templates/sv.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"title": "Tillgänglighet för {<webbplats>}",
|
|
3
|
-
"intro": "{<organisation>} står bakom den här webbplatsen. Vi vill att så många som möjligt ska kunna använda den. Det här dokumentet beskriver hur {<webbplats>} uppfyller
|
|
3
|
+
"intro": "{<organisation>} står bakom den här webbplatsen. Vi vill att så många som möjligt ska kunna använda den. Det här dokumentet beskriver hur {<webbplats>} uppfyller {<national_law>}, eventuella kända tillgänglighetsproblem och hur du kan rapportera brister till oss så att vi kan åtgärda dem.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Tillsyn",
|
|
23
|
-
"content": "{<enforcement_body>} har ansvaret för tillsyn över
|
|
23
|
+
"content": "{<enforcement_body>} har ansvaret för tillsyn över {<national_law>}. Du kan anmäla till {<enforcement_body>} om du tycker att vår digitala service har brister i tillgänglighet.\n\nDu kan också anmäla till {<enforcement_body>} om du tycker att vår bedömning av vad som är oskäligt betungande ska granskas, om du tycker att vår tillgänglighetsredogörelse har brister eller om du tycker att vi inte har hanterat din begäran om tillgängliggörande korrekt."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Teknisk information om webbplatsens tillgänglighet",
|
|
28
|
-
"content": "{Den här webbplatsen är helt förenlig med
|
|
28
|
+
"content": "{Den här webbplatsen är helt förenlig med {<national_law>}./Den här webbplatsen är delvis förenlig med {<national_law>}, på grund av de brister som beskrivs nedan./Den här webbplatsen är inte förenlig med {<national_law>}. Otillgängliga delar beskrivs nedan.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
31
|
"content": "Det innehåll som beskrivs nedan är på ett eller annat sätt inte helt tillgängligt.\n\n[\n**Bristande förenlighet med lagkraven**\n\n{<brister>}\n]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holmdigital/engine",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"author": "Holm Digital AB",
|
|
61
61
|
"license": "MIT",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@holmdigital/components": "^2.
|
|
63
|
+
"@holmdigital/components": "^2.2.0",
|
|
64
64
|
"@holmdigital/standards": "*",
|
|
65
65
|
"axe-core": "^4.11.1",
|
|
66
66
|
"chalk": "^5.3.0",
|