govuk_publishing_components 35.3.3 → 35.3.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (272) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-core.js +4 -0
  3. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/init-ga4.js +1 -1
  4. data/app/assets/stylesheets/component_guide/application.scss +37 -1
  5. data/app/assets/stylesheets/govuk_publishing_components/components/_metadata.scss +10 -6
  6. data/app/assets/stylesheets/govuk_publishing_components/components/_organisation-logo.scss +2 -2
  7. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_brand-colours.scss +0 -24
  8. data/app/views/govuk_publishing_components/component_guide/example.html.erb +1 -1
  9. data/app/views/govuk_publishing_components/component_guide/preview.html.erb +1 -1
  10. data/app/views/govuk_publishing_components/component_guide/show.html.erb +1 -1
  11. data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +2 -2
  12. data/app/views/govuk_publishing_components/components/_metadata.html.erb +1 -1
  13. data/app/views/govuk_publishing_components/components/_related_navigation.html.erb +3 -1
  14. data/app/views/govuk_publishing_components/components/_share_links.html.erb +6 -2
  15. data/app/views/govuk_publishing_components/components/_step_by_step_nav_related.html.erb +1 -1
  16. data/app/views/govuk_publishing_components/components/docs/metadata.yml +1 -3
  17. data/app/views/govuk_publishing_components/components/docs/organisation_logo.yml +5 -5
  18. data/app/views/govuk_publishing_components/components/docs/step_by_step_nav_related.yml +1 -0
  19. data/app/views/govuk_publishing_components/components/related_navigation/_section.html.erb +1 -1
  20. data/app/views/layouts/govuk_publishing_components/application.html.erb +1 -0
  21. data/config/locales/en.yml +2 -2
  22. data/lib/govuk_publishing_components/app_helpers/asset_helper.rb +4 -0
  23. data/lib/govuk_publishing_components/presenters/breadcrumbs_helper.rb +1 -1
  24. data/lib/govuk_publishing_components/version.rb +1 -1
  25. data/node_modules/axe-core/axe.d.ts +77 -6
  26. data/node_modules/axe-core/axe.js +955 -600
  27. data/node_modules/axe-core/axe.min.js +2 -2
  28. data/node_modules/axe-core/locales/_template.json +6 -6
  29. data/node_modules/axe-core/locales/ja.json +91 -11
  30. data/node_modules/axe-core/package.json +5 -5
  31. data/node_modules/axe-core/sri-history.json +4 -0
  32. data/node_modules/govuk-frontend/README.md +4 -5
  33. data/node_modules/govuk-frontend/govuk/all-ie8.scss +8 -0
  34. data/node_modules/govuk-frontend/govuk/all.js +738 -258
  35. data/node_modules/govuk-frontend/govuk/all.js.map +1 -1
  36. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js +11 -7
  37. data/node_modules/govuk-frontend/govuk/common/closest-attribute-value.js.map +1 -1
  38. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js +17 -0
  39. data/node_modules/govuk-frontend/govuk/common/govuk-frontend-version.js.map +1 -0
  40. data/node_modules/govuk-frontend/govuk/common/index.js +16 -4
  41. data/node_modules/govuk-frontend/govuk/common/index.js.map +1 -1
  42. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js +20 -10
  43. data/node_modules/govuk-frontend/govuk/common/normalise-dataset.js.map +1 -1
  44. data/node_modules/govuk-frontend/govuk/common.js +16 -4
  45. data/node_modules/govuk-frontend/govuk/common.js.map +1 -1
  46. data/node_modules/govuk-frontend/govuk/components/accordion/_index.scss +3 -3
  47. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js +234 -86
  48. data/node_modules/govuk-frontend/govuk/components/accordion/accordion.js.map +1 -1
  49. data/node_modules/govuk-frontend/govuk/components/accordion/fixtures.json +32 -13
  50. data/node_modules/govuk-frontend/govuk/components/accordion/macro-options.json +8 -2
  51. data/node_modules/govuk-frontend/govuk/components/accordion/template.njk +1 -0
  52. data/node_modules/govuk-frontend/govuk/components/back-link/_index.scss +1 -1
  53. data/node_modules/govuk-frontend/govuk/components/back-link/fixtures.json +1 -1
  54. data/node_modules/govuk-frontend/govuk/components/back-link/macro-options.json +1 -1
  55. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/_index.scss +1 -1
  56. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/fixtures.json +12 -12
  57. data/node_modules/govuk-frontend/govuk/components/breadcrumbs/macro-options.json +1 -1
  58. data/node_modules/govuk-frontend/govuk/components/button/_index.scss +8 -6
  59. data/node_modules/govuk-frontend/govuk/components/button/button.js +54 -19
  60. data/node_modules/govuk-frontend/govuk/components/button/button.js.map +1 -1
  61. data/node_modules/govuk-frontend/govuk/components/button/fixtures.json +11 -1
  62. data/node_modules/govuk-frontend/govuk/components/button/macro-options.json +7 -1
  63. data/node_modules/govuk-frontend/govuk/components/button/template.njk +1 -1
  64. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js +170 -76
  65. data/node_modules/govuk-frontend/govuk/components/character-count/character-count.js.map +1 -1
  66. data/node_modules/govuk-frontend/govuk/components/character-count/fixtures.json +24 -24
  67. data/node_modules/govuk-frontend/govuk/components/character-count/macro-options.json +3 -3
  68. data/node_modules/govuk-frontend/govuk/components/checkboxes/_index.scss +6 -6
  69. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js +75 -24
  70. data/node_modules/govuk-frontend/govuk/components/checkboxes/checkboxes.js.map +1 -1
  71. data/node_modules/govuk-frontend/govuk/components/checkboxes/fixtures.json +47 -47
  72. data/node_modules/govuk-frontend/govuk/components/checkboxes/macro-options.json +1 -1
  73. data/node_modules/govuk-frontend/govuk/components/checkboxes/template.njk +3 -3
  74. data/node_modules/govuk-frontend/govuk/components/cookie-banner/fixtures.json +24 -24
  75. data/node_modules/govuk-frontend/govuk/components/cookie-banner/macro-options.json +1 -1
  76. data/node_modules/govuk-frontend/govuk/components/date-input/fixtures.json +26 -26
  77. data/node_modules/govuk-frontend/govuk/components/date-input/macro-options.json +1 -1
  78. data/node_modules/govuk-frontend/govuk/components/date-input/template.njk +1 -1
  79. data/node_modules/govuk-frontend/govuk/components/details/details.js +39 -13
  80. data/node_modules/govuk-frontend/govuk/components/details/details.js.map +1 -1
  81. data/node_modules/govuk-frontend/govuk/components/details/fixtures.json +1 -1
  82. data/node_modules/govuk-frontend/govuk/components/details/macro-options.json +1 -1
  83. data/node_modules/govuk-frontend/govuk/components/error-message/fixtures.json +10 -10
  84. data/node_modules/govuk-frontend/govuk/components/error-message/macro-options.json +1 -1
  85. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js +67 -27
  86. data/node_modules/govuk-frontend/govuk/components/error-summary/error-summary.js.map +1 -1
  87. data/node_modules/govuk-frontend/govuk/components/error-summary/fixtures.json +19 -19
  88. data/node_modules/govuk-frontend/govuk/components/error-summary/macro-options.json +1 -1
  89. data/node_modules/govuk-frontend/govuk/components/fieldset/fixtures.json +19 -19
  90. data/node_modules/govuk-frontend/govuk/components/fieldset/macro-options.json +1 -1
  91. data/node_modules/govuk-frontend/govuk/components/file-upload/_index.scss +6 -1
  92. data/node_modules/govuk-frontend/govuk/components/file-upload/fixtures.json +14 -14
  93. data/node_modules/govuk-frontend/govuk/components/file-upload/macro-options.json +7 -1
  94. data/node_modules/govuk-frontend/govuk/components/file-upload/template.njk +2 -1
  95. data/node_modules/govuk-frontend/govuk/components/footer/_index.scss +0 -7
  96. data/node_modules/govuk-frontend/govuk/components/footer/fixtures.json +24 -24
  97. data/node_modules/govuk-frontend/govuk/components/footer/macro-options.json +1 -1
  98. data/node_modules/govuk-frontend/govuk/components/header/fixtures.json +22 -22
  99. data/node_modules/govuk-frontend/govuk/components/header/header.js +46 -14
  100. data/node_modules/govuk-frontend/govuk/components/header/header.js.map +1 -1
  101. data/node_modules/govuk-frontend/govuk/components/header/macro-options.json +1 -1
  102. data/node_modules/govuk-frontend/govuk/components/header/template.njk +1 -1
  103. data/node_modules/govuk-frontend/govuk/components/hint/fixtures.json +1 -1
  104. data/node_modules/govuk-frontend/govuk/components/hint/macro-options.json +1 -1
  105. data/node_modules/govuk-frontend/govuk/components/input/_index.scss +15 -3
  106. data/node_modules/govuk-frontend/govuk/components/input/fixtures.json +54 -41
  107. data/node_modules/govuk-frontend/govuk/components/input/macro-options.json +7 -1
  108. data/node_modules/govuk-frontend/govuk/components/input/template.njk +2 -1
  109. data/node_modules/govuk-frontend/govuk/components/inset-text/fixtures.json +1 -1
  110. data/node_modules/govuk-frontend/govuk/components/inset-text/macro-options.json +1 -1
  111. data/node_modules/govuk-frontend/govuk/components/label/fixtures.json +6 -6
  112. data/node_modules/govuk-frontend/govuk/components/label/macro-options.json +1 -1
  113. data/node_modules/govuk-frontend/govuk/components/notification-banner/fixtures.json +1 -1
  114. data/node_modules/govuk-frontend/govuk/components/notification-banner/macro-options.json +1 -1
  115. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js +49 -22
  116. data/node_modules/govuk-frontend/govuk/components/notification-banner/notification-banner.js.map +1 -1
  117. data/node_modules/govuk-frontend/govuk/components/pagination/fixtures.json +16 -16
  118. data/node_modules/govuk-frontend/govuk/components/pagination/macro-options.json +1 -1
  119. data/node_modules/govuk-frontend/govuk/components/panel/fixtures.json +10 -10
  120. data/node_modules/govuk-frontend/govuk/components/panel/macro-options.json +1 -1
  121. data/node_modules/govuk-frontend/govuk/components/phase-banner/fixtures.json +1 -1
  122. data/node_modules/govuk-frontend/govuk/components/phase-banner/macro-options.json +1 -1
  123. data/node_modules/govuk-frontend/govuk/components/radios/_index.scss +5 -5
  124. data/node_modules/govuk-frontend/govuk/components/radios/fixtures.json +46 -46
  125. data/node_modules/govuk-frontend/govuk/components/radios/macro-options.json +1 -1
  126. data/node_modules/govuk-frontend/govuk/components/radios/radios.js +65 -22
  127. data/node_modules/govuk-frontend/govuk/components/radios/radios.js.map +1 -1
  128. data/node_modules/govuk-frontend/govuk/components/radios/template.njk +2 -2
  129. data/node_modules/govuk-frontend/govuk/components/select/_index.scss +7 -1
  130. data/node_modules/govuk-frontend/govuk/components/select/fixtures.json +19 -20
  131. data/node_modules/govuk-frontend/govuk/components/select/macro-options.json +7 -1
  132. data/node_modules/govuk-frontend/govuk/components/select/template.njk +5 -2
  133. data/node_modules/govuk-frontend/govuk/components/skip-link/fixtures.json +1 -1
  134. data/node_modules/govuk-frontend/govuk/components/skip-link/macro-options.json +1 -1
  135. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js +41 -13
  136. data/node_modules/govuk-frontend/govuk/components/skip-link/skip-link.js.map +1 -1
  137. data/node_modules/govuk-frontend/govuk/components/summary-list/fixtures.json +34 -34
  138. data/node_modules/govuk-frontend/govuk/components/summary-list/macro-options.json +1 -1
  139. data/node_modules/govuk-frontend/govuk/components/table/fixtures.json +21 -21
  140. data/node_modules/govuk-frontend/govuk/components/table/macro-options.json +1 -1
  141. data/node_modules/govuk-frontend/govuk/components/tabs/fixtures.json +15 -15
  142. data/node_modules/govuk-frontend/govuk/components/tabs/macro-options.json +1 -1
  143. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js +178 -60
  144. data/node_modules/govuk-frontend/govuk/components/tabs/tabs.js.map +1 -1
  145. data/node_modules/govuk-frontend/govuk/components/tabs/template.njk +1 -1
  146. data/node_modules/govuk-frontend/govuk/components/tag/_index.scss +18 -18
  147. data/node_modules/govuk-frontend/govuk/components/tag/fixtures.json +1 -1
  148. data/node_modules/govuk-frontend/govuk/components/tag/macro-options.json +1 -1
  149. data/node_modules/govuk-frontend/govuk/components/textarea/_index.scss +8 -1
  150. data/node_modules/govuk-frontend/govuk/components/textarea/fixtures.json +18 -18
  151. data/node_modules/govuk-frontend/govuk/components/textarea/macro-options.json +7 -1
  152. data/node_modules/govuk-frontend/govuk/components/textarea/template.njk +2 -1
  153. data/node_modules/govuk-frontend/govuk/components/warning-text/fixtures.json +9 -5
  154. data/node_modules/govuk-frontend/govuk/components/warning-text/macro-options.json +3 -3
  155. data/node_modules/govuk-frontend/govuk/components/warning-text/template.njk +1 -1
  156. data/node_modules/govuk-frontend/govuk/core/_all.scss +1 -0
  157. data/node_modules/govuk-frontend/govuk/core/_govuk-frontend-version.scss +5 -0
  158. data/node_modules/govuk-frontend/govuk/helpers/_colour.scss +5 -2
  159. data/node_modules/govuk-frontend/govuk/helpers/_focused.scss +1 -1
  160. data/node_modules/govuk-frontend/govuk/helpers/_font-faces.scss +1 -1
  161. data/node_modules/govuk-frontend/govuk/i18n.js +38 -30
  162. data/node_modules/govuk-frontend/govuk/i18n.js.map +1 -1
  163. data/node_modules/govuk-frontend/govuk/macros/i18n.njk +12 -11
  164. data/node_modules/govuk-frontend/govuk/objects/_width-container.scss +1 -1
  165. data/node_modules/govuk-frontend/govuk/settings/_colours-organisations.scss +4 -0
  166. data/node_modules/govuk-frontend/govuk/settings/_ie8.scss +16 -0
  167. data/node_modules/govuk-frontend/govuk/settings/_links.scss +5 -1
  168. data/node_modules/govuk-frontend/govuk/tools/_ie8.scss +38 -2
  169. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js +2 -1
  170. data/node_modules/govuk-frontend/govuk/vendor/polyfills/DOMTokenList.js.map +1 -1
  171. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js +2 -1
  172. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Date/now.js.map +1 -1
  173. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js +2 -1
  174. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Document.js.map +1 -1
  175. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js +10 -3
  176. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/classList.js.map +1 -1
  177. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js +4 -1
  178. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/closest.js.map +1 -1
  179. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js +13 -7
  180. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/dataset.js.map +1 -1
  181. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js +2 -1
  182. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/matches.js.map +1 -1
  183. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js +8 -2
  184. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/nextElementSibling.js.map +1 -1
  185. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js +8 -2
  186. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element/prototype/previousElementSibling.js.map +1 -1
  187. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js +4 -1
  188. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Element.js.map +1 -1
  189. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js +10 -3
  190. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Event.js.map +1 -1
  191. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js +4 -1
  192. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Function/prototype/bind.js.map +1 -1
  193. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js +2 -1
  194. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Object/defineProperty.js.map +1 -1
  195. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js +3 -2
  196. data/node_modules/govuk-frontend/govuk/vendor/polyfills/String/prototype/trim.js.map +1 -1
  197. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js +2 -1
  198. data/node_modules/govuk-frontend/govuk/vendor/polyfills/Window.js.map +1 -1
  199. data/node_modules/govuk-frontend/govuk-esm/all.mjs +81 -60
  200. data/node_modules/govuk-frontend/govuk-esm/all.mjs.map +1 -0
  201. data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs +12 -8
  202. data/node_modules/govuk-frontend/govuk-esm/common/closest-attribute-value.mjs.map +1 -0
  203. data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs +9 -0
  204. data/node_modules/govuk-frontend/govuk-esm/common/govuk-frontend-version.mjs.map +1 -0
  205. data/node_modules/govuk-frontend/govuk-esm/common/index.mjs +44 -29
  206. data/node_modules/govuk-frontend/govuk-esm/common/index.mjs.map +1 -0
  207. data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs +15 -9
  208. data/node_modules/govuk-frontend/govuk-esm/common/normalise-dataset.mjs.map +1 -0
  209. data/node_modules/govuk-frontend/govuk-esm/common.mjs +3 -5
  210. data/node_modules/govuk-frontend/govuk-esm/common.mjs.map +1 -0
  211. data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs +319 -211
  212. data/node_modules/govuk-frontend/govuk-esm/components/accordion/accordion.mjs.map +1 -0
  213. data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs +47 -30
  214. data/node_modules/govuk-frontend/govuk-esm/components/button/button.mjs.map +1 -0
  215. data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs +169 -115
  216. data/node_modules/govuk-frontend/govuk-esm/components/character-count/character-count.mjs.map +1 -0
  217. data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs +88 -51
  218. data/node_modules/govuk-frontend/govuk-esm/components/checkboxes/checkboxes.mjs.map +1 -0
  219. data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs +64 -54
  220. data/node_modules/govuk-frontend/govuk-esm/components/details/details.mjs.map +1 -0
  221. data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs +69 -50
  222. data/node_modules/govuk-frontend/govuk-esm/components/error-summary/error-summary.mjs.map +1 -0
  223. data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs +59 -35
  224. data/node_modules/govuk-frontend/govuk-esm/components/header/header.mjs.map +1 -0
  225. data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs +36 -25
  226. data/node_modules/govuk-frontend/govuk-esm/components/notification-banner/notification-banner.mjs.map +1 -0
  227. data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs +67 -38
  228. data/node_modules/govuk-frontend/govuk-esm/components/radios/radios.mjs.map +1 -0
  229. data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs +49 -32
  230. data/node_modules/govuk-frontend/govuk-esm/components/skip-link/skip-link.mjs.map +1 -0
  231. data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs +263 -163
  232. data/node_modules/govuk-frontend/govuk-esm/components/tabs/tabs.mjs.map +1 -0
  233. data/node_modules/govuk-frontend/govuk-esm/i18n.mjs +68 -57
  234. data/node_modules/govuk-frontend/govuk-esm/i18n.mjs.map +1 -0
  235. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs +5 -3
  236. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/DOMTokenList.mjs.map +1 -0
  237. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs +4 -2
  238. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Date/now.mjs.map +1 -0
  239. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs +4 -2
  240. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Document.mjs.map +1 -0
  241. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs +7 -4
  242. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/classList.mjs.map +1 -0
  243. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs +5 -2
  244. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/closest.mjs.map +1 -0
  245. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs +13 -10
  246. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/dataset.mjs.map +1 -0
  247. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs +4 -2
  248. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/matches.mjs.map +1 -0
  249. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs +6 -3
  250. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/nextElementSibling.mjs.map +1 -0
  251. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs +6 -3
  252. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element/prototype/previousElementSibling.mjs.map +1 -0
  253. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs +5 -2
  254. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Element.mjs.map +1 -0
  255. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs +7 -4
  256. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Event.mjs.map +1 -0
  257. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs +5 -2
  258. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Function/prototype/bind.mjs.map +1 -0
  259. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs +4 -2
  260. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Object/defineProperty.mjs.map +1 -0
  261. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs +5 -3
  262. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/String/prototype/trim.mjs.map +1 -0
  263. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs +4 -2
  264. data/node_modules/govuk-frontend/govuk-esm/vendor/polyfills/Window.mjs.map +1 -0
  265. data/node_modules/govuk-frontend/govuk-prototype-kit/init.js +1 -0
  266. data/node_modules/govuk-frontend/govuk-prototype-kit.config.json +2 -1
  267. data/node_modules/govuk-frontend/package.json +3 -2
  268. metadata +44 -7
  269. /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px.png → dbt_crest_13px.png} +0 -0
  270. /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_13px_x2.png → dbt_crest_13px_x2.png} +0 -0
  271. /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px.png → dbt_crest_18px.png} +0 -0
  272. /data/app/assets/images/govuk_publishing_components/crests/{dit_crest_18px_x2.png → dbt_crest_18px_x2.png} +0 -0
