0
Fixed

Resize causes Lighthouse Audits to Fail

Hayward 3 months ago • updated by Ionuț Botizan 4 weeks ago 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

Answer

Answer
Fixed

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! :)

Answer
Fixed

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! :)