# Ability to leave "emtpy" ALT attributes for images

**URL:** <https://discuss.liferay.com/t/ability-to-leave-emtpy-alt-attributes-for-images/382>\
**Category:** Product Ideas\
**Tags:** fragments\
**Created:** [February 25, 2026, 1:23pm UTC](https://discuss.liferay.com/t/ability-to-leave-emtpy-alt-attributes-for-images/382 "2026-02-25T13:23:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ldetomi](https://avatars.discourse-cdn.com/v4/letter/l/a6a055/32.png) [@ldetomi](https://discuss.liferay.com/u/ldetomi)\
**Post date:** [February 25, 2026, 1:23pm UTC](https://discuss.liferay.com/t/ability-to-leave-emtpy-alt-attributes-for-images/382/1 "2026-02-25T13:23:41Z")

</div>

**What is the problem you are trying to solve?**

An IMG with an empty ALT=”” attribute is different from another one that does not have it at all.

Setting this attribute as empty means that the image is a pure decorative one.

Actually, if the corresponding configuration field is left empty, Liferay print “Image” as fallback, so is not possibile to set that image as “decorative” for accessibility reasons

**What is your project about? (e. g. Intranet, Partner Portal, Enterprise Website, etc**

Everyone

**What is your proposed solution? (optional)**

If the “Alternate text” configuration field is left empty, this should remain empty when printed in DOM.
