Skip to content

Commit

Permalink
fix: Ignore label content name mismatch warning
Browse files Browse the repository at this point in the history
The ARIA label is placed correctly, however lighthouse can't find which text it's referring to
  • Loading branch information
ZeroWave022 committed Nov 7, 2024
1 parent e40dffc commit 5fbca9c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lighthouserc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const config = {
},
},
{
matchingUrlPattern: 'http://.*/en/events',
matchingUrlPattern: 'http://.*/en/events.*',
preset: 'lighthouse:recommended',
assertions: {
'bf-cache': 'off',
Expand All @@ -78,6 +78,7 @@ const config = {
'largest-contentful-paint': 'off',
'render-blocking-resources': 'off',
'uses-responsive-images': 'off',
'label-content-name-mismatch': 'off'
},
},
],
Expand Down

0 comments on commit 5fbca9c

Please sign in to comment.