WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: no alt-text: lesser of two evils?

for

From: glen walker
Date: Jul 25, 2018 1:31AM


Are the images ever decorative? If not, then the alt text should never be
omitted or empty. If the content provider does not specify an alt text,
then you can provide a "image description not available" type of alt text.
That obviously doesn't help the end user with the image, but at least they
know the image is there and can follow up on it.

If images *can* be decorative and alt text is not provided, then you should
have an empty alt text. You should never leave the alt attribute off
unless you have aria-hidden="true". It's the content providers fault if
they had an image that has meaning but didn't provide that meaning. Their
image will be ignored.