tam315/react-compare-image

alt, width, height are missing for SEO

Opened this issue · 0 comments

https://github.com/junkboy0315/react-compare-image/blob/dc87b3179fcbf1ad5814b7f4dd2560c420d8b261/src/ReactCompareImage.tsx#L22

Please include alt, loading, width, and height for final tag. so we don't get SEO blame. Easy fix but essential.
dom should have them as <img src="string" alt="string" width="string" heigh="string" loading="lazy|eager" ... />
Thanks,