0
Corrigé

Resize causes Lighthouse Audits to Fail

Hayward il y a 6 ans mis à jour par Ionuț Botizan il y a 6 ans 1

When running a Google Chrome Lighthouse Audit, the Accessibility audit will fail when the Window Resizer is enabled due to this bit of HTML:


<button class="btn settings"> 

You need to add an accessible name to the button to pass the audit.


See:

https://dequeuniversity.com/rules/axe/2.2/button-name?application=lighthouse

Solution

Solution
Corrigé

I'm not even going to start explaining how absurd your request is and why it doesn't matter...

I just added an `aria-label` attribute to those buttons so you can sleep well! :)

Solution
Corrigé

I'm not even going to start explaining how absurd your request is and why it doesn't matter...

I just added an `aria-label` attribute to those buttons so you can sleep well! :)