@defra/forms-engine-plugin 4.0.56 → 4.0.58

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.
@@ -6,14 +6,10 @@
6
6
  <div id="uploadedFilesContainer">
7
7
  <h2 class="govuk-heading-m">Uploaded files</h2>
8
8
  {% if upload.count %}
9
- <p class="govuk-body">{{upload.count}} file{{ "s" if upload.count > 1}} uploaded</p>
9
+ <p class="govuk-body" role="alert">{{upload.count}} file{{ "s" if upload.count > 1}} uploaded</p>
10
10
  <p class="govuk-body">
11
11
  </p>
12
12
 
13
- <div class="govuk-visually-hidden" aria-live="polite" id="statusInformation">
14
- {{upload.count}} file{{ "s" if upload.count > 1}} uploaded
15
- </div>
16
-
17
13
  {% if upload.summaryList.rows | length %}
18
14
  {{ govukSummaryList(upload.summaryList) }}
19
15
  {% endif %}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@defra/forms-engine-plugin",
3
- "version": "4.0.56",
3
+ "version": "4.0.58",
4
4
  "description": "Defra forms engine",
5
5
  "type": "module",
6
6
  "files": [
@@ -70,7 +70,7 @@
70
70
  },
71
71
  "license": "SEE LICENSE IN LICENSE",
72
72
  "dependencies": {
73
- "@defra/forms-model": "^3.0.614",
73
+ "@defra/forms-model": "^3.0.622",
74
74
  "@defra/hapi-tracing": "^1.29.0",
75
75
  "@defra/interactive-map": "^0.0.4-alpha",
76
76
  "@elastic/ecs-pino-format": "^1.5.0",
@@ -6,14 +6,10 @@
6
6
  <div id="uploadedFilesContainer">
7
7
  <h2 class="govuk-heading-m">Uploaded files</h2>
8
8
  {% if upload.count %}
9
- <p class="govuk-body">{{upload.count}} file{{ "s" if upload.count > 1}} uploaded</p>
9
+ <p class="govuk-body" role="alert">{{upload.count}} file{{ "s" if upload.count > 1}} uploaded</p>
10
10
  <p class="govuk-body">
11
11
  </p>
12
12
 
13
- <div class="govuk-visually-hidden" aria-live="polite" id="statusInformation">
14
- {{upload.count}} file{{ "s" if upload.count > 1}} uploaded
15
- </div>
16
-
17
13
  {% if upload.summaryList.rows | length %}
18
14
  {{ govukSummaryList(upload.summaryList) }}
19
15
  {% endif %}