Decorative Image …aren’t a thing.
I tend to agree with @aardrian here, with modern CSS, any decorative image should go in the CSS anyway, so, if you have an image in the HTML, there’s a reason for it, might not be decoration. Otherwise: remove it? Most examples of “decorative” images I come across when teaching are actually not decorative, but redundant. For example: a button with an icon and a label.
0 Boosts
0 Likes
The label provides the information, so the icon is redundant. This means you need an empty alt text (or SVG equivalent) for those if your image is in the HTML, but, even better, again: put that icon in the CSS.
@stephaniewalter
I wouldn't call that redundant.
Some people are able to remember what an icon stands for.
Others of us need the term, and either can't see, or can't retain what the picture is intended to convey.
With the millions of icons used on the internet, that is no surprise.
It's accessibility.
I am always complaining that I have no idea what the icons in the menu bars are supposed to do without their visual label.
I'd rather have a label than a picture. Except the picture is big enough to click on.