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` ); } }