Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other displaying images next to headings Re: displaying images next to headings

#137077
Paulie_D
Member

>Making the image a background is not the best option. Let him just add the image naturally with image tag in html doc. This is just issue of floating. There is no point bringing the image in through css.

You misunderstand.

If the image is **styling** (like a list bullet) and has **no relation** to the heading then it shouldn’t be in the html.

If the image was related to the contents of the heading (or even a paragraph following the h4) then, yes, by all means have it in the HTML and float it or whatever.

Otherwise. it adds nothing and should be kept out of the document.

Even in this case, where you could vaguely relate a flower image to the “Herbal Medicine” content you have to ask yourself “What would this add for a screen reader?”.

Your way it would read something like “Flower Image – Herbal Medicine”…my way it would read just “Herbal Medicine”.

That’s a simplistic way of stating this case but I hope you see where i am coming from.