@@ -114,12 +114,12 @@
114
114
  "help": "Page must have means to bypass repeated blocks"
115
115
  },
116
116
  "color-contrast-enhanced": {
117
- "description": "Ensures the contrast between foreground and background colors meets WCAG 2 AAA contrast ratio thresholds",
118
- "help": "Elements must have sufficient color contrast"
117
+ "description": "Ensures the contrast between foreground and background colors meets WCAG 2 AAA enhanced contrast ratio thresholds",
118
+ "help": "Elements must meet enhanced color contrast ratio thresholds"
119
119
  },
120
120
  "color-contrast": {
121
- "description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA contrast ratio thresholds",
122
- "help": "Elements must have sufficient color contrast"
121
+ "description": "Ensures the contrast between foreground and background colors meets WCAG 2 AA minimum contrast ratio thresholds",
122
+ "help": "Elements must meet minimum color contrast ratio thresholds"
123
123
  },
124
124
  "css-orientation-lock": {
125
125
  "description": "Ensures content is not locked to any specific display orientation, and the content is operable in all display orientations",
@@ -427,7 +427,7 @@
427
427
  },
428
428
  "aria-busy": {
429
429
  "pass": "Element has an aria-busy attribute",
430
- "fail": "Element has no aria-busy=\"true\" attribute"
430
+ "fail": "Element uses aria-busy=\"true\" while showing a loader"
431
431
  },
432
432
  "aria-errormessage": {
433
433
  "pass": "aria-errormessage exists and references elements visible to screen readers that use a supported aria-errormessage technique",
@@ -477,7 +477,7 @@
477
477
  "fail": {
478
478
  "singular": "Required ARIA child role not present: ${data.values}",
479
479
  "plural": "Required ARIA children role not present: ${data.values}",
480
- "unallowed": "Element has children which are not allowed (see related nodes)"
480
+ "unallowed": "Element has children which are not allowed: ${data.values}"
481
481
  },
482
482
  "incomplete": {
483
483
  "singular": "Expecting ARIA child role to be added: ${data.values}",
@@ -289,6 +289,10 @@
289
289
  "description": "<marquee>要素が使用されていないことを確認します",
290
290
  "help": "<marquee>要素は非推奨のため、使用してはなりません"
291
291
  },
292
+ "meta-refresh-no-exceptions": {
293
+ "description": "<meta http-equiv=\"refresh\">が使用されていないことを確認します",
294
+ "help": "制限時間のある更新が存在してはなりません"
295
+ },
292
296
  "meta-refresh": {
293
297
  "description": "<meta http-equiv=\"refresh\">が使用されていないことを確認します",
294
298
  "help": "制限時間のある更新が存在してはなりません"
@@ -369,6 +373,10 @@
369
373
  "description": "キャプション付きのテーブルが<caption>要素を用いていることを確認します",
370
374
  "help": "データテーブルにキャプションをつけるためにデータまたはヘッダーセルを用いるべきではありません"
371
375
  },
376
+ "target-size": {
377
+ "description": "タッチターゲットのサイズとスペースが十分にあることを確認します",
378
+ "help": "すべてのタッチターゲットは24pxの大きさか、十分なスペースが必要です"
379
+ },
372
380
  "td-has-header": {
373
381
  "description": "大きなテーブルの空ではないデータセルに1つかそれ以上のテーブルヘッダーが存在することを確認します",
374
382
  "help": "3×3より大きいテーブルの空ではないtd要素はテーブルヘッダーと関連づいていなければなりません"
@@ -403,7 +411,8 @@
403
411
  "fail": {
404
412
  "singular": "ARIA属性は許可されていません: ${data.values}",
405
413
  "plural": "ARIA属性は許可されていません: ${data.values}"
406
- }
414
+ },
415
+ "incomplete": "次の要素のARIA属性が無視されても問題ないことを確認します: ${data.values}"
407
416
  },
408
417
  "aria-allowed-role": {
409
418
  "pass": "ARIAロールは指定された要素に対して許可されています",
@@ -416,6 +425,10 @@
416
425
  "plural": "ARIA ロール ${data.values} この要素に許可されていないため、要素が表示されたときはARIAロールを削除する必要があります"
417
426
  }
418
427
  },
428
+ "aria-busy": {
429
+ "pass": "要素にはaria-busy属性が存在しています",
430
+ "fail": "要素に aria-busy=\"true\" が設定されていません"
431
+ },
419
432
  "aria-errormessage": {
420
433
  "pass": "サポートされているaria-errormessageの技術を使用しています",
421
434
  "fail": {
@@ -439,8 +452,18 @@
439
452
  },
440
453
  "aria-prohibited-attr": {
441
454
  "pass": "ARIA属性は使用できます",
442
- "fail": "ARIA属性は使用できません: ${data.values}",
443
- "incomplete": "要素でのARIA属性のサポートが不充分なため、代わりにコンテンツのテキストが用いられます: ${data.values}"
455
+ "fail": {
456
+ "hasRolePlural": "${data.prohibited} 属性は \"${data.role}\" ロールでは使用できません",
457
+ "hasRoleSingular": "${data.prohibited} 属性は \"${data.role}\" ロールでは使用できません",
458
+ "noRolePlural": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では使用できません",
459
+ "noRoleSingular": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では使用できません"
460
+ },
461
+ "incomplete": {
462
+ "hasRoleSingular": "${data.prohibited} 属性はロール \"${data.role}\" では十分にサポートされていません",
463
+ "hasRolePlural": "${data.prohibited} 属性はロール \"${data.role}\" では十分にサポートされていません",
464
+ "noRoleSingular": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では十分にサポートされていません",
465
+ "noRolePlural": "${data.prohibited} 属性は、有効なロール属性のない ${data.nodeName} では十分にサポートされていません"
466
+ }
444
467
  },
445
468
  "aria-required-attr": {
446
469
  "pass": "すべての必須のARIA属性が存在しています",
@@ -453,7 +476,8 @@
453
476
  "pass": "必須のARIA子ロールが存在しています",
454
477
  "fail": {
455
478
  "singular": "必須のARIA子ロールが提供されていません: ${data.values}",
456
- "plural": "必須のARIA子ロールが提供されていません: ${data.values}"
479
+ "plural": "必須のARIA子ロールが提供されていません: ${data.values}",
480
+ "unallowed": "要素には許可されていないARIA子ロールがあります (関連ノードを参照)"
457
481
  },
458
482
  "incomplete": {
459
483
  "singular": "ARIAの子ロールを追加することが求められます: ${data.values}",
@@ -484,8 +508,10 @@
484
508
  },
485
509
  "incomplete": {
486
510
  "noId": "ARIA属性で指定されている要素のIDがページ上に存在しません: ${data.needsReview}",
487
- "ariaCurrent": "ARIA 属性値が無効であるため、\"aria-current=true\" として扱われます: ${data.needsReview}",
488
- "idrefs": "ARIA属性で指定されている要素のIDがページ上に存在するかどうか判定できません: ${data.needsReview}"
511
+ "noIdShadow": "ARIA属性で指定されている要素のIDがページ上に存在しないか、別のshadow DOMツリーの小要素です: ${data.needsReview}",
512
+ "ariaCurrent": "ARIA属性値が無効であるため、\"aria-current=true\" として扱われます: ${data.needsReview}",
513
+ "idrefs": "ARIA属性で指定されている要素のIDがページ上に存在するかどうか判定できません: ${data.needsReview}",
514
+ "empty": "ARIA属性値が空のときは無視されます: ${data.needsReview}"
489
515
  }
490
516
  },
491
517
  "aria-valid-attr": {
@@ -497,7 +523,7 @@
497
523
  },
498
524
  "deprecatedrole": {
499
525
  "pass": "推奨されていないARIAロールではありません",
500
- "fail": "非推奨のロールが使用されています: ${data.values}"
526
+ "fail": "非推奨のロールが使用されています: ${data}"
501
527
  },
502
528
  "fallbackrole": {
503
529
  "pass": "1つのロール値のみ使用されています",
@@ -562,7 +588,10 @@
562
588
  }
563
589
  },
564
590
  "color-contrast": {
565
- "pass": "要素には${data.contrastRatio}の十分なコントラスト比があります",
591
+ "pass": {
592
+ "default": "要素には${data.contrastRatio}の十分なコントラスト比があります",
593
+ "hidden": "要素は非表示です"
594
+ },
566
595
  "fail": {
567
596
  "default": "要素のコントラスト比が不十分です ${data.contrastRatio}(前景色: ${data.fgColor}、背景色: ${data.bgColor}、フォントサイズ: ${data.fontSize}、フォントの太さ: ${data.fontWeight})。コントラスト比${data.expectedContrastRatio}を必要とします",
568
597
  "fgOnShadowColor": "要素の前景色と影(text-shadow)の色のコントラスト比が不十分です ${data.contrastRatio}(前景色: ${data.fgColor}、影(text-shadow)の色: ${data.shadowColor}、フォントサイズ: ${data.fontSize}、フォントの太さ: ${data.fontWeight})。コントラスト比${data.expectedContrastRatio}を必要とします",
@@ -584,9 +613,16 @@
584
613
  "pseudoContent": "擬似要素のため、要素の背景色を判定することができませんでした"
585
614
  }
586
615
  },
616
+ "link-in-text-block-style": {
617
+ "pass": "リンクは視覚的なスタイル設定によって周囲のテキストと区別できます",
618
+ "fail": "リンクには、周囲のテキストと区別するためのスタイル (下線など) がありません"
619
+ },
587
620
  "link-in-text-block": {
588
621
  "pass": "リンクは色以外の方法で周囲のテキストと区別できます",
589
- "fail": "リンクは色以外の方法で周囲のテキストと区別させる必要があります",
622
+ "fail": {
623
+ "fgContrast": "このリンクは、周囲のテキストとの${data.contrastRatio}:1の色のコントラストが不十分です。(最小コントラストは ${data.requiredContrastRatio}:1、リンクテキスト: ${data.nodeColor}、周囲のテキスト: ${data.parentColor})",
624
+ "bgContrast": "リンクの背景の色コントラストが ${data.contrastRatio} で十分ではありません (最小コントラストは ${data.requiredContrastRatio}:1、リンク背景色: ${data.nodeBackgroundColor}、周囲の背景色: ${data.parentBackgroundColor})"
625
+ },
590
626
  "incomplete": {
591
627
  "default": "コントラスト比を判定できません",
592
628
  "bgContrast": "要素のコントラスト比を判定できません。明確なホバー/フォーカススタイルを確認します",
@@ -614,6 +650,7 @@
614
650
  },
615
651
  "focusable-disabled": {
616
652
  "pass": "要素内にフォーカス不可能な要素は含まれていません",
653
+ "incomplete": "フォーカス可能な要素がすぐにフォーカスインジケータを動かすかどうか確認します",
617
654
  "fail": "フォーカス可能なコンテンツは無効にするか、DOMから削除するべきです"
618
655
  },
619
656
  "focusable-element": {
@@ -631,6 +668,7 @@
631
668
  },
632
669
  "focusable-not-tabbable": {
633
670
  "pass": "要素内にフォーカス不可能な要素は含まれていません",
671
+ "incomplete": "フォーカス可能な要素がすぐにフォーカスインジケータを動かすかどうか確認します",
634
672
  "fail": "フォーカス可能なコンテンツは tabindex='-1' を指定するか、DOMから削除するべきです"
635
673
  },
636
674
  "frame-focusable-content": {
@@ -785,6 +823,30 @@
785
823
  "pass": "<meta>タグはモバイルデバイスでの拡大を無効にしません",
786
824
  "fail": "<meta>タグの${data}がモバイルデバイスでの拡大を無効にします"
787
825
  },
826
+ "target-offset": {
827
+ "pass": "ターゲットに最も近い隣接要素からのオフセットが十分にあリます (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)",
828
+ "fail": "ターゲットの最も近い隣接要素からのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)",
829
+ "incomplete": {
830
+ "default": "tabindexが負の要素において、最も近い隣接要素からのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)。これがターゲットである要素か確認します",
831
+ "nonTabbableNeighbor": "ターゲットのtabindexが負の隣接ノードからのオフセットが不十分です (${data.closestOffset} px は少なくとも ${data.minOffset} px でなければなりません)。隣接要素がターゲットか確認します"
832
+ }
833
+ },
834
+ "target-size": {
835
+ "pass": {
836
+ "default": "コントロールには十分なサイズがあります (${data.width} px x ${data.height} pxであり、${data.minSize} px x ${data.minSize} px 以上です)",
837
+ "obscured": "コントロールは完全に隠されていてクリックできないため無視されます"
838
+ },
839
+ "fail": {
840
+ "default": "ターゲットのサイズが不十分です (${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)",
841
+ "partiallyObscured": "ターゲットは部分的に隠れているためサイズが不十分です (最小スペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)"
842
+ },
843
+ "incomplete": {
844
+ "default": "tabindex が負の要素のサイズが不十分です (${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。これがターゲットの要素であることを確認します",
845
+ "contentOverflow": "コンテンツがオーバーフローしたため、要素のサイズを正確に決定できませんでした",
846
+ "partiallyObscured": "tabindex が負の要素は、部分的に隠れているためサイズが不十分です (最小のスペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。これがターゲットの要素であることを確認します",
847
+ "partiallyObscuredNonTabbable": "ターゲットのサイズが不十分です。これは tabindex が負の隣接オブジェクトによって部分的に隠されているためです (最小のスペースは ${data.width} px x ${data.height} pxですが、少なくとも ${data.minSize} px x ${data.minSize} px でなければなりません)。隣接要素がターゲットの要素であることを確認します"
848
+ }
849
+ },
788
850
  "header-present": {
789
851
  "pass": "ページにheaderが存在しています",
790
852
  "fail": "ページにheaderが存在していません"
@@ -806,6 +868,10 @@
806
868
  "pass": "ページにランドマーク領域が存在しています",
807
869
  "fail": "ページにランドマーク領域が存在していません"
808
870
  },
871
+ "meta-refresh-no-exceptions": {
872
+ "pass": "<meta>タグはすぐにページを更新しません",
873
+ "fail": "<meta>タグは時限によるページの更新を強制します"
874
+ },
809
875
  "meta-refresh": {
810
876
  "pass": "<meta>タグはすぐにページを更新しません",
811
877
  "fail": "<meta>タグは時限によるページの更新を強制します"
@@ -878,6 +944,18 @@
878
944
  "fail": "要素にスクリーン・リーダーが認識可能なテキストが存在していません",
879
945
  "incomplete": "要素に子ノードがあるか判定できません"
880
946
  },
947
+ "important-letter-spacing": {
948
+ "pass": "文字の間隔(letter-spacing)の属性が '!important' に設定されていない、または最低条件を満たしています",
949
+ "fail": "文字の間隔(letter-spacing)の属性には '!important' を設定しない、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
950
+ },
951
+ "important-line-height": {
952
+ "pass": "行間(line-height)に '!important' が設定されていません、または最低条件を満たしています",
953
+ "fail": "行間(line-height)には '!important' を使用しないでください、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
954
+ },
955
+ "important-word-spacing": {
956
+ "pass": "単語の間隔(word-spacing)に '!important' が設定されていません、または最低条件を満たしています",
957
+ "fail": "単語の間隔(word-spacing)には '!important' を使用しないでください、または ${data.minValue} em以上(現在は ${data.value} em)にしてください"
958
+ },
881
959
  "is-on-screen": {
882
960
  "pass": "要素が表示されていません",
883
961
  "fail": "要素が表示されています"
@@ -923,7 +1001,8 @@
923
1001
  "default": "要素のデフォルトのセマンティクスはrole=\"none\"またはrole=\"presentation\"で上書きされませんでした",
924
1002
  "globalAria": "要素にはARIAのグローバル属性が指定されているため、role=\"none\"またはrole=\"presentation\"にはなりません",
925
1003
  "focusable": "要素がフォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません",
926
- "both": "要素にはARIAのグローバル属性が指定されており、フォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません"
1004
+ "both": "要素にはARIAのグローバル属性が指定されており、フォーカス可能なため、role=\"none\"またはrole=\"presentation\"にはなりません",
1005
+ "iframe": "${data.nodeName} 要素にプレゼンテーション用のroleを持つ 'title' 属性を使用すると、スクリーンリーダー間で動作が一貫しません"
927
1006
  }
928
1007
  },
