@holmdigital/engine 2.5.6 → 2.6.1

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.
@@ -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.5.6";
141
+ return "2.6.1";
142
142
  }
143
143
  function getStandardsVersion() {
144
144
  try {
@@ -323,7 +323,7 @@ var RegulatoryScanner = class {
323
323
  async enrichResults(axeResults) {
324
324
  const reports = [];
325
325
  const { searchRulesByTags, generateRegulatoryReport, getConvergenceRule } = await import("@holmdigital/standards");
326
- const { getCurrentLang } = await import("./i18n-ZLEGILHH.mjs");
326
+ const { getCurrentLang } = await import("./i18n-SE7FLXIF.mjs");
327
327
  const lang = getCurrentLang();
328
328
  for (const violation of axeResults.violations) {
329
329
  let report = generateRegulatoryReport(violation.id, lang);
@@ -35,6 +35,27 @@ var en_default = {
35
35
  prescriptive_fix: "\u{1F4A1} Prescriptive Fix",
36
36
  use: "Use",
37
37
  footer: "Generated by @holmdigital/engine v{version} \u2022 Standards: WCAG 2.1 AA, EN 301 549, DOS-lagen"
38
+ },
39
+ plain: {
40
+ what_happens: "What happens:",
41
+ who_is_affected: "Who is affected:",
42
+ business_impact: "What it costs you:",
43
+ how_to_fix: "How to fix it:",
44
+ badge_stoppar_kop: "Blocks purchases",
45
+ badge_hindrar: "Excludes customers",
46
+ badge_forsamrar: "Degrades experience",
47
+ badge_putsning: "Worth polishing",
48
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
49
+ sorted_by: "Sorted by business impact",
50
+ intro_found: "Found {count} {unit}",
51
+ intro_unit_singular: "issue",
52
+ intro_unit_plural: "issues",
53
+ closing: "Start at the top. The items highest up cost you the most customers.",
54
+ empty_state: "No barriers found this time.",
55
+ report_title: "Accessibility report for {url}",
56
+ report_tagline: "Accessibility report",
57
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
58
+ fallback_framing: "Technical finding. Ask your developer to review this:"
38
59
  }
39
60
  };
40
61
 
@@ -75,6 +96,27 @@ var sv_default = {
75
96
  prescriptive_fix: "\u{1F4A1} Preskriptiv L\xF6sning",
76
97
  use: "Anv\xE4nd",
77
98
  footer: "Genererad av @holmdigital/engine v{version} \u2022 Standarder: WCAG 2.1 AA, EN 301 549, DOS-lagen"
99
+ },
100
+ plain: {
101
+ what_happens: "Vad som h\xE4nder:",
102
+ who_is_affected: "Vem det drabbar:",
103
+ business_impact: "Vad det kostar:",
104
+ how_to_fix: "S\xE5 fixar du:",
105
+ badge_stoppar_kop: "Stoppar k\xF6p",
106
+ badge_hindrar: "Hindrar kunder",
107
+ badge_forsamrar: "F\xF6rs\xE4mrar upplevelsen",
108
+ badge_putsning: "V\xE4rt att putsa",
109
+ intro_framing: "Det betyder inte att du gjort n\xE5got fel. De flesta som bygger en webbplats f\xE5r aldrig veta att tillg\xE4nglighet ens \xE4r en sak. Nu vet du. H\xE4r \xE4r vad som \xE4r v\xE4rt att b\xF6rja med, sorterat efter vad som kostar dig mest kunder.",
110
+ sorted_by: "Sorterat efter aff\xE4rsp\xE5verkan",
111
+ intro_found: "Hittade {count} {unit}",
112
+ intro_unit_singular: "hinder",
113
+ intro_unit_plural: "hinder",
114
+ closing: "B\xF6rja uppifr\xE5n. Punkterna h\xF6gst upp kostar dig mest kunder.",
115
+ empty_state: "Vi hittade inga hinder den h\xE4r g\xE5ngen.",
116
+ report_title: "Tillg\xE4nglighetsrapport f\xF6r {url}",
117
+ report_tagline: "Tillg\xE4nglighetsrapport",
118
+ attribution: "Rapporten genererades av HolmDigital Engine, en del av HolmDigitals ekosystem f\xF6r tillg\xE4nglighet.",
119
+ fallback_framing: "Tekniskt fynd. Be er utvecklare titta p\xE5 detta:"
78
120
  }
79
121
  };
80
122
 
@@ -115,6 +157,27 @@ var de_default = {
115
157
  prescriptive_fix: "\u{1F4A1} Vorschriftsm\xE4\xDFige L\xF6sung",
116
158
  use: "Verwenden",
117
159
  footer: "Generiert von @holmdigital/engine v{version} \u2022 Standards: WCAG 2.1 AA, EN 301 549, BITV 2.0"
160
+ },
161
+ plain: {
162
+ what_happens: "What happens:",
163
+ who_is_affected: "Who is affected:",
164
+ business_impact: "What it costs you:",
165
+ how_to_fix: "How to fix it:",
166
+ badge_stoppar_kop: "Blocks purchases",
167
+ badge_hindrar: "Excludes customers",
168
+ badge_forsamrar: "Degrades experience",
169
+ badge_putsning: "Worth polishing",
170
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
171
+ sorted_by: "Sorted by business impact",
172
+ intro_found: "Found {count} {unit}",
173
+ intro_unit_singular: "issue",
174
+ intro_unit_plural: "issues",
175
+ closing: "Start at the top. The items highest up cost you the most customers.",
176
+ empty_state: "No barriers found this time.",
177
+ report_title: "Accessibility report for {url}",
178
+ report_tagline: "Accessibility report",
179
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
180
+ fallback_framing: "Technical finding. Ask your developer to review this:"
118
181
  }
119
182
  };
120
183
 
@@ -155,6 +218,27 @@ var fr_default = {
155
218
  prescriptive_fix: "\u{1F4A1} Solution Prescriptive",
156
219
  use: "Utiliser",
157
220
  footer: "G\xE9n\xE9r\xE9 par @holmdigital/engine v{version} \u2022 Standards : WCAG 2.1 AA, EN 301 549, RGAA"
221
+ },
222
+ plain: {
223
+ what_happens: "What happens:",
224
+ who_is_affected: "Who is affected:",
225
+ business_impact: "What it costs you:",
226
+ how_to_fix: "How to fix it:",
227
+ badge_stoppar_kop: "Blocks purchases",
228
+ badge_hindrar: "Excludes customers",
229
+ badge_forsamrar: "Degrades experience",
230
+ badge_putsning: "Worth polishing",
231
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
232
+ sorted_by: "Sorted by business impact",
233
+ intro_found: "Found {count} {unit}",
234
+ intro_unit_singular: "issue",
235
+ intro_unit_plural: "issues",
236
+ closing: "Start at the top. The items highest up cost you the most customers.",
237
+ empty_state: "No barriers found this time.",
238
+ report_title: "Accessibility report for {url}",
239
+ report_tagline: "Accessibility report",
240
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
241
+ fallback_framing: "Technical finding. Ask your developer to review this:"
158
242
  }
159
243
  };
160
244
 
@@ -195,6 +279,27 @@ var es_default = {
195
279
  prescriptive_fix: "\u{1F4A1} Soluci\xF3n Prescriptiva",
196
280
  use: "Usar",
197
281
  footer: "Generado por @holmdigital/engine v{version} \u2022 Est\xE1ndares: WCAG 2.1 AA, EN 301 549, UNE 139803"
282
+ },
283
+ plain: {
284
+ what_happens: "What happens:",
285
+ who_is_affected: "Who is affected:",
286
+ business_impact: "What it costs you:",
287
+ how_to_fix: "How to fix it:",
288
+ badge_stoppar_kop: "Blocks purchases",
289
+ badge_hindrar: "Excludes customers",
290
+ badge_forsamrar: "Degrades experience",
291
+ badge_putsning: "Worth polishing",
292
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
293
+ sorted_by: "Sorted by business impact",
294
+ intro_found: "Found {count} {unit}",
295
+ intro_unit_singular: "issue",
296
+ intro_unit_plural: "issues",
297
+ closing: "Start at the top. The items highest up cost you the most customers.",
298
+ empty_state: "No barriers found this time.",
299
+ report_title: "Accessibility report for {url}",
300
+ report_tagline: "Accessibility report",
301
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
302
+ fallback_framing: "Technical finding. Ask your developer to review this:"
198
303
  }
199
304
  };
