ahmetkapusuz / smart-app-banner-react

Smart app banner react component
1 stars 2 forks source link

PageSpeed Insights throwing error: Image elements do not have [alt] attributes #35

Open amandeep3-it opened 1 year ago

amandeep3-it commented 1 year ago

I am using this package, and it is great and simple. But whenever I test my React app in Lighthouse or PageSpeed Insights, it throws errors:

Can you please make these small changes? Either add pre-defined values of alt="icon" height="..." width="..." or allow us to provide all these values.

Maybe remove key imageUrl and convert it to an object: image: { url: '...', alt: '...', height: '...', width: '...' }

Thanks