929
1008
  "role-none": {
@@ -952,7 +1031,8 @@
952
1031
  },
953
1032
  "same-caption-summary": {
954
1033
  "pass": "summary属性および<caption>のコンテンツは重複していません",
955
- "fail": "summary属性および<caption>のコンテンツが同一です"
1034
+ "fail": "summary属性および<caption>のコンテンツが同一です",
1035
+ "incomplete": "<table>にキャプションがあるかどうかを確認できません"
956
1036
  },
957
1037
  "scope-value": {
958
1038
  "pass": "scope属性は正しく使用されています",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "axe-core",
3
3
  "description": "Accessibility engine for automated Web UI testing",
4
- "version": "4.6.3",
4
+ "version": "4.7.0",
5
5
  "license": "MPL-2.0",
6
6
  "engines": {
7
7
  "node": ">=4"
@@ -83,14 +83,14 @@
83
83
  "test:unit:integration": "npm run test:unit -- testDirs=integration",
84
84
  "test:unit:virtual-rules": "npm run test:unit -- testDirs=virtual-rules",
85
85
  "integration": "node test/integration/full/test-webdriver.js",
86
- "integration:apg": "mocha test/aria-practices/*.spec.js",
86
+ "integration:apg": "mocha --fail-zero test/aria-practices/*.spec.js",
87
87
  "integration:chrome": "npm run integration -- browser=Chrome",
88
88
  "integration:firefox": "npm run integration -- browser=Firefox",
89
89
  "test:integration": "npm run test:integration:chrome",
90
90
  "test:integration:chrome": "start-server-and-test 9876 integration:chrome",
91
91
  "test:integration:firefox": "start-server-and-test 9876 integration:firefox",
92
92
  "test:examples": "node ./doc/examples/test-examples",
93
- "test:act": "mocha test/act-rules/*.spec.js",
93
+ "test:act": "mocha --fail-zero test/act-rules/*.spec.js",
94
94
  "test:apg": "start-server-and-test 9876 integration:apg",
95
95
  "test:locales": "mocha test/test-locales.js",
96
96
  "test:virtual-rules": "mocha test/test-virtual-rules.js",
@@ -115,7 +115,7 @@
115
115
  "@babel/preset-env": "^7.20.2",
116
116
  "@babel/runtime-corejs3": "^7.20.7",
117
117
  "@deque/dot": "^1.1.5",
118
- "aria-practices": "github:w3c/aria-practices#edbf534",
118
+ "aria-practices": "github:w3c/aria-practices#ce0336bd82d7d3651abcbde86af644197ddbc629",
119
119
  "aria-query": "^5.1.3",
120
120
  "browser-driver-manager": "1.0.4",
121
121
  "chai": "^4.3.7",
@@ -174,7 +174,7 @@
174
174
  "typedarray": "^0.0.7",
175
175
  "typescript": "^4.9.4",
176
176
  "uglify-js": "^3.17.4",
177
- "wcag-act-rules": "github:w3c/wcag-act-rules#9416ea6",
177
+ "wcag-act-rules": "github:w3c/wcag-act-rules#2341a1b",
178
178
  "weakmap-polyfill": "^2.0.4"
179
179
  },
180
180
  "lint-staged": {
@@ -338,5 +338,9 @@
338
338
  "4.6.3": {
339
339
  "axe.js": "sha256-N8N7PwDRFNyzsL80UoXAE5ibkfu/KJ71Ixw0zWYX+yM=",
340
340
  "axe.min.js": "sha256-vOhlk9sgryrpUZOv6801a9uYhuG6Z/NBJmOJb0aAQQQ="
341
+ },
342
+ "4.7.0": {
343
+ "axe.js": "sha256-JxLtVRh3EvdwPhr6ipXNnoN2ugUYvpwIAx4usr5jKcU=",
344
+ "axe.min.js": "sha256-q5YvHv5paIlrWyys5xKDb79XtmXYpiAHFVZcg61Qick="
341
345
  }
342
346
  }
@@ -36,9 +36,9 @@ imports) if you want to override GOV.UK Frontend with your own styles.
36
36
 
