This works fine on my computer but im wondering if its a good idea in terms of accessibility, etc.
I have a page of product listings, and I want each listing to link to a product page. The listing is made up of an image and a few photographs of text.
I want the entire listing area to be a link, including white space. So rather than make the images and text links individually, ive put the entire div in a link.
As I said, this is working fine on my computer, but is a good idea for a production site?
Thanks
Look at the right-side video links on YouTube. These are block-layout spans wrapped in
atags. (Not that just because Google does it means it’s a good idea, but…)If the area has a
:hovercolor (as these do), then it should be clear enough to the user that this is an action item.