govuk_publishing_components 38.3.1 → 38.3.2

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.
@@ -0,0 +1,9 @@
1
+ # Localizations
2
+
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
+
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
+
7
+ To update an existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
8
+
9
+ `_template.json` is a generated file which is created every time axe is built. It's compiled using each rules' `description` and `help` properties as well as each checks' `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.
@@ -538,7 +538,8 @@
538
538
  "noIdShadow": "ARIA attribute element ID does not exist on the page or is a descendant of a different shadow DOM tree: ${data.needsReview}",
539
539
  "ariaCurrent": "ARIA attribute value is invalid and will be treated as \"aria-current=true\": ${data.needsReview}",
540
540
  "idrefs": "Unable to determine if ARIA attribute element ID exists on the page: ${data.needsReview}",
541
- "empty": "ARIA attribute value is ignored while empty: ${data.needsReview}"
541
+ "empty": "ARIA attribute value is ignored while empty: ${data.needsReview}",
542
+ "controlsWithinPopup": "Unable to determine if aria-controls referenced ID exists on the page while using aria-haspopup: ${data.needsReview}"
542
543
  }
543
544
  },
544
545
  "aria-valid-attr": {
@@ -872,7 +873,8 @@
872
873
  "fail": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.",
873
874
  "incomplete": {
874
875
  "default": "Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?",
875
- "nonTabbableNeighbor": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?"
876
+ "nonTabbableNeighbor": "Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?",
877
+ "tooManyRects": "Could not get the target size because there are too many overlapping elements"
876
878
  }
877
879
  },
878
880
  "target-size": {
@@ -498,7 +498,8 @@
498
498
  },
499
499
  "aria-required-children": {
500
500
  "pass": {
501
- "default": "Alle benötigten ARIA Kinder sind vorhanden."
501
+ "default": "Alle benötigten ARIA Kinder sind vorhanden.",
502
+ "aria-busy": "Element hat ein aria-busy-Attribut, daher ist es erlaubt, erforderliche ARIA Kinder wegzulassen"
502
503
  },
503
504
  "fail": {
504
505
  "singular": "Benötigte ARIA Kindrolle nicht vorhanden: ${data.values}",
@@ -864,7 +865,10 @@
864
865
  "fail": "Die viewport-Einstellungen im <meta>-Tag blockieren das Zoomen auf mobilen Geräten."
865
866
  },
866
867
  "target-offset": {
867
- "pass": "Das Ziel hat genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px, der mindestens ${data.minOffset}px beträgt.",
868
+ "pass": {
869
+ "default": "Das Ziel hat genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px, der mindestens ${data.minOffset}px beträgt.",
870
+ "large": "Das Ziel überschreitet bei weitem die Mindestgröße von ${data.minOffset}px."
871
+ },
868
872
  "fail": "Das Ziel hat nicht genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px statt mindestens ${data.minOffset}px.",
869
873
  "incomplete": {
870
874
  "default": "Element mit negativem Tabindex hat nicht genügend Abstand zu seinen nächsten Nachbarn. Der sichere klickbare Bereich hat einen Durchmesser von ${data.closestOffset}px statt mindestens ${data.minOffset}px. Ist dies ein Ziel?",
@@ -874,7 +878,8 @@
874
878
  "target-size": {
875
879
  "pass": {
876
880
  "default": "Das Steuerelement hat eine ausreichende Größe (${data.width}px x ${data.height}px, sollte mindestens ${data.minSize}px x ${data.minSize}px sein).",
877
- "obscured": "Das Steuerelement wird ignoriert, da es vollständig verdeckt ist und daher nicht angeklickt werden kann."
881
+ "obscured": "Das Steuerelement wird ignoriert, da es vollständig verdeckt ist und daher nicht angeklickt werden kann.",
882
+ "large": "Das Ziel überschreitet bei weitem die Mindestgröße von ${data.minSize}px."
878
883
  },
879
884
  "fail": {
880
885
  "default": "Das Ziel hat eine unzureichende Größe (${data.width}px x ${data.height}px, sollte mindestens ${data.minSize}px x ${data.minSize}px sein).",
@@ -884,7 +889,8 @@
884
889
  "default": "Element mit negativem Tabindex hat unzureichende Größe (${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist dies ein Ziel?",
885
890
  "contentOverflow": "Elementgröße konnte aufgrund von Überlaufinhalten nicht genau bestimmt werden",
886
891
  "partiallyObscured": "Element mit negativem Tabindex hat unzureichende Größe, weil es teilweise verdeckt ist (kleinster Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist dies ein Ziel?",
887
- "partiallyObscuredNonTabbable": "Das Ziel hat eine unzureichende Größe, weil es teilweise von einem Nachbarn mit negativem Tabindex verdeckt wird (der kleinste Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist der Nachbar ein Ziel?"
892
+ "partiallyObscuredNonTabbable": "Das Ziel hat eine unzureichende Größe, weil es teilweise von einem Nachbarn mit negativem Tabindex verdeckt wird (der kleinste Platz ist ${data.width}px mal ${data.height}px, sollte mindestens ${data.minSize}px mal ${data.minSize}px sein). Ist der Nachbar ein Ziel?",
893
+ "tooManyRects": "Die Zielgröße konnte nicht ermittelt werden, da zu viele überlappende Elemente vorhanden sind."
888
894
  }
889
895
  },
890
896
  "header-present": {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "aria-braille-equivalent": {
21
21
  "description": "aria-braillelabelとaria-brailleroledescriptionには、点字以外の同等のものが存在することを確認します",
22
- "help": "aria-braille属性には、点じ以外の同等のものがなければなりません "
22
+ "help": "aria-braille属性には、点字以外の同等のものがなければなりません "
23
23
  },
24
24
  "aria-command-name": {
25
25
  "description": "すべてのARIA button、link、menuitemにアクセシブルな名前があることを確認します",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.9.0",
4
+ "version": "4.9.1",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -32,6 +32,11 @@
32
32
  "name": "Marcy Sutton",
33
33
  "organization": "Deque Systems, Inc.",
34
34
  "url": "http://deque.com/"
35
+ },
36
+ {
37
+ "name": "Ava Gaiety Wroten",
38
+ "organization": "Deque Systems, Inc.",
39
+ "url": "http://deque.com/"
35
40
  }
36
41
  ],
37
42
  "homepage": "https://www.deque.com/axe/",
@@ -75,7 +80,7 @@
75
80
  "test": "npm run test:tsc && run-s \"test:unit:* -- {@}\" --",
76
81
  "test:tsc": "tsc",
77
82
  "test:unit": "karma start test/karma.conf.js",
78
- "test:debug": "npm run test:unit -- --no-single-run --browsers=Chrome",
83
+ "test:debug": "npm run test:unit -- --no-single-run --browsers=ChromeDebugging",
79
84
  "test:unit:core": "npm run test:unit -- testDirs=core",
80
85
  "test:unit:commons": "npm run test:unit -- testDirs=commons",
81
86
  "test:unit:rule-matches": "npm run test:unit -- testDirs=rule-matches",
@@ -125,7 +130,7 @@
125
130
  "chromedriver": "latest",
126
131
  "clean-jsdoc-theme": "^4.2.17",
127
132
  "clone": "^2.1.2",
128
- "colorjs.io": "^0.5.0",
133
+ "colorjs.io": "^0.4.3",
129
134
  "conventional-commits-parser": "^5.0.0",
130
135
  "core-js": "^3.27.1",
131
136
  "css-selector-parser": "^1.4.1",
@@ -374,5 +374,9 @@
374
374
  "4.9.0": {
375
375
  "axe.js": "sha256-76H9rp5bFFzCQrHiNlIEZniM30DftZzZ5pUJd/ZG4Qg=",
376
376
  "axe.min.js": "sha256-leYBst5Y3dlncZ2YVBpe5s//BhrMC7XbK9yhUCAyPNA="
377
+ },
378
+ "4.9.1": {
379
+ "axe.js": "sha256-t7u8FiO2U54AN0dyGu2hAMcYdgpuXEkM6n+Eup6lMyQ=",
380
+ "axe.min.js": "sha256-GCpA3F2CB+YmwJhhrWUCfUXoXjpW0BBF0Gji6I7kMuo="
377
381
  }
378
382
  }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: govuk_publishing_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 38.3.1
4
+ version: 38.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - GOV.UK Dev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-15 00:00:00.000000000 Z
11
+ date: 2024-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: govuk_app_config
@@ -961,6 +961,7 @@ files:
961
961
  - node_modules/axe-core/axe.d.ts
962
962
  - node_modules/axe-core/axe.js
963
963
  - node_modules/axe-core/axe.min.js
964
+ - node_modules/axe-core/locales/README.md
964
965
  - node_modules/axe-core/locales/_template.json
965
966
  - node_modules/axe-core/locales/da.json
966
967
  - node_modules/axe-core/locales/de.json