200
305
 
@@ -235,6 +340,27 @@ var fi_default = {
235
340
  prescriptive_fix: "\u{1F4A1} Ehdotettu korjaus",
236
341
  use: "K\xE4yt\xE4",
237
342
  footer: "Luonut @holmdigital/engine v{version} \u2022 Standardit: WCAG 2.1 AA, EN 301 549, Digipalvelulaki"
343
+ },
344
+ plain: {
345
+ what_happens: "What happens:",
346
+ who_is_affected: "Who is affected:",
347
+ business_impact: "What it costs you:",
348
+ how_to_fix: "How to fix it:",
349
+ badge_stoppar_kop: "Blocks purchases",
350
+ badge_hindrar: "Excludes customers",
351
+ badge_forsamrar: "Degrades experience",
352
+ badge_putsning: "Worth polishing",
353
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
354
+ sorted_by: "Sorted by business impact",
355
+ intro_found: "Found {count} {unit}",
356
+ intro_unit_singular: "issue",
357
+ intro_unit_plural: "issues",
358
+ closing: "Start at the top. The items highest up cost you the most customers.",
359
+ empty_state: "No barriers found this time.",
360
+ report_title: "Accessibility report for {url}",
361
+ report_tagline: "Accessibility report",
362
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
363
+ fallback_framing: "Technical finding. Ask your developer to review this:"
238
364
  }
