by SalmonSnarker · 2y ago · 0 comments
About the empty ones I have not investigated but there are numerous situations in which an empty alt text makes perfect sense and is a better accessibility solution for most users of screen readers than otherwise. For example if they are inside something clickable that has an aria label on it telling you how to use that part of the dom, the alt text on a child image just makes things overly verbose and annoying in most circumstances.
I have an article in the works that touches on these issues with proposed solutions but unfortunately it would be too big to talk all about here.
on edit: of course it is possible that, being alerted to the fact, the writer has added the alt text in.