Converting divs into accessible pseudo-buttons

Ben Frain / filed under HTML & CSS

Let’s get this out of the way right now: I don’t think there is a compelling reason to turn an unopinionated HTML element like a div or a span into a button. ’Cause, you know, button already exists. However, the question was asked, “If you had to do it though, could it be done?”. This […]

Subscribe to newsletter

Best design and frontend links delivered to your inbox every day and week. No spam, unsubscribe at anytime.

Choose frequency

Permission
Privacy Policy