WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: alt or alt=""

for

From: Peter Shikli
Date: Sep 3, 2019 3:33PM


As a coder myself, it would be easier to write an if-then-else logic statement to find alt="" than just alt since that latter is part of many other constructs. And alt> cannot be assured to identify a decorative image if some other attribute follows the alt attribute. The net result is that I recommend the extra finger workout to type alt="" to make sure a screen reader catches it correctly and informs the user about decorative images.

Cheers,
Peter Shikli
Access2online