Adding Alt Text to Images | Community
Skip to main content
May 5, 2023
Solved

Adding Alt Text to Images

  • May 5, 2023
  • 2 replies
  • 5569 views

Hello,

I'm on AEM 6.5.12. I need to add alt text to images to improve web accessibility. When I open Image properties in the DAM, I see metadata fields such as "title" and "description", but there's no field for "alt text".

 

2 questions:

1) If I add a title and description in the image metadata, does that function as alt text? 

2) The image component has a field for alt text. Is this the only place to enter alt text? The would mean if I use the same image on multiple pages, I have to enter alt text several times.

 

Thank you.

Cindy 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by diksha_mishra

@cindychenjmh 

Alt Text added is managed by the image component in use, and not by the image itself. So title field will not add an alt text, and yes, you have to add it at component level on pages.

One workaround, is to add the cq:name property in CRXDE. This should show the alt text for this image everywhere (please try once).

 

 

2 replies

diksha_mishra
Community Advisor
diksha_mishraCommunity AdvisorAccepted solution
Community Advisor
May 8, 2023

@cindychenjmh 

Alt Text added is managed by the image component in use, and not by the image itself. So title field will not add an alt text, and yes, you have to add it at component level on pages.

One workaround, is to add the cq:name property in CRXDE. This should show the alt text for this image everywhere (please try once).

 

 

August 30, 2023

Is there a way to add alt text to an image that is a part of an experience component? Specifically an Explore by navigation?

July 19, 2024

Is there any way to find from where the alt text is coming for the image.
Here logo component is used to insert the image.