@holmdigital/engine 3.3.6 → 3.3.8
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-GAYYZJN5.mjs → chunk-Z3SSC2VW.mjs} +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/cli/index.mjs +1 -1
- package/dist/cli/templates/en-ca.json +3 -3
- package/dist/cli/templates/en-gb.json +3 -3
- package/dist/cli/templates/en-us.json +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/dist/templates/en-ca.json +3 -3
- package/dist/templates/en-gb.json +3 -3
- package/dist/templates/en-us.json +1 -1
- package/package.json +3 -3
|
@@ -260,7 +260,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
260
260
|
return false;
|
|
261
261
|
}
|
|
262
262
|
function getEngineVersion() {
|
|
263
|
-
return "3.3.
|
|
263
|
+
return "3.3.8";
|
|
264
264
|
}
|
|
265
265
|
function getStandardsVersion() {
|
|
266
266
|
try {
|
|
@@ -1182,7 +1182,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
1182
1182
|
"{<enforcement_body>}": (() => {
|
|
1183
1183
|
if (country === "US") {
|
|
1184
1184
|
const adaLaw = getNationalLaws("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
|
|
1185
|
-
if (adaLaw) return adaLaw.enforcement.authorityName;
|
|
1185
|
+
if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
|
|
1186
1186
|
}
|
|
1187
1187
|
return getEnforcementBody(country, sector);
|
|
1188
1188
|
})(),
|
package/dist/cli/index.js
CHANGED
|
@@ -1620,7 +1620,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
1620
1620
|
return false;
|
|
1621
1621
|
}
|
|
1622
1622
|
function getEngineVersion() {
|
|
1623
|
-
return "3.3.
|
|
1623
|
+
return "3.3.8";
|
|
1624
1624
|
}
|
|
1625
1625
|
function getStandardsVersion() {
|
|
1626
1626
|
try {
|
|
@@ -3407,7 +3407,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
3407
3407
|
"{<enforcement_body>}": (() => {
|
|
3408
3408
|
if (country === "US") {
|
|
3409
3409
|
const adaLaw = (0, import_standards3.getNationalLaws)("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
|
|
3410
|
-
if (adaLaw) return adaLaw.enforcement.authorityName;
|
|
3410
|
+
if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
|
|
3411
3411
|
}
|
|
3412
3412
|
return (0, import_standards3.getEnforcementBody)(country, sector);
|
|
3413
3413
|
})(),
|
package/dist/cli/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
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
|
|
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 {<national_law>}, any known accessibility issues, and how you can report problems so that we can fix them.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Enforcement procedure",
|
|
23
|
-
"content": "The {<enforcement_body>} is responsible for enforcing
|
|
23
|
+
"content": "The {<enforcement_body>} is responsible for enforcing {<national_law>}. 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 {<national_law>}, or if your request for accessible content has not been handled appropriately."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
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
|
|
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 {<national_law>}, any known accessibility issues, and how you can report problems so that we can fix them.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Enforcement procedure",
|
|
23
|
-
"content": "The {<enforcement_body>} is responsible for enforcing
|
|
23
|
+
"content": "The {<enforcement_body>} is responsible for enforcing {<national_law>}. 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
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
package/dist/index.js
CHANGED
|
@@ -1228,7 +1228,7 @@ function isInterstitialPage(pageTitle, hasMetaRefresh, bodyTextLength) {
|
|
|
1228
1228
|
return false;
|
|
1229
1229
|
}
|
|
1230
1230
|
function getEngineVersion() {
|
|
1231
|
-
return "3.3.
|
|
1231
|
+
return "3.3.8";
|
|
1232
1232
|
}
|
|
1233
1233
|
function getStandardsVersion() {
|
|
1234
1234
|
try {
|
|
@@ -2153,7 +2153,7 @@ async function generateStatementContent(result, lang = "en", format = "html", me
|
|
|
2153
2153
|
"{<enforcement_body>}": (() => {
|
|
2154
2154
|
if (country === "US") {
|
|
2155
2155
|
const adaLaw = (0, import_standards.getNationalLaws)("US").find((l) => l.euFramework === "ADA" && l.scope === sector && l.inForce !== false);
|
|
2156
|
-
if (adaLaw) return adaLaw.enforcement.authorityName;
|
|
2156
|
+
if (adaLaw?.enforcement) return adaLaw.enforcement.authorityName;
|
|
2157
2157
|
}
|
|
2158
2158
|
return (0, import_standards.getEnforcementBody)(country, sector);
|
|
2159
2159
|
})(),
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
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
|
|
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 {<national_law>}, any known accessibility issues, and how you can report problems so that we can fix them.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Enforcement procedure",
|
|
23
|
-
"content": "The {<enforcement_body>} is responsible for enforcing
|
|
23
|
+
"content": "The {<enforcement_body>} is responsible for enforcing {<national_law>}. 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 {<national_law>}, or if your request for accessible content has not been handled appropriately."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
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
|
|
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 {<national_law>}, any known accessibility issues, and how you can report problems so that we can fix them.",
|
|
4
4
|
"sections": [
|
|
5
5
|
{
|
|
6
6
|
"id": "how-accessible",
|
|
@@ -20,12 +20,12 @@
|
|
|
20
20
|
{
|
|
21
21
|
"id": "enforcement",
|
|
22
22
|
"title": "Enforcement procedure",
|
|
23
|
-
"content": "The {<enforcement_body>} is responsible for enforcing
|
|
23
|
+
"content": "The {<enforcement_body>} is responsible for enforcing {<national_law>}. 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
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
{
|
|
26
26
|
"id": "technical",
|
|
27
27
|
"title": "Technical information about this website's accessibility",
|
|
28
|
-
"content": "{This website is fully compliant with
|
|
28
|
+
"content": "{This website is fully compliant with {<national_law>}./This website is partially compliant with {<national_law>}, due to the non-compliances listed below./This website is not compliant with {<national_law>}. The non-accessible sections are listed below.}"
|
|
29
29
|
},
|
|
30
30
|
{
|
|
31
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]"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holmdigital/engine",
|
|
3
|
-
"version": "3.3.
|
|
3
|
+
"version": "3.3.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -85,8 +85,8 @@
|
|
|
85
85
|
"node": ">=22.22.0"
|
|
86
86
|
},
|
|
87
87
|
"dependencies": {
|
|
88
|
-
"@holmdigital/components": "^4.0.
|
|
89
|
-
"@holmdigital/standards": "^
|
|
88
|
+
"@holmdigital/components": "^4.0.1",
|
|
89
|
+
"@holmdigital/standards": "^4.0.1",
|
|
90
90
|
"axe-core": "^4.13.0",
|
|
91
91
|
"chalk": "^6.0.0",
|
|
92
92
|
"commander": "^15.0.0",
|