Closed layflags closed 5 years ago
Thanks for your contribution but I don't think alt attribute for bottom image is necessary as they are meant to be hidden after the animation
I use your lib in an app that uses SSR, so the resulting static HTML has accessibility issues when conducting an audit through e.g. lighthouse. However, it's your lib, you decide. For everyone in need, just use npm package @layflags/react-crossfade-image
Why not set the
alt
attribute on thebottomSrc
image as well?