How to make Elementor container clickable link using stretched link pseudo-element CSS

This post shows how to make an Elementor card container clickable using the accessibility best practices.

For website accessibility, it is best to add links on the heading of the card itself.
The heading text provides context to the link destination and is announced by screen readers assistive technologies.

However, websites often want the entire card or container to be clickable, not just the heading.
This makes it easier for people who might have a hard time moving their hands precisely. Instead of needing to click on a small text link, they can click anywhere inside the card.

The best and most accessible way to achieve this is by using a pseudo element on the link and expanding the clickable area over the entire card.
This is often called a clickable parent, clickable container, stretched link, or CSS pseudo link.

We do not want to add the link directly on the parent container or have a ‘Read More’ link on the card, because this removes the destination context.

Below is a great video by Kevin Geary showing the clickable parent technique for Bricks Builder.

Youtube link: https://www.youtube.com/watch?v=nM78am-FC9Q

To get this working in Elementor we need to add a little extra CSS. Credit to the author from which I modified the code:

You need to apply two classes – clickable-card and clickable-link:

clickable-card : This is applied to the card container

clickable-link : This is applied to the heading that contains the link.

The CSS Code

/* Create and position :after pseudo-element */
.clickable-card :not(.elementor-element-overlay, .elementor-element-overlay *, .elementor-shape, .ui-resizable-handle, .clickable-card--excluded) {
    position: static;
}
.clickable-card {
    position: relative;
}
.clickable-link a::after {
    content: "";
    position: absolute;
    inset: 0;
    cursor: pointer!important;
    display: block;
    z-index: 99;
	/*border: 5px solid red;*/
}

Warning – You cannot use animations applied to this card from the Elementor UI. It breaks the clickable card technique.

Unleash Dynamic Data with Voxel!

With Voxel’s design flexibility, the possibilities are endless. Get Voxel here!

More Articles

Displaying parent categories with their child categories grouped underneath in Voxel is difficult and not directly supported by default term feed options. To achieve this, you need to use a term loop workaround that allows child terms to be looped inside a parent term preview. The steps below show how to do this using native […]
Voxel Framework is a new WordPress plugin in development that brings Voxel’s features to Bricks Builder and Gutenberg. Details below are speculative based on what is known so far (Q2 2026). All of the features shown are already available in the Voxel Theme. While Voxel can create custom post types, taxonomies, and custom fields — […]