DEV Community

Discussion on: The Importance of Semantic HTML for SEO and Accessibility

Collapse
 
ademagic profile image
Miko

Great article, keep it up!
Sure, you can put an onclick event on a div, but making it a button not only gives you so much API for free, but teaches machines, crawlers and tools like screen readers so much context about your interface that you're not even aware of. Worth the effort.