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

Using links instead of buttons makes accessibility to screen readers worse.

Just because you can't see it doesn't mean it doesn't have an effect




Plus, just being aware of how these elements interact with screen readers, and what you need to do for them and keyboard users can make you more aware to write better, more accessible HTML in the future.

It’s a bit strange to me that in my last position all these great JavaScript engineers were still using div’s for everything when there’s so much you can harness directly from the browser’s interpretation of these elements to give you a pleasant and consistent user experience for your clients.

Besides that, it makes trawling through your elements in your web inspectors a lot easier to read when you actually have lists, sections, headers, buttons, etc.


Is that going to make your site explode? No. That was the premise of the comment, not that it doesn't have any effect what-so-ever.




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

Search: