From 36726b1d787e5ffe755cfb459ab18477b197e260 Mon Sep 17 00:00:00 2001 From: Howard Edwards Date: Tue, 6 Feb 2024 16:57:59 -0500 Subject: [PATCH] Infrastructure: Temporarily ignore failing check during link checker while #2907 is being investigated (#2925) --- .link-checker.js | 1 + scripts/link-checker.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.link-checker.js b/.link-checker.js index 4655e412ce..c69f93aae9 100644 --- a/.link-checker.js +++ b/.link-checker.js @@ -25,5 +25,6 @@ module.exports = { ignoreHashesOnExternalPagesMatchingRegex: [ // Some hash links are resolved with JS and are therefore difficult to check algorithmically /^https:\/\/html\.spec\.whatwg\.org\/multipage\//, + 'https://github.com/w3c/aria-practices#code-conformance', // TODO: Remove when #2907 is resolved ], }; diff --git a/scripts/link-checker.js b/scripts/link-checker.js index f8c8649cc0..aee378ff9c 100644 --- a/scripts/link-checker.js +++ b/scripts/link-checker.js @@ -302,7 +302,7 @@ async function checkLinks() { ) { consoleError( `Found broken external link on ${htmlPath}:${lineNumber}:${columnNumber}, ` + - 'hash not found on page' + `hash "#${hash}" not found on page` ); } }