Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

this seems to have less to do with Next.js and is more of a design decision. Each card has a native anchor tag inside, and when you tab through these links the card is ignored and the links are focused. The card itself is a 'fake' js link, that redirects when clicked.

i personally would've made the entire card an anchor link, but either approach is possible in Next.js



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: