hof 20.2.11 → 20.2.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,7 +13,7 @@
13
13
  <span class="govuk-visually-hidden">Error:</span> {{error.message}}
14
14
  </p>
15
15
  {{/error}}
16
- <div class="govuk-date-input">
16
+ <div id="{{key}}" class="govuk-date-input">
17
17
  {{#input-date}}{{key}}{{/input-date}}
18
18
  </div>
19
19
  </fieldset>
@@ -28,7 +28,7 @@
28
28
  value="{{value}}"
29
29
  {{#toggle}} data-toggle="{{toggle}}"{{/toggle}}
30
30
  {{#selected}} checked="checked"{{/selected}}
31
- {{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-item-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-item-hint"{{/hint}}{{/optionHint}}{{/error}}
31
+ {{^error}}{{#optionHint}} aria-describedby="{{key}}-{{value}}-item-hint"{{/optionHint}}{{^optionHint}}{{#hint}} aria-describedby="{{key}}-hint"{{/hint}}{{/optionHint}}{{/error}}
32
32
  {{#error}} aria-describedby="{{key}}-error" aria-invalid="true"{{/error}}
33
33
  >
34
34
  <label class="govuk-label govuk-radios__label" for="{{key}}-{{value}}">
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "20.2.11",
4
+ "version": "20.2.14",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",