https://www.buttoncheatsheet.com/ The Button Cheat Sheet Do you need a button for your next project but you're not sure about the right markup? Don't worry, The Button Cheat Sheet(tm)[?] has got you covered. If you're not sure whether you should use a button or a link, watch The Links vs. Buttons Showdown by Marcy Sutton. 1. The HTML5 Yea or nay? Details + That's a proper button! + It's focusable + It has correct key events by default + Correct button role + Supports HTML content + All in all beautiful! [?] 2. The button Rating: Okay, but Yea or nay? Details + Don't nest interactive elements + If you need a link that looks like a button, style the link accordingly Further reading * Enough with the role-play--let's get back to the basics * Just use button -- A11ycasts #05 * ButtonBuddy * Disclaimer: There might be edge cases in which a button element might not work for the custom control you're building. In that case use a div, but make sure that your custom button is at least as accessible as a native button. If you've built a such a button, please get in touch, I'd love to see why and how. ** Neither fish nor fowl in Viennese-German built with eleventy and [?] in Vienna by @mmatuzo All examples have been copied from real websites, they're not made up by me.