239
365
  };
240
366
 
@@ -275,6 +401,27 @@ var dk_default = {
275
401
  prescriptive_fix: "\u{1F4A1} Foresl\xE5et L\xF8sning",
276
402
  use: "Brug",
277
403
  footer: "Genereret af @holmdigital/engine v{version} \u2022 Standarder: WCAG 2.1 AA, EN 301 549, Lov om tilg\xE6ngelighed"
404
+ },
405
+ plain: {
406
+ what_happens: "What happens:",
407
+ who_is_affected: "Who is affected:",
408
+ business_impact: "What it costs you:",
409
+ how_to_fix: "How to fix it:",
410
+ badge_stoppar_kop: "Blocks purchases",
411
+ badge_hindrar: "Excludes customers",
412
+ badge_forsamrar: "Degrades experience",
413
+ badge_putsning: "Worth polishing",
414
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
415
+ sorted_by: "Sorted by business impact",
416
+ intro_found: "Found {count} {unit}",
417
+ intro_unit_singular: "issue",
418
+ intro_unit_plural: "issues",
419
+ closing: "Start at the top. The items highest up cost you the most customers.",
420
+ empty_state: "No barriers found this time.",
421
+ report_title: "Accessibility report for {url}",
422
+ report_tagline: "Accessibility report",
423
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
424
+ fallback_framing: "Technical finding. Ask your developer to review this:"
278
425
  }
279
426
  };
280
427
 
@@ -315,6 +462,27 @@ var no_default = {
315
462
  prescriptive_fix: "\u{1F4A1} Foresl\xE5tt L\xF8sning",
316
463
  use: "Bruk",
317
464
  footer: "Generert av @holmdigital/engine v{version} \u2022 Standarder: WCAG 2.1 AA, EN 301 549, Uu-tilsynet"
465
+ },
466
+ plain: {
467
+ what_happens: "What happens:",
468
+ who_is_affected: "Who is affected:",
469
+ business_impact: "What it costs you:",
470
+ how_to_fix: "How to fix it:",
471
+ badge_stoppar_kop: "Blocks purchases",
472
+ badge_hindrar: "Excludes customers",
473
+ badge_forsamrar: "Degrades experience",
474
+ badge_putsning: "Worth polishing",
475
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
476
+ sorted_by: "Sorted by business impact",
477
+ intro_found: "Found {count} {unit}",
478
+ intro_unit_singular: "issue",
479
+ intro_unit_plural: "issues",
480
+ closing: "Start at the top. The items highest up cost you the most customers.",
481
+ empty_state: "No barriers found this time.",
482
+ report_title: "Accessibility report for {url}",
483
+ report_tagline: "Accessibility report",
484
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
485
+ fallback_framing: "Technical finding. Ask your developer to review this:"
318
486
  }
319
487
  };
320
488
 
@@ -355,6 +523,27 @@ var nl_default = {
355
523
  prescriptive_fix: "\u{1F4A1} Voorgeschreven oplossing",
356
524
  use: "Gebruik",
357
525
  footer: "Gegenereerd door @holmdigital/engine v{version} \u2022 Standaarden: WCAG 2.1 AA, EN 301 549, Besluit digitale toegankelijkheid overheid"
526
+ },
527
+ plain: {
528
+ what_happens: "What happens:",
529
+ who_is_affected: "Who is affected:",
530
+ business_impact: "What it costs you:",
531
+ how_to_fix: "How to fix it:",
532
+ badge_stoppar_kop: "Blocks purchases",
533
+ badge_hindrar: "Excludes customers",
534
+ badge_forsamrar: "Degrades experience",
535
+ badge_putsning: "Worth polishing",
536
+ intro_framing: "It does not mean you did anything wrong. Most people who build a website never find out that accessibility is even a thing. Now you know. Here is what is worth starting with, sorted by what costs you the most customers.",
537
+ sorted_by: "Sorted by business impact",
538
+ intro_found: "Found {count} {unit}",
539
+ intro_unit_singular: "issue",
540
+ intro_unit_plural: "issues",
541
+ closing: "Start at the top. The items highest up cost you the most customers.",
542
+ empty_state: "No barriers found this time.",
543
+ report_title: "Accessibility report for {url}",
544
+ report_tagline: "Accessibility report",
545
+ attribution: "Report generated by HolmDigital Engine, part of the HolmDigital accessibility ecosystem.",
546
+ fallback_framing: "Technical finding. Ask your developer to review this:"
358
547
  }
359
548
  };
360
549