I’m receiving an error in the accessibility section in Google’s Lighthouse for missing alt attributes in my nivro-slider slideshow. I have alt attributes on my page so I don’t understand why they don’t show up in the audit. Is there a way to fix this? Thanks!
And they all have a value?
AFAIK the w3c validator won’t complain if they’re like
alt="" as long as they’re there. Logic being that “non-content” images don’t need, or shouldn’t have, alt values. (Though IMHO in that case they should probably be CSS background images anyway).
My guess is Lighthouse is being more picky about it.
Each alt has descriptive text for that particular image. Is that what you mean?
This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.