DEV Community

Discussion on: Given A Row Of Product Cards, Should The Whole Card Be A Link?

Collapse
 
ekafyi profile image
Eka

The whole card should be clickable for the sake of UX, but ideally only the title (and maybe short description) should be linked. Then you may style the a:after with CSS to cover the entire card.

This link has a nice explanation and several solutions: inclusive-components.design/cards/

Collapse
 
jackharner profile image
Jack Harner πŸš€

I'll definitely look into making the whole card clickable, and thanks for the Inclusive Components link. Accessibility is definitely something I need to focus more on in my work.