@holmdigital/engine 2.1.6 → 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.
Files changed (41) hide show
  1. package/dist/{chunk-Y6FXYEAI.mjs → chunk-DIBTSSLZ.mjs} +9 -1
  2. package/dist/{chunk-BR2T76XC.mjs → chunk-FAZPXKHR.mjs} +122 -57
  3. package/dist/cli/index.js +161 -57
  4. package/dist/cli/index.mjs +26 -7
  5. package/dist/cli/templates/da.json +3 -3
  6. package/dist/cli/templates/de.json +3 -3
  7. package/dist/cli/templates/en-ca.json +39 -0
  8. package/dist/cli/templates/en-gb.json +39 -0
  9. package/dist/cli/templates/en-us.json +39 -0
  10. package/dist/cli/templates/es.json +3 -3
  11. package/dist/cli/templates/fi.json +3 -3
  12. package/dist/cli/templates/fr.json +3 -3
  13. package/dist/cli/templates/it.json +36 -0
  14. package/dist/cli/templates/nl.json +3 -3
  15. package/dist/cli/templates/no.json +3 -3
  16. package/dist/cli/templates/pl.json +36 -0
  17. package/dist/cli/templates/pt.json +36 -0
  18. package/dist/cli/templates/sv.json +3 -3
  19. package/dist/{github-actions-DYED2EIL.mjs → github-actions-5AFDFD4T.mjs} +1 -1
  20. package/dist/{i18n-WJXLKRLV.mjs → i18n-6XB3K2PH.mjs} +2 -2
  21. package/dist/index.d.mts +1 -0
  22. package/dist/index.d.ts +1 -0
  23. package/dist/index.js +133 -55
  24. package/dist/index.mjs +3 -3
  25. package/dist/{junit-generator-QIUEEUXW.mjs → junit-generator-MNO6GP5J.mjs} +1 -1
  26. package/dist/templates/da.json +3 -3
  27. package/dist/templates/de.json +3 -3
  28. package/dist/templates/en-ca.json +39 -0
  29. package/dist/templates/en-gb.json +39 -0
  30. package/dist/templates/en-us.json +39 -0
  31. package/dist/templates/es.json +3 -3
  32. package/dist/templates/fi.json +3 -3
  33. package/dist/templates/fr.json +3 -3
  34. package/dist/templates/it.json +36 -0
  35. package/dist/templates/nl.json +3 -3
  36. package/dist/templates/no.json +3 -3
  37. package/dist/templates/pl.json +36 -0
  38. package/dist/templates/pt.json +36 -0
  39. package/dist/templates/sv.json +3 -3
  40. package/package.json +2 -2
  41. /package/dist/{chunk-PIGYYEJV.mjs → chunk-MGIEQZMZ.mjs} +0 -0
package/dist/index.js CHANGED
@@ -30,6 +30,13 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
30
30
  ));
31
31
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
32
32
 
33
+ // ../../node_modules/tsup/assets/cjs_shims.js
34
+ var init_cjs_shims = __esm({
35
+ "../../node_modules/tsup/assets/cjs_shims.js"() {
36
+ "use strict";
37
+ }
38
+ });
39
+
33
40
  // src/locales/en.json
34
41
  var en_default;
