Jan 26, 2022 4:48 AM
I am trying to give an image an empty alt attribute (alt=""). But when editing an image in a blog post and leaving the alternative text field empty, Hubspot removes the "alt" attribute from the code completely, instead of giving it an empty value.
An empty alt attribute is needed for accessibility, and used by screen readers to know when an image is purely decorative, rather than one that requires description/ alternate text.
I could just use code view to add alt="" where needed, but what can I offer my content creators who are less familiar with html source code?
Solved! Go to Solution.
Jan 26, 2022 5:00 PM
Thanks for submitting this! We have created an issue for this internally!
Jan 27, 2022 1:16 AM
You're welcome!
Jan 26, 2022 5:00 PM
Thanks for submitting this! We have created an issue for this internally!
Jan 1, 2023 7:27 PM
Is there an update to this?
Jan 3, 2023 2:32 AM
Hi georgeluc, as it happens I noticed this the other day:
But as far as I can tell with some quick testing, it still does not register empty as alt="", it just reverts to the filename without a content to override it.