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

I guess that’s what I’d like to see a better API for, then. Mapping on click events for invisible elements feels like a hack.


It's HTML imagemaps from the 90s, when we could not style buttons and navbars where GIFs with links in the right places. Browsers still have the code to render them.

https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

https://caniuse.com/mdn-html_elements_map


OTH, we are still failing to provide a bare minimum for accessibility. Heck, we even needed a law (in the EU, that than needed to be translated to national law), so that companies providing crucial end user services would care about accessibility.




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

Search: