Proper HTML Code for decorative images

The “Decorative” option for images produces
<img src="..." alt />
instead of
<img src="..." alt="" />

I get the same result when using “Custom description” leaving the text box empty.

Is there a workaround to get the proper HTML code?
I do not want <img src="..." alt=" " /> either.

Thank you in advance :slight_smile:

OK, it turns out that both ahrefs falsely reports empty alt texts + chrome browser displays alt=“” as alt.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.