- 🇩🇪Germany Anybody Porta Westfalica
Thanks @gausarts I just ran into this again and totally agree with #6. On the other hand I think a SEO tool has no chance to sort out intentionally empty alt attributes (alt="") from unintentionally empty alt attributes (alt="").
So for the tools and for the developers to indicate that the alt tag is empty correctly, adding
role="presentation"
additionally would totally make sense. That way we give SEO tools the chance to sort out these kind of empty alt tags and developers can see it's intentionally and not a bug.What do you think?
I was trying to prepare a MR but I can't find the file, where the empty alt tag is generated. My assumption from #2 was wrong. The alt tag is filled there.