Hi Members,
In the current version of AEM 6.4.8 that I am using, the responsive alternate text feature for all the Image based components are somehow not working. What I mean to say is that, when we hover over the Image the Alternate text for the Image is not appearing. Any idea, why this issue is happening or if anyone has faced a similar issue such as this in past and can suggest a way to resolve it.
Thanks.
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @DeepikaRoy
This has been fixed with version 2.16 of the Core Components: https://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/...
alt="${image.alt || true}"
will render a boolean alt
attribute (without the =""
) if the alt text is empty, which satisfies accessibility requirements.
https://github.com/adobe/aem-core-wcm-components/issues/1268
Hi @DeepikaRoy
This has been fixed with version 2.16 of the Core Components: https://github.com/adobe/aem-core-wcm-components/blob/master/content/src/content/jcr_root/apps/core/...
alt="${image.alt || true}"
will render a boolean alt
attribute (without the =""
) if the alt text is empty, which satisfies accessibility requirements.
https://github.com/adobe/aem-core-wcm-components/issues/1268
it helped me very good
Hi @DeepikaRoy
Can you share the HTML markup, which you are trying?
Example:
<img src="alt-tag-image-title-difference.png" alt="image alt tag vs title attribute" title="Understand the image alt tag and image title attribute for SEO and UX.">
The explanation of the code block for the image title attribute usage and the difference from the alt tag can be seen below.
Views
Likes
Replies