35
42
  var init_en = __esm({
@@ -484,6 +491,7 @@ var locales, currentLang;
484
491
  var init_i18n = __esm({
485
492
  "src/i18n/index.ts"() {
486
493
  "use strict";
494
+ init_cjs_shims();
487
495
  init_en();
488
496
  init_sv();
489
497
  init_de();
@@ -528,12 +536,15 @@ __export(index_exports, {
528
536
  t: () => t
529
537
  });
530
538
  module.exports = __toCommonJS(index_exports);
539
+ init_cjs_shims();
531
540
 
532
541
  // src/core/regulatory-scanner.ts
542
+ init_cjs_shims();
533
543
  var import_axe_core = __toESM(require("axe-core"));
534
544
  var import_puppeteer = __toESM(require("puppeteer"));
535
545
 
536
546
  // src/core/virtual-dom.ts
547
+ init_cjs_shims();
537
548
  var VirtualDOMBuilder = class {
538
549
  page;
539
550
  constructor(page) {
@@ -624,6 +635,7 @@ var VirtualDOMBuilder = class {
624
635
  };
625
636
 
626
637
  // src/core/html-validator.ts
638
+ init_cjs_shims();
627
639
  var import_html_validate = require("html-validate");
628
640
  var HtmlValidator = class {
629
641
  validator;
@@ -664,7 +676,7 @@ var HtmlValidator = class {
664
676
  // src/core/regulatory-scanner.ts
665
677
  var import_node_fs = require("fs");
666
678
  function getEngineVersion() {
667
- return "2.1.6";
679
+ return "2.2.0";
668
680
  }
669
681
  function getStandardsVersion() {
670
682
  try {
@@ -930,6 +942,7 @@ var RegulatoryScanner = class {
930
942
  };
931
943
 
932
944
  // src/automation/pseudo-automation.ts
945
+ init_cjs_shims();
933
946
  var PseudoAutomationEngine = class {
934
947
  /**
935
948
  * Generera ett Playwright-testskript baserat på en rapport
@@ -1001,15 +1014,16 @@ test('${testName}', async ({ page }) => {
1001
1014
  init_i18n();
1002
1015
 
1003
1016
  // src/reporting/statement-generator.ts
1017
+ init_cjs_shims();
1004
1018
  var import_react = __toESM(require("react"));
1005
1019
  var import_server = require("react-dom/server");
1006
1020
  var import_components = require("@holmdigital/components");
1007
1021
  var import_standards = require("@holmdigital/standards");
1008
1022
  var import_promises = __toESM(require("fs/promises"));
1009
1023
  var import_path = __toESM(require("path"));
1010
- var import_node_url = require("url");
1011
1024
 
1012
1025
  // src/reporting/badge-generator.ts
1026
+ init_cjs_shims();
1013
1027
  var BADGE_COLOR = "00703C";
1014
1028
  var BADGE_BASE_URL = "https://img.shields.io/badge/HolmDigital_Engine";
1015
1029
  function generateBadgeUrl(score) {
@@ -1020,45 +1034,70 @@ function generateBadgeUrl(score) {
1020
1034
  }
1021
1035
 
1022
1036
  // src/reporting/statement-generator.ts
1023
- var import_meta = {};
1024
- var __dirname_esm = typeof __dirname === "undefined" ? import_path.default.dirname((0, import_node_url.fileURLToPath)(import_meta.url)) : __dirname;
1037
+ var EVALUATION_METHOD = {
1038
+ sv: "Automatiserad granskning via @holmdigital/engine",
1039
+ en: "Automated scan via @holmdigital/engine",
1040
+ no: "Automatisert gjennomgang via @holmdigital/engine",
1041
+ nb: "Automatisert gjennomgang via @holmdigital/engine",
1042
+ fi: "Automaattinen tarkistus @holmdigital/engine-ty\xF6kalulla",
1043
+ da: "Automatiseret gennemgang via @holmdigital/engine",
1044
+ de: "Automatisierte Pr\xFCfung mit @holmdigital/engine",
1045
+ fr: "Analyse automatis\xE9e via @holmdigital/engine",
1046
+ es: "An\xE1lisis automatizado mediante @holmdigital/engine",
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",
1051
+ "en-gb": "Automated scan via @holmdigital/engine",
1052
+ "en-us": "Automated scan via @holmdigital/engine",
1053
+ "en-ca": "Automated scan via @holmdigital/engine"
1054
+ };
1055
+ var STATUS_LABELS = {
1056
+ sv: { full: "Fullt ut f\xF6renlig", partial: "Delvis f\xF6renlig", "non-compliant": "Inte f\xF6renlig" },
1057
+ en: { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
1058
+ no: { full: "Helt i samsvar", partial: "Delvis i samsvar", "non-compliant": "Ikke i samsvar" },
1059
+ nb: { full: "Helt i samsvar", partial: "Delvis i samsvar", "non-compliant": "Ikke i samsvar" },
1060
+ fi: { full: "T\xE4ysin saavutettava", partial: "Osittain saavutettava", "non-compliant": "Ei saavutettava" },
1061
+ da: { full: "Fuldt ud i overensstemmelse", partial: "Delvist i overensstemmelse", "non-compliant": "Ikke i overensstemmelse" },
1062
+ de: { full: "Vollst\xE4ndig konform", partial: "Teilweise konform", "non-compliant": "Nicht konform" },
1063
+ fr: { full: "Totalement conforme", partial: "Partiellement conforme", "non-compliant": "Non conforme" },
1064
+ es: { full: "Plenamente conforme", partial: "Parcialmente conforme", "non-compliant": "No conforme" },
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" },
1069
+ "en-gb": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
1070
+ "en-us": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" },
1071
+ "en-ca": { full: "Fully compliant", partial: "Partially compliant", "non-compliant": "Non-compliant" }
1072
+ };
1073
+ var RESPONSE_TIME_DEFAULT = {
1074
+ sv: "2 dagar",
1075
+ en: "2 days",
1076
+ no: "2 dager",
1077
+ nb: "2 dager",
1078
+ fi: "2 p\xE4iv\xE4\xE4",
1079
+ da: "2 dage",
1080
+ de: "2 Tage",
1081
+ fr: "2 jours",
1082
+ es: "2 d\xEDas",
1083
+ nl: "2 dagen",
1084
+ it: "2 giorni",
1085
+ pt: "2 dias",
1086
+ pl: "2 dni",
1087
+ "en-gb": "2 days",
1088
+ "en-us": "2 days",
1089
+ "en-ca": "2 days"
1090
+ };
1025
1091
  async function generateStatementContent(result, lang = "en", format = "html", metadata) {
1092
+ const templatePath = import_path.default.join(__dirname, "templates", `${lang}.json`);
1026
1093
  let template;
1027
- const possibleTemplatePaths = [
1028
- import_path.default.join(__dirname_esm, "templates", `${lang}.json`),
1029
- import_path.default.join(__dirname_esm, "../src/reporting/templates", `${lang}.json`),
1030
- import_path.default.join(process.cwd(), "packages/engine/src/reporting/templates", `${lang}.json`)
1031
- ];
1032
- let loaded = false;
1033
- for (const p of possibleTemplatePaths) {
1034
- try {
1035
- const data = await import_promises.default.readFile(p, "utf-8");
1036
- template = JSON.parse(data);
1037
- loaded = true;
1038
- break;
1039
- } catch (e) {
1040
- continue;
1041
- }
1042
- }
1043
- if (!loaded) {
1044
- const fallbackPaths = [
1045
- import_path.default.join(__dirname_esm, "templates", "en.json"),
1046
- import_path.default.join(__dirname_esm, "../src/reporting/templates", "en.json"),
1047
- import_path.default.join(process.cwd(), "packages/engine/src/reporting/templates", "en.json")
1048
- ];
1049
- for (const p of fallbackPaths) {
1050
- try {
1051
- const data = await import_promises.default.readFile(p, "utf-8");
1052
- template = JSON.parse(data);
1053
- loaded = true;
1054
- break;
1055
- } catch (e) {
1056
- continue;
1057
- }
1058
- }
1059
- }
1060
- if (!loaded || !template) {
1061
- throw new Error(`Accessibility statement templates missing. Looked in: ${possibleTemplatePaths.join(", ")}`);
1094
+ try {
1095
+ const data = await import_promises.default.readFile(templatePath, "utf-8");
1096
+ template = JSON.parse(data);
1097
+ } catch {
1098
+ throw new Error(
1099
+ `Accessibility statement template not found for locale "${lang}". Expected file at: ${templatePath}`
1100
+ );
1062
1101
  }
1063
1102
  let complianceLevel = "full";
1064
1103
  if (result.stats.critical > 0 || result.legalSummary && result.legalSummary.eaaDeadlineViolations > 0) {
@@ -1074,14 +1113,35 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1074
1113
  }
1075
1114
  });
1076
1115
  const nonComplianceItems = Array.from(issuesMap.values());
1077
- let country = metadata?.country || "SE";
1078
- if (!metadata?.country) {
1079
- if (result.url.endsWith(".no")) country = "NO";
1080
- if (result.url.endsWith(".dk")) country = "DK";
1081
- if (result.url.endsWith(".fi")) country = "FI";
1082
- if (result.url.endsWith(".de")) country = "DE";
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
+ }
1083
1143
  }
1084
- const sector = "public";
1144
+ const sector = metadata?.sector || "public";
1085
1145
  let logoUrl;
1086
1146
  try {
1087
1147
  const possiblePaths = [
@@ -1109,7 +1169,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1109
1169
  complianceLevel,
1110
1170
  lastReviewDate: /* @__PURE__ */ new Date(),
1111
1171
  assessmentDate: /* @__PURE__ */ new Date(),
1112
- evaluationMethod: lang === "sv" ? "Automatiserad granskning via @holmdigital/engine" : "Automated Scan via @holmdigital/engine",
1172
+ evaluationMethod: EVALUATION_METHOD[lang] || EVALUATION_METHOD["en"],
1113
1173
  generatorTool: {
1114
1174
  name: "HolmDigital Regulatory Engine",
1115
1175
  url: "https://holmdigital.se"
@@ -1117,7 +1177,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1117
1177
  logoUrl,
1118
1178
  contactEmail: metadata?.contactEmail || "hej@holmdigital.se",
1119
1179
  phoneNumber: metadata?.phoneNumber || "070-123 45 67",
1120
- responseTime: metadata?.responseTime || (lang === "sv" ? "2 dagar" : "2 days"),
1180
+ responseTime: metadata?.responseTime || RESPONSE_TIME_DEFAULT[lang] || RESPONSE_TIME_DEFAULT["en"],
1121
1181
  nonComplianceItems,
1122
1182
  locale: lang,
1123
1183
  badgeUrl: generateBadgeUrl(result.score) || void 0,
@@ -1143,10 +1203,11 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1143
1203
  </html>`;
1144
1204
  } else {
1145
1205
  const dateStr = props.lastReviewDate.toISOString().split("T")[0];
1206
+ const labels = STATUS_LABELS[lang] || STATUS_LABELS["en"];
1146
1207
  const statusMap = {
1147
- "full": lang === "sv" ? "Fullt ut f\xF6renlig" : lang === "no" || lang === "nb" ? "Helt i samsvar" : lang === "da" ? "Fuldt ud i overensstemmelse" : "Fully compliant",
1148
- "partial": lang === "sv" ? "Delvis f\xF6renlig" : lang === "no" || lang === "nb" ? "Delvis i samsvar" : lang === "da" ? "Delvist i overensstemmelse" : "Partially compliant",
1149
- "non-compliant": lang === "sv" ? "Inte f\xF6renlig" : lang === "no" || lang === "nb" ? "Ikke i samsvar" : lang === "da" ? "Ikke i overensstemmelse" : "Non-compliant"
1208
+ "full": labels["full"],
1209
+ "partial": labels["partial"],
1210
+ "non-compliant": labels["non-compliant"]
1150
1211
  };
1151
1212
  const substitutions = {
1152
1213
  statusString: statusMap[complianceLevel],
@@ -1158,6 +1219,8 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1158
1219
  "{<e-postadress>}": props.contactEmail || "",
1159
1220
  "{<e-mailosoite>}": props.contactEmail || "",
1160
1221
  "{<e-mailadresse>}": props.contactEmail || "",
1222
+ "{<e-mailadres>}": props.contactEmail || "",
1223
+ "{<e-postadresse>}": props.contactEmail || "",
1161
1224
  "{<e-mail address>}": props.contactEmail || "",
1162
1225
  "{<email address>}": props.contactEmail || "",
1163
1226
  "{<telefonnummer>}": props.phoneNumber || "",
@@ -1177,6 +1240,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1177
1240
  "{<assessment date>}": dateStr,
1178
1241
  "{<uppdateringsdatum>}": dateStr,
1179
1242
  "{<oppdateringsdato>}": dateStr,
1243
+ "{<opdateringsdato>}": dateStr,
1180
1244
  "{<p\xE4ivitysp\xE4iv\xE4>}": dateStr,
1181
1245
  "{<updatedatum>}": dateStr,
1182
1246
  "{<aktualisierungsdatum>}": dateStr,
@@ -1190,13 +1254,18 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1190
1254
  "{<ver\xF6ffentlichungsdatum>}": props.publishDate?.toISOString().split("T")[0] || "2024-01-01",
1191
1255
  "{<date_publication>}": props.publishDate?.toISOString().split("T")[0] || "2024-01-01",
1192
1256
  "{<fecha_publicacion>}": props.publishDate?.toISOString().split("T")[0] || "2024-01-01",
1257
+ "{<offentligg\xF8relsesdato>}": props.publishDate?.toISOString().split("T")[0] || "2024-01-01",
1193
1258
  "{<publish date>}": props.publishDate?.toISOString().split("T")[0] || "2024-01-01",
1194
1259
  "{<metod>}": props.evaluationMethod || "Automated Scan",
1195
1260
  "{<metodi>}": props.evaluationMethod || "Automated Scan",
1196
1261
  "{<methode>}": props.evaluationMethod || "Automated Scan",
1262
+ "{<metode>}": props.evaluationMethod || "Automated Scan",
1263
+ "{<metodo>}": props.evaluationMethod || "Automated Scan",
1264
+ "{<m\xE9thode>}": props.evaluationMethod || "Automated Scan",
1197
1265
  "{<m\xE9todo>}": props.evaluationMethod || "Automated Scan",
1198
1266
  "{<method>}": props.evaluationMethod || "Automated Scan",
1199
1267
  "{<extern akt\xF6r>}": props.generatorTool?.name || "HolmDigital Engine",
1268
+ "{<ekstern akt\xF8r>}": props.generatorTool?.name || "HolmDigital Engine",
1200
1269
  "{<ekstern aktor>}": props.generatorTool?.name || "HolmDigital Engine",
1201
1270
  "{<ulkoinen taho>}": props.generatorTool?.name || "HolmDigital Engine",
1202
1271
  "{<externe partij>}": props.generatorTool?.name || "HolmDigital Engine",
@@ -1204,7 +1273,11 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1204
1273
  "{<tiers externe>}": props.generatorTool?.name || "HolmDigital Engine",
1205
1274
  "{<tercero externo>}": props.generatorTool?.name || "HolmDigital Engine",
1206
1275
  "{<third party>}": props.generatorTool?.name || "HolmDigital Engine",
1207
- "{<enforcement_body>}": import_standards.ENFORCEMENT_BODIES[country] || import_standards.ENFORCEMENT_BODIES.EU,
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
+ })(),
1208
1281
  "{<brister>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "sv" ? "Inga k\xE4nda brister." : "No known issues.",
1209
1282
  "{<puutteet>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fi" ? "Ei tiedossa olevia puutteita." : "No known issues.",
1210
1283
  "{<gebreken>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "nl" ? "Geen bekende gebreken." : "No known issues.",
@@ -1212,6 +1285,9 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1212
1285
  "{<d\xE9fauts>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "fr" ? "Aucun d\xE9faut connu." : "No known issues.",
1213
1286
  "{<deficiencias>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : lang === "es" ? "No hay deficiencias conocidas." : "No known issues.",
1214
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.",
1215
1291
  "{<issues>}": nonComplianceItems.length > 0 ? nonComplianceItems.map((item) => `* ${item}`).join("\n") : "No known issues."
1216
1292
  };
1217
1293
  const processText = (text) => {
@@ -1223,11 +1299,14 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1223
1299
  if (content2.includes("{<telefonnummer>}") || content2.includes("{<telephone number>}")) {
1224
1300
  return props.phoneNumber ? content2 : "";
1225
1301
  }
1226
- 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>}")) {
1227
1303
  return complianceLevel !== "full" ? content2 : "";
1228
1304
  }
1229
1305
  return content2;
1230
1306
  });
1307
+ processed = processed.replace(/\{<[^>]+>\}/g, (match) => {
1308
+ return substitutions[match] !== void 0 ? substitutions[match] : match;
1309
+ });
1231
1310
  processed = processed.replace(/\{([^{}]*?)\}/g, (_match, content2) => {
1232
1311
  const parts = content2.split("/");
1233
1312
  if (parts.length >= 2) {
@@ -1236,8 +1315,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
1236
1315
  if (complianceLevel === "non-compliant") idx = parts.length > 2 ? 2 : 1;
1237
1316
  return parts[idx].trim();
1238
1317
  }
1239
- const key = `{${content2}}`;
1240
- return substitutions[key] !== void 0 ? substitutions[key] : _match;
1318
+ return _match;
1241
1319
  });
1242
1320
  return processed;
1243
1321
  };
package/dist/index.mjs CHANGED
@@ -5,13 +5,13 @@ import {
5
5
  generateStatement,
6
6
  generateStatementContent,
7
7
  getEngineVersion
8
- } from "./chunk-BR2T76XC.mjs";
8
+ } from "./chunk-FAZPXKHR.mjs";
9
9
  import {
10
10
  getCurrentLang,
11
11
  setLanguage,
12
12
  t
13
- } from "./chunk-PIGYYEJV.mjs";
14
- import "./chunk-Y6FXYEAI.mjs";
13
+ } from "./chunk-MGIEQZMZ.mjs";
14
+ import "./chunk-DIBTSSLZ.mjs";
15
15
  export {
16
16
  PseudoAutomationEngine,
17
17
  RegulatoryScanner,
@@ -1,4 +1,4 @@
1
- import "./chunk-Y6FXYEAI.mjs";
1
+ import "./chunk-DIBTSSLZ.mjs";
2
2
 
3
3
  // src/reporting/junit-generator.ts
4
4
  function generateJUnitXML(result) {
@@ -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 loven om webtilgængelighed, eventuelle kendte tilgængelighedsproblemer, og hvordan du kan rapportere mangler til os, så vi kan udbedre dem.",
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 loven om webtilgængelighed. 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."
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 loven om webtilgængelighed./Dette websted er delvist i overensstemmelse med loven om webtilgængelighed på grund af de mangler, der er beskrevet nedenfor./Dette websted er ikke i overensstemmelse med loven om webtilgængelighed. Utilgængelige dele er beskrevet nedenfor.}"
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 den nationalen Rechtsvorschriften zur Umsetzung der Richtlinie (EU) 2016/2102 des Europäischen Parlaments und des Rates barrierefrei zugänglich zu machen. Diese Erklärung zur Barrierefreiheit gilt für {<webbplats>}.",
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 Barrierefreiheitsanforderungen 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."
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 Barrierefreiheitsanforderungen vereinbar./Diese Website ist wegen der folgenden Unvereinbarkeiten teilweise mit den Barrierefreiheitsanforderungen vereinbar./Diese Website ist nicht mit den Barrierefreiheitsanforderungen vereinbar.}"
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",
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "Accessibility of {<website>}",
3
+ "intro": "This website is run by {<organisation>}. We want as many people as possible to be able to use it, and this document describes how {<website>} complies with the Accessible Canada Act and the Accessibility for Ontarians with Disabilities Act, any known accessibility issues, and how you can report problems so that we can fix them.",
4
+ "sections": [
5
+ {
6
+ "id": "how-accessible",
7
+ "title": "How accessible is the website?",
8
+ "content": "{There are no known accessibility issues with this website./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information.}"
9
+ },
10
+ {
11
+ "id": "what-to-do",
12
+ "title": "What to do if you can't access parts of this website?",
13
+ "content": "If you need content from this website that is not accessible for you, but is not within the scope of the accessibility regulations as described below, please contact us.\n\n[Our normal response time is {<response time>}.]\n\n[You can also contact us in the following ways:\n\n* email {<email address>}\n* call {<telephone number>}]"
14
+ },
15
+ {
16
+ "id": "reporting",
17
+ "title": "Reporting accessibility problems with this website",
18
+ "content": "We're always looking to improve the accessibility of this website. If you find any problems that aren't listed on this page or if we're not meeting the requirements of the accessibility regulations, contact us and let us know about the problem."
19
+ },
20
+ {
21
+ "id": "enforcement",
22
+ "title": "Enforcement procedure",
23
+ "content": "The {<enforcement_body>} is responsible for enforcing the Accessible Canada Act. If you experience accessibility issues on our website, you can submit a complaint to {<enforcement_body>}.\n\nYou can also file a complaint with {<enforcement_body>} if you believe our website does not comply with the Accessible Canada Act or the Accessibility for Ontarians with Disabilities Act, or if your request for accessible content has not been handled appropriately."
24
+ },
25
+ {
26
+ "id": "technical",
27
+ "title": "Technical information about this website's accessibility",
28
+ "content": "{This website is fully compliant with the Accessible Canada Act and the Accessibility for Ontarians with Disabilities Act./This website is partially compliant with the Accessible Canada Act and the Accessibility for Ontarians with Disabilities Act, due to the non-compliances listed below./This website is not compliant with the Accessible Canada Act and the Accessibility for Ontarians with Disabilities Act. The non-accessible sections are listed below.}"
29
+ },
30
+ {
31
+ "content": "The content described below is, in one way or another, not fully accessible.\n\n[\n**Non-compliance with the accessibility regulations**\n\n{<issues>}\n]"
32
+ },
33
+ {
34
+ "id": "testing",
35
+ "title": "How we tested this website",
36
+ "content": "{We have performed a self-assessment (internal testing) of {<website>}./{<third party>} has tested {<website>}./We have estimated the accessibility without testing.}\n\nThe last assessment was made on {<assessment date>}.\n\n[Assessment method: {<method>}]\n\nThe website was published on {<publish date>}.\n\nThe statement was last updated on {<update date>}."
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "Accessibility of {<website>}",
3
+ "intro": "This website is run by {<organisation>}. We want as many people as possible to be able to use it, and this document describes how {<website>} complies with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018, any known accessibility issues, and how you can report problems so that we can fix them.",
4
+ "sections": [
5
+ {
6
+ "id": "how-accessible",
7
+ "title": "How accessible is the website?",
8
+ "content": "{There are no known accessibility issues with this website./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information.}"
9
+ },
10
+ {
11
+ "id": "what-to-do",
12
+ "title": "What to do if you can't access parts of this website?",
13
+ "content": "If you need content from this website that is not accessible for you, but is not within the scope of the accessibility regulations as described below, please contact us.\n\n[Our normal response time is {<response time>}.]\n\n[You can also contact us in the following ways:\n\n* email {<email address>}\n* call {<telephone number>}]"
14
+ },
15
+ {
16
+ "id": "reporting",
17
+ "title": "Reporting accessibility problems with this website",
18
+ "content": "We're always looking to improve the accessibility of this website. If you find any problems that aren't listed on this page or if we're not meeting the requirements of the accessibility regulations, contact us and let us know about the problem."
19
+ },
20
+ {
21
+ "id": "enforcement",
22
+ "title": "Enforcement procedure",
23
+ "content": "The {<enforcement_body>} is responsible for enforcing the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018. If you experience accessibility issues on our website, you can submit a complaint to {<enforcement_body>}.\n\nYou can also submit a complaint to {<enforcement_body>} if you think that our assessment of what constitutes a disproportionate burden should be reviewed, if you think that our accessibility statement is inadequate, or if you think that your request for excluded content in an accessible format has not been handled correctly."
24
+ },
25
+ {
26
+ "id": "technical",
27
+ "title": "Technical information about this website's accessibility",
28
+ "content": "{This website is fully compliant with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018./This website is partially compliant with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018, due to the non-compliances listed below./This website is not compliant with the Public Sector Bodies (Websites and Mobile Applications) (No. 2) Accessibility Regulations 2018. The non-accessible sections are listed below.}"
29
+ },
30
+ {
31
+ "content": "The content described below is, in one way or another, not fully accessible.\n\n[\n**Non-compliance with the accessibility regulations**\n\n{<issues>}\n]"
32
+ },
33
+ {
34
+ "id": "testing",
35
+ "title": "How we tested this website",
36
+ "content": "{We have performed a self-assessment (internal testing) of {<website>}./{<third party>} has tested {<website>}./We have estimated the accessibility without testing.}\n\nThe last assessment was made on {<assessment date>}.\n\n[Assessment method: {<method>}]\n\nThe website was published on {<publish date>}.\n\nThe statement was last updated on {<update date>}."
37
+ }
38
+ ]
39
+ }
@@ -0,0 +1,39 @@
1
+ {
2
+ "title": "Accessibility of {<website>}",
3
+ "intro": "This website is run by {<organisation>}. We want as many people as possible to be able to use it, and this document describes how {<website>} complies with Section 508 of the Rehabilitation Act, any known accessibility issues, and how you can report problems so that we can fix them.",
4
+ "sections": [
5
+ {
6
+ "id": "how-accessible",
7
+ "title": "How accessible is the website?",
8
+ "content": "{There are no known accessibility issues with this website./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information./We know some parts of this website aren't fully accessible. See the section on non-accessible content below for more information.}"
9
+ },
10
+ {
11
+ "id": "what-to-do",
12
+ "title": "What to do if you can't access parts of this website?",
13
+ "content": "If you need content from this website that is not accessible for you, but is not within the scope of the accessibility regulations as described below, please contact us.\n\n[Our normal response time is {<response time>}.]\n\n[You can also contact us in the following ways:\n\n* email {<email address>}\n* call {<telephone number>}]"
14
+ },
15
+ {
16
+ "id": "reporting",
17
+ "title": "Reporting accessibility problems with this website",
18
+ "content": "We're always looking to improve the accessibility of this website. If you find any problems that aren't listed on this page or if we're not meeting the requirements of the accessibility regulations, contact us and let us know about the problem."
19
+ },
20
+ {
21
+ "id": "enforcement",
22
+ "title": "Enforcement procedure",
23
+ "content": "The {<enforcement_body>} is responsible for enforcing Section 508 of the Rehabilitation Act and the Americans with Disabilities Act (ADA). If you experience accessibility issues on our website, you can submit a complaint to {<enforcement_body>}.\n\nYou can also file a complaint with {<enforcement_body>} if you believe our website does not comply with Section 508 or the ADA, or if your request for accessible content has not been handled appropriately."
24
+ },
25
+ {
26
+ "id": "technical",
27
+ "title": "Technical information about this website's accessibility",
28
+ "content": "{This website is fully compliant with Section 508 of the Rehabilitation Act./This website is partially compliant with Section 508 of the Rehabilitation Act, due to the non-compliances listed below./This website is not compliant with Section 508 of the Rehabilitation Act. The non-accessible sections are listed below.}"
29
+ },
30
+ {
31
+ "content": "The content described below is, in one way or another, not fully accessible.\n\n[\n**Non-compliance with the accessibility regulations**\n\n{<issues>}\n]"
32
+ },
33
+ {
34
+ "id": "testing",
35
+ "title": "How we tested this website",
36
+ "content": "{We have performed a self-assessment (internal testing) of {<website>}./{<third party>} has tested {<website>}./We have estimated the accessibility without testing.}\n\nThe last assessment was made on {<assessment date>}.\n\n[Assessment method: {<method>}]\n\nThe website was published on {<publish date>}.\n\nThe statement was last updated on {<update date>}."
37
+ }
38
+ ]
39
+ }
@@ -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 la legislación nacional que transpone la Directiva (UE) 2016/2102 del Parlamento Europeo y del Consejo. Esta declaración de accesibilidad se aplica a {<webbplats>}.",
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 el estándar de accesibilidad./Este sitio web es parcialmente conforme con el estándar de accesibilidad debido a las faltas de conformidad que se indican a continuación./Este sitio web no es conforme con el estándar de accesibilidad. Los contenidos no accesibles se indican a continuación.}"
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 los requisitos de accesibilidad. 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."
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ää digitaalisten palvelujen tarjoamisesta annetun lain vaatimukset, mahdolliset tiedossa olevat saavutettavuusongelmat ja miten voit ilmoittaa meille puutteista, jotta voimme korjata ne.",
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 digitaalisten palvelujen saavutettavuutta koskevan lain 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."
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 digitaalisten palvelujen tarjoamisesta annetun lain mukainen./Tämä verkkosivusto on osittain digitaalisten palvelujen tarjoamisesta annetun lain mukainen jäljempänä mainittujen puutteiden vuoksi./Tämä verkkosivusto ei ole digitaalisten palvelujen tarjoamisesta annetun lain mukainen. Puutteelliset osat on kuvattu jäljempänä.}"
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 à l'article 47 de la loi n° 2005-102 du 11 février 2005. Cette déclaration d'accessibilité s'applique à {<webbplats>}.",
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 le référentiel général d'amélioration de l'accessibilité (RGAA)./Ce site est partiellement conforme avec le référentiel général d'amélioration de l'accessibilité (RGAA) en raison des non-conformités énumérées ci-dessous./Ce site n'est pas conforme avec le référentiel général d'amélioration de l'accessibilité (RGAA). Les contenus non accessibles sont énumérés ci-dessous.}"
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 le RGAA**\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>}]"
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",