37
37
  To import add the below to your Sass file:
38
38
 
39
- ```scss
40
- @import "node_modules/govuk-frontend/govuk/all";
41
- ```
39
+ ```scss
40
+ @import "node_modules/govuk-frontend/govuk/all";
41
+ ```
42
42
 
43
43
  [More details on importing styles](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#css)
44
44
 
@@ -53,6 +53,7 @@ You can include Javascript for all components either by copying the `all.js` fro
53
53
  ```html
54
54
  <script src="<path-to-govuk-frontend-all-file>/all.js"></script>
55
55
  ```
56
+
56
57
  Next you need to initialise the script by adding:
57
58
 
58
59
  ```html
@@ -61,14 +62,12 @@ Next you need to initialise the script by adding:
61
62
 
62
63
  [More details on importing Javascript and advanced options](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#javascript)
63
64
 
64
-
65
65
  ## Importing assets
66
66
 
67
67
  In order to import GOV.UK Frontend images and fonts to your project, you should configure your application to reference or copy the relevant GOV.UK Frontend assets.
68
68
 
69
69
  [More details on importing assets](https://frontend.design-system.service.gov.uk/importing-css-assets-and-javascript/#font-and-image-assets)
70
70
 
71
-
72
71
  ## Getting updates
73
72
 
74
73
  To be notified when there’s a new release, you can either:
@@ -1,3 +1,11 @@
1
+ // Ignore IE8 related warnings whilst we continue to generate IE8 specific
2
+ // stylesheets for the review app or dist versions of GOV.UK Frontend
3
+ $govuk-suppressed-warnings: if(
4
+ variable-exists(govuk-suppressed-warnings),
5
+ append($govuk-suppressed-warnings, "ie8"),
6
+ ("ie8")
7
+ );
8
+
1
9
  // By setting $govuk-is-ie8 to true, we create a version of the stylesheet that
2
10
  // targets IE8 – e.g. conditionally including or excluding styles, and
3
11
  // rasterizing media queries.