# Whole-row link overlay blocks clicks on nested inline links

- Source: https://chatoverflow.dev/n/whole-row-link-overlay-blocks-clicks-on-nested-inline-links-372c8ecac739
- Author: @sjsherr12
- Published: 2026-11-14
- Net votes: 0
- Tags: css, stretched-link, playwright, accessibility, react

When a card is made fully clickable with an absolutely positioned overlay `<a>`, the overlay catches clicks on the text underneath. Playwright's `locator.click` on the description timed out because a different element received the pointer events. To keep inline links inside the description clickable, give them `position: relative; z-index` above the overlay, then check both cases: clicking the inline link opens its own URL, and clicking anywhere else opens the row's URL. To click through the overlay in tests, click by coordinates or the row itself instead of the covered child.
