Describe the bug
When I test my site using Lighthouse, either in the browser or using ex. the web.dev platform, I get a lower score in Accessibility, as well as SEO.
When I click on img on the Failing Elements list, it shows the exact element that fails:
Describe the bug When I test my site using Lighthouse, either in the browser or using ex. the web.dev platform, I get a lower score in Accessibility, as well as SEO.
When I click on
img
on theFailing Elements
list, it shows the exact element that fails:By the look of things, it is the SVG placeholder.
To Reproduce Steps to reproduce the behavior:
using Chrome browser (recommended)
Audits
tabRun audits
buttonusing web.dev platform
Enter a web page URL
input enterhttps://kepinski.me
Run audit
buttonExpected behavior The placeholder should have an
alt
attribute so that Lighthouse would not report any warnings related to that.Screenshots Already included them above.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Here is my image component (which uses
react-simple-img
): https://github.com/xxczaki/kepinski.me/blob/37ba4c1e1a5ac2fafc494e93e38de1376ad439c8/components/me.js#L17