AEM Carousel w/ Teaser - Adding href when not authored | Community
Skip to main content
August 5, 2022
Solved

AEM Carousel w/ Teaser - Adding href when not authored

  • August 5, 2022
  • 1 reply
  • 891 views

Using AEM Cloud. I'm using the core carousel component and adding in a teaser for a slide. In the teaser, I've added an image, title, description etc, but no CTA and I'm leaving the link blank.

 

The image is in the slide is being wrapped in an <a> anchor and seems to be linking to the page it lives on.

Example: Lives on 'teaser-carousel.html' -- renders <a href="teaser-carousel.html">

 

Is this the default behavior for the carousel that uses a teaser for slides? It's causing an accessibility issue, focusing on the image as a link that shouldn't be one.

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 Jagadeesh_Prakash

@jacobso1 There should be some issue on how you are doing it. I tried it my self in cloud environment and it is working absolutly fine. Plese refer to below link on how the teaser component behaves and internally validate what went wrong. 

 

Hope you have not written and custom code 

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/teaser.html?lang=en

 

1 reply

Jagadeesh_Prakash
Community Advisor
Jagadeesh_PrakashCommunity AdvisorAccepted solution
Community Advisor
August 6, 2022

@jacobso1 There should be some issue on how you are doing it. I tried it my self in cloud environment and it is working absolutly fine. Plese refer to below link on how the teaser component behaves and internally validate what went wrong. 

 

Hope you have not written and custom code 

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/components/teaser.html?lang=en