79183290

Date: 2024-11-13 03:05:04
Score: 1.5
Natty:
Report link

I am not familiar with AEM, but maybe you could change the code.

HTML - You do not need to wrap the text in a span, unless you want to change the color of certain text in it.

<a href="/content/travel/us/en/addticket.html" class="button-link">
<button class="add-ticket">ADD LEADS</button>
</a>

Also, do you really need the button?

<a href="/content/travel/us/en/addticket.html" class="button-link add-ticket">ADD LEADS</a>

With this code, you do not need js for it. Ping if you do want to do js. Also some docs from Adobe about embedding links in AEM.

Reasons:
  • Has code block (-0.5):
  • Contains question mark (0.5):
  • Unregistered user (0.5):
  • Low reputation (1):
Posted by: user5127