govuk_publishing_components 61.3.1 → 61.4.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.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-change-tracker.js +147 -0
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-form-tracker.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4-publishing.js +1 -0
- data/app/assets/stylesheets/component_guide/application.scss +1 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_attachment.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_breadcrumbs.scss +0 -21
- data/app/assets/stylesheets/govuk_publishing_components/components/_emergency-banner.scss +0 -13
- data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +0 -3
- data/app/assets/stylesheets/govuk_publishing_components/components/_signup-link.scss +2 -2
- data/app/assets/stylesheets/govuk_publishing_components/components/_success-alert.scss +0 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_tabs.scss +0 -23
- data/app/assets/stylesheets/govuk_publishing_components/components/_translation-nav.scss +2 -11
- data/app/controllers/govuk_publishing_components/component_guide_controller.rb +0 -44
- data/app/views/govuk_publishing_components/component_guide/preview.html.erb +1 -17
- data/app/views/govuk_publishing_components/components/_attachment.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_breadcrumbs.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_emergency_banner.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_published_dates.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_signup_link.html.erb +2 -2
- data/app/views/govuk_publishing_components/components/_success_alert.html.erb +1 -1
- data/app/views/govuk_publishing_components/components/_translation_nav.html.erb +1 -1
- data/app/views/layouts/govuk_publishing_components/application.html.erb +9 -2
- data/lib/govuk_publishing_components/config.rb +5 -1
- data/lib/govuk_publishing_components/presenters/translation_nav_helper.rb +4 -0
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +4 -4
- data/node_modules/axe-core/axe.d.ts +74 -10
- data/node_modules/axe-core/axe.js +17306 -17047
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +18 -10
- data/node_modules/axe-core/locales/de.json +5 -1
- data/node_modules/axe-core/locales/ja.json +127 -118
- data/node_modules/axe-core/locales/pt_PT.json +1123 -0
- data/node_modules/axe-core/locales/ru.json +1127 -0
- data/node_modules/axe-core/package.json +9 -9
- data/node_modules/axe-core/sri-history.json +4 -0
- metadata +5 -1
|
@@ -202,7 +202,7 @@
|
|
|
202
202
|
"help": "Heading levels should only increase by one"
|
|
203
203
|
},
|
|
204
204
|
"hidden-content": {
|
|
205
|
-
"description": "
|
|
205
|
+
"description": "Inform users about hidden content.",
|
|
206
206
|
"help": "Hidden content on the page should be analyzed"
|
|
207
207
|
},
|
|
208
208
|
"html-has-lang": {
|
|
@@ -342,8 +342,8 @@
|
|
|
342
342
|
"help": "Page should contain a level-one heading"
|
|
343
343
|
},
|
|
344
344
|
"presentation-role-conflict": {
|
|
345
|
-
"description": "
|
|
346
|
-
"help": "
|
|
345
|
+
"description": "Ensure elements marked as presentational do not have global ARIA or tabindex so that all screen readers ignore them",
|
|
346
|
+
"help": "Elements marked as presentational should be consistently ignored"
|
|
347
347
|
},
|
|
348
348
|
"region": {
|
|
349
349
|
"description": "Ensure all page content is contained by landmarks",
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
},
|
|
352
352
|
"role-img-alt": {
|
|
353
353
|
"description": "Ensure [role=\"img\"] elements have alternative text",
|
|
354
|
-
"help": "[role=\"img\"] elements must have
|
|
354
|
+
"help": "[role=\"img\"] elements must have alternative text"
|
|
355
355
|
},
|
|
356
356
|
"scope-attr-valid": {
|
|
357
357
|
"description": "Ensure the scope attribute is used correctly on tables",
|
|
@@ -378,8 +378,8 @@
|
|
|
378
378
|
"help": "Summary elements must have discernible text"
|
|
379
379
|
},
|
|
380
380
|
"svg-img-alt": {
|
|
381
|
-
"description": "Ensure <svg> elements with an img, graphics-document or graphics-symbol role have
|
|
382
|
-
"help": "<svg> elements with an img role must have
|
|
381
|
+
"description": "Ensure <svg> elements with an img, graphics-document or graphics-symbol role have accessible text",
|
|
382
|
+
"help": "<svg> elements with an img role must have alternative text"
|
|
383
383
|
},
|
|
384
384
|
"tabindex": {
|
|
385
385
|
"description": "Ensure tabindex attribute values are not greater than 0",
|
|
@@ -402,8 +402,8 @@
|
|
|
402
402
|
"help": "Non-empty <td> elements in larger <table> must have an associated table header"
|
|
403
403
|
},
|
|
404
404
|
"td-headers-attr": {
|
|
405
|
-
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other
|
|
406
|
-
"help": "Table
|
|
405
|
+
"description": "Ensure that each cell in a table that uses the headers attribute refers only to other <th> elements in that table",
|
|
406
|
+
"help": "Table cell headers attributes must refer to other <th> elements in the same table"
|
|
407
407
|
},
|
|
408
408
|
"th-has-data-cells": {
|
|
409
409
|
"description": "Ensure that <th> elements and elements with role=columnheader/rowheader have data cells they describe",
|
|
@@ -984,6 +984,10 @@
|
|
|
984
984
|
"pass": "Document has a non-empty <title> element",
|
|
985
985
|
"fail": "Document does not have a non-empty <title> element"
|
|
986
986
|
},
|
|
987
|
+
"error-occurred": {
|
|
988
|
+
"pass": "",
|
|
989
|
+
"incomplete": "Axe encountered an error; test the page for this type of problem manually"
|
|
990
|
+
},
|
|
987
991
|
"exists": {
|
|
988
992
|
"pass": "Element does not exist",
|
|
989
993
|
"incomplete": "Element exists"
|
|
@@ -1096,9 +1100,13 @@
|
|
|
1096
1100
|
"fail": "Some non-empty data cells do not have table headers"
|
|
1097
1101
|
},
|
|
1098
1102
|
"td-headers-attr": {
|
|
1099
|
-
"pass": "The headers attribute is exclusively used to refer to other cells in the table",
|
|
1103
|
+
"pass": "The headers attribute is exclusively used to refer to other header cells in the table",
|
|
1100
1104
|
"incomplete": "The headers attribute is empty",
|
|
1101
|
-
"fail":
|
|
1105
|
+
"fail": {
|
|
1106
|
+
"cell-header-not-in-table": "The headers attribute is not exclusively used to refer to other header cells in the table",
|
|
1107
|
+
"cell-header-not-th": "The headers attribute must refer to header cells, not data cells",
|
|
1108
|
+
"header-refs-self": "The element with headers attribute refers to itself"
|
|
1109
|
+
}
|
|
1102
1110
|
},
|
|
1103
1111
|
"th-has-data-cells": {
|
|
1104
1112
|
"pass": "All table header cells refer to data cells",
|
|
@@ -1098,7 +1098,11 @@
|
|
|
1098
1098
|
"td-headers-attr": {
|
|
1099
1099
|
"pass": "Das headers-Attribut wird ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen.",
|
|
1100
1100
|
"incomplete": "Das headers-Attribut ist leer.",
|
|
1101
|
-
"fail":
|
|
1101
|
+
"fail": {
|
|
1102
|
+
"cell-header-not-in-table": "Das headers-Attribut wird nicht ausschließlich dafür verwendet, um auf andere Kopfzellen in der Tabelle zu verweisen.",
|
|
1103
|
+
"cell-header-not-th": "Das headers-Attribut muss auf Kopfzellen verweisen, nicht auf Datenzellen.",
|
|
1104
|
+
"header-refs-self": "Das Element mit dem headers-Attribut verweist auf sich selbst."
|
|
1105
|
+
}
|
|
1102
1106
|
},
|
|
1103
1107
|
"th-has-data-cells": {
|
|
1104
1108
|
"pass": "Alle Tabellenkopfzellen beziehen sich auf Datenzellen.",
|