The more I know about alternative text for images the more I understand the complexity of it. There are differences between users and content creators about decorative and informative image objectives and developers should never decide if image will be decorative or not. HTML standard includes a lot on this as well and should be read by more people for better accessibility and better web in general.
We remember the rule for alternative text on decorative images, right. But is it really so clear what an decorative image is. Sometimes SEO wants us to have alternative text for images that do not directly add to the information. Should we do it for the bots or should we save time for screen-reader users? It depends. As always…
There are still some myths out there about what we can and can not do and there are also some best practices around use of headings. Please do use them is my advice, but it is not a thing for compliance and SEO itself. It is more about usability.
Search engines are actually screen readers if we simplify them so accessibility is extremely important for search engine optimization as well.