From 506960810a8c4d2a96bc9b6241cffe2ece9a765b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 20 Sep 2023 12:49:25 +0000 Subject: [PATCH 1/2] Bump html-validate from 8.2.0 to 8.4.0 Bumps [html-validate](https://gitlab.com/html-validate/html-validate) from 8.2.0 to 8.4.0. - [Release notes](https://gitlab.com/html-validate/html-validate/tags) - [Changelog](https://gitlab.com/html-validate/html-validate/blob/master/CHANGELOG.md) - [Commits](https://gitlab.com/html-validate/html-validate/compare/v8.2.0...v8.4.0) --- updated-dependencies: - dependency-name: html-validate dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- package-lock.json | 8 ++++---- package.json | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index ca7ed6b97a..df123eba1c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,7 +42,7 @@ "glob": "^10.3.4", "gray-matter": "^4.0.2", "highlight.js": "^11.8.0", - "html-validate": "^8.2.0", + "html-validate": "^8.4.0", "hyperlink": "^5.0.4", "jest": "^29.7.0", "jest-axe": "^8.0.0", @@ -8499,9 +8499,9 @@ } }, "node_modules/html-validate": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/html-validate/-/html-validate-8.2.0.tgz", - "integrity": "sha512-j9RV66lhcaLr6B1+jKixdnCJDX5EiF6VQd3hyDU3uElmbS9dAn2fFWaHRJPaXPix2yckjQ9TfkQyEL0+norIUw==", + "version": "8.4.0", + "resolved": "https://registry.npmjs.org/html-validate/-/html-validate-8.4.0.tgz", + "integrity": "sha512-vHdWfdmopb28vIHHDhGKUJi6nuf7zTw1QBVb5cczEqQegKO1DeWqaTtdzmygVQzCRMbj9eiFVSKcgFoaynU2Qg==", "dev": true, "dependencies": { "@babel/code-frame": "^7.10.0", diff --git a/package.json b/package.json index 6c811ba2f6..412ba4e3ed 100644 --- a/package.json +++ b/package.json @@ -63,7 +63,7 @@ "glob": "^10.3.4", "gray-matter": "^4.0.2", "highlight.js": "^11.8.0", - "html-validate": "^8.2.0", + "html-validate": "^8.4.0", "hyperlink": "^5.0.4", "jest": "^29.7.0", "jest-axe": "^8.0.0", From 4ffdae2e9cb51d155b2fab770b04e68084dbcdd1 Mon Sep 17 00:00:00 2001 From: Colin Rotherham Date: Fri, 22 Sep 2023 13:59:42 +0100 Subject: [PATCH 2/2] Allow implicit type="button" (without attribute) Although Design System buttons were all fixed in /~https://github.com/alphagov/govuk-design-system/pull/3116 we need this line until /~https://github.com/alphagov/govuk-frontend/pull/4113 is released --- .htmlvalidate.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.htmlvalidate.js b/.htmlvalidate.js index 97d51adf9b..f34cc51d2d 100644 --- a/.htmlvalidate.js +++ b/.htmlvalidate.js @@ -22,6 +22,10 @@ module.exports = { // Allow inline styles for testing purposes 'no-inline-style': 'off', + // Allow implicit type="button" (without attribute) until released: + // /~https://github.com/alphagov/govuk-frontend/pull/4113 + 'no-implicit-button-type': 'off', + // Allow for explicit roles on regions that have implict roles // We do this to better support AT with older versions of IE that // have partial support for HTML5 semantic elements