govuk_publishing_components 44.4.0 → 44.4.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +1 -1
- data/app/views/govuk_publishing_components/components/_chart.html.erb +2 -2
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +3 -3
- data/node_modules/axe-core/axe.d.ts +5 -1
- data/node_modules/axe-core/axe.js +317 -299
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/README.md +3 -3
- data/node_modules/axe-core/locales/_template.json +14 -14
- data/node_modules/axe-core/package.json +2 -1
- data/node_modules/axe-core/sri-history.json +4 -0
- data/node_modules/chartkick/LICENSE.txt +22 -0
- data/node_modules/chartkick/README.md +593 -0
- data/node_modules/chartkick/chart.js/chart.esm.js +5 -0
- data/node_modules/chartkick/chart.js/package.json +6 -0
- data/node_modules/chartkick/dist/chartkick.esm.js +2562 -0
- data/node_modules/chartkick/dist/chartkick.js +2570 -0
- data/node_modules/chartkick/dist/chartkick.min.js +2 -0
- data/node_modules/chartkick/highcharts/highcharts.esm.js +4 -0
- data/node_modules/chartkick/highcharts/package.json +6 -0
- data/node_modules/chartkick/package.json +50 -0
- metadata +12 -2
@@ -2,8 +2,8 @@
|
|
2
2
|
|
3
3
|
We welcome any localization for axe-core. For details on how to contribute, see the [Contributing section](../README.md#contributing) of the main README. For details on the message syntax, see [Check Message Template](../doc/check-message-template.md).
|
4
4
|
|
5
|
-
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a
|
5
|
+
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a JSON file with the default English text in it for you to translate. Alternatively, you could copy `_template.json`.
|
6
6
|
|
7
|
-
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages
|
7
|
+
To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages that are no longer used in English.
|
8
8
|
|
9
|
-
`_template.json` is a generated file which is created every time axe is built. It's compiled using each
|
9
|
+
`_template.json` is a generated file which is created every time axe is built. It's compiled using each rule's `description` and `help` properties, as well as each check's `metadata.messages` property. To update the `_template.json` file you'll need to update the corresponding [rule](../lib/rules) or [check](../lib/checks) metadata file and rebuild.
|
@@ -6,8 +6,8 @@
|
|
6
6
|
"help": "accesskey attribute value should be unique"
|
7
7
|
},
|
8
8
|
"area-alt": {
|
9
|
-
"description": "Ensure <area> elements of image maps have
|
10
|
-
"help": "Active <area> elements must have
|
9
|
+
"description": "Ensure <area> elements of image maps have alternative text",
|
10
|
+
"help": "Active <area> elements must have alternative text"
|
11
11
|
},
|
12
12
|
"aria-allowed-attr": {
|
13
13
|
"description": "Ensure an element's role supports its ARIA attributes",
|
@@ -222,8 +222,8 @@
|
|
222
222
|
"help": "Links with the same name must have a similar purpose"
|
223
223
|
},
|
224
224
|
"image-alt": {
|
225
|
-
"description": "Ensure <img> elements have
|
226
|
-
"help": "Images must have
|
225
|
+
"description": "Ensure <img> elements have alternative text or a role of none or presentation",
|
226
|
+
"help": "Images must have alternative text"
|
227
227
|
},
|
228
228
|
"image-redundant-alt": {
|
229
229
|
"description": "Ensure image alternative is not repeated as text",
|
@@ -234,8 +234,8 @@
|
|
234
234
|
"help": "Input buttons must have discernible text"
|
235
235
|
},
|
236
236
|
"input-image-alt": {
|
237
|
-
"description": "Ensure <input type=\"image\"> elements have
|
238
|
-
"help": "Image buttons must have
|
237
|
+
"description": "Ensure <input type=\"image\"> elements have alternative text",
|
238
|
+
"help": "Image buttons must have alternative text"
|
239
239
|
},
|
240
240
|
"label-content-name-mismatch": {
|
241
241
|
"description": "Ensure that elements labelled through their content must have their visible text as part of their accessible name",
|
@@ -330,8 +330,8 @@
|
|
330
330
|
"help": "<video> or <audio> elements must not play automatically"
|
331
331
|
},
|
332
332
|
"object-alt": {
|
333
|
-
"description": "Ensure <object> elements have
|
334
|
-
"help": "<object> elements must have
|
333
|
+
"description": "Ensure <object> elements have alternative text",
|
334
|
+
"help": "<object> elements must have alternative text"
|
335
335
|
},
|
336
336
|
"p-as-heading": {
|
337
337
|
"description": "Ensure bold, italic text and font-size is not used to style <p> elements as a heading",
|
@@ -350,7 +350,7 @@
|
|
350
350
|
"help": "All page content should be contained by landmarks"
|
351
351
|
},
|
352
352
|
"role-img-alt": {
|
353
|
-
"description": "Ensure [role=\"img\"] elements have
|
353
|
+
"description": "Ensure [role=\"img\"] elements have alternative text",
|
354
354
|
"help": "[role=\"img\"] elements must have an alternative text"
|
355
355
|
},
|
356
356
|
"scope-attr-valid": {
|
@@ -771,8 +771,8 @@
|
|
771
771
|
"fail": "Element contains <img> element with alt text that duplicates existing text"
|
772
772
|
},
|
773
773
|
"explicit-label": {
|
774
|
-
"pass": "
|
775
|
-
"fail": "
|
774
|
+
"pass": "Element has an explicit <label>",
|
775
|
+
"fail": "Element does not have an explicit <label>",
|
776
776
|
"incomplete": "Unable to determine if form element has an explicit <label>"
|
777
777
|
},
|
778
778
|
"help-same-as-label": {
|
@@ -785,9 +785,9 @@
|
|
785
785
|
"incomplete": "Unable to determine if form element has explicit <label> that is hidden"
|
786
786
|
},
|
787
787
|
"implicit-label": {
|
788
|
-
"pass": "
|
789
|
-
"fail": "
|
790
|
-
"incomplete": "Unable to determine if form element has an implicit (wrapped
|
788
|
+
"pass": "Element has an implicit (wrapped) <label>",
|
789
|
+
"fail": "Element does not have an implicit (wrapped) <label>",
|
790
|
+
"incomplete": "Unable to determine if form element has an implicit (wrapped) <label>"
|
791
791
|
},
|
792
792
|
"label-content-name-mismatch": {
|
793
793
|
"pass": "Element contains visible text as part of it's accessible name",
|
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "axe-core",
|
3
3
|
"description": "Accessibility engine for automated Web UI testing",
|
4
|
-
"version": "4.10.
|
4
|
+
"version": "4.10.1",
|
5
5
|
"license": "MPL-2.0",
|
6
6
|
"engines": {
|
7
7
|
"node": ">=4"
|
@@ -112,6 +112,7 @@
|
|
112
112
|
"sri-update": "grunt build && node build/sri-update && git add sri-history.json",
|
113
113
|
"sri-validate": "node build/sri-update --validate",
|
114
114
|
"fmt": "prettier --write .",
|
115
|
+
"fmt:check": "prettier --check .",
|
115
116
|
"prepare": "husky && npm run patch",
|
116
117
|
"prebuild": "node ./build/check-node-version.js",
|
117
118
|
"pretest": "node ./build/check-node-version.js",
|
@@ -382,5 +382,9 @@
|
|
382
382
|
"4.10.0": {
|
383
383
|
"axe.js": "sha256-n/KN+TQhojZXnh49uUEY3/Df5WszWcCEothu0P58qDY=",
|
384
384
|
"axe.min.js": "sha256-SDpP7Usv5Wz9lKWFZQIMhjmD+EFeKCfzSB3ONecO/7U="
|
385
|
+
},
|
386
|
+
"4.10.1": {
|
387
|
+
"axe.js": "sha256-KQDnBck/AyiC+OE3x0AJ/EQYykYTnH+1z7punr4Xc0c=",
|
388
|
+
"axe.min.js": "sha256-OBXf33U9n+qCj0mI9MLkiVyC1nCzabDnmopjyuv1gZ4="
|
385
389
|
}
|
386
390
|
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
Copyright (c) 2013-2023 Andrew Kane
|
2
|
+
|
3
|
+
MIT License
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
6
|
+
a copy of this software and associated documentation files (the
|
7
|
+
"Software"), to deal in the Software without restriction, including
|
8
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
9
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
10
|
+
permit persons to whom the Software is furnished to do so, subject to
|
11
|
+
the following conditions:
|
12
|
+
|
13
|
+
The above copyright notice and this permission notice shall be
|
14
|
+
included in all copies or substantial portions of the Software.
|
15
|
+
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
17
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
18
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
19
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
20
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
21
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
22
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|