Hacker News new | past | comments | ask | show | jobs | submit login

Why is every clickable element implemented as a div? You lose out on a lot of native things, like changing mouse cursor on hover, keyboard navigation for users with special accessibility needs, etc.



Good point! Yes, for lots of things I need to use <a> instead.

Again, though, I want that to be handled by the platform, as much as possible, so that devs don’t have to.


<a> or <button>, depending on the function


Agreed. And obviously we'd implement all the ARIA stuff.




Consider applying for YC's W25 batch! Applications are open till Nov 12.

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

Search: