From 5fbca9c723aac11aabea38c9dd759607da024e2d Mon Sep 17 00:00:00 2001 From: ZeroWave022 <36341766+ZeroWave022@users.noreply.github.com> Date: Thu, 7 Nov 2024 16:23:04 +0100 Subject: [PATCH] fix: Ignore label content name mismatch warning The ARIA label is placed correctly, however lighthouse can't find which text it's referring to --- lighthouserc.cjs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lighthouserc.cjs b/lighthouserc.cjs index 5b70a8b..21ca204 100644 --- a/lighthouserc.cjs +++ b/lighthouserc.cjs @@ -69,7 +69,7 @@ const config = { }, }, { - matchingUrlPattern: 'http://.*/en/events', + matchingUrlPattern: 'http://.*/en/events.*', preset: 'lighthouse:recommended', assertions: { 'bf-cache': 'off', @@ -78,6 +78,7 @@ const config = { 'largest-contentful-paint': 'off', 'render-blocking-resources': 'off', 'uses-responsive-images': 'off', + 'label-content-name-mismatch': 'off' }, }, ],