Skip to content

alt, width, height are missing for SEOΒ #109

@hadihonarvar

Description

@hadihonarvar

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions