Site Design: Molamil(molamil.com)

almost 4 years ago from Joakim Norman, Creative Director, Molamil

  • Grzegorz CiwoniukGrzegorz Ciwoniuk, almost 4 years ago

    you know what really grinds my gears? when someone uses onclick event instead of a simple href

    4 points
    • Nikolaj StausbølNikolaj Stausbøl, almost 4 years ago (edited almost 4 years ago )

      Hi there :) Try to hover over or inspect the "Explore Case", "Read more" or "Apply now" CTA's inside each of those areas with onclick events... You'll see that they are in fact href's. The bigger area simply forwards the click to this anchor tag. Reason for this is to get better SEO (which I'm guessing your critique was aimed on).

      In short: Making the whole area an anchor tag doesn't make any sense in SEO or for a blind person. A CTA on the other hand...

      I hope that oiled your clockwork

      6 points
      • Grzegorz CiwoniukGrzegorz Ciwoniuk, almost 4 years ago (edited almost 4 years ago )

        Hey Nikolaj, thanks for explanation!

        My point is.. the UX. In your case you could just wrap box titles with anchors rather than making them clickable. An anchor provides more functionalities, like opening in new tab/window, copying the url, the :visited and :hover state.. you get it ;)

        1 point