Just use button -- A11ycasts #05
Channel: Chrome for Developers
Date: 2016-09-16

Talking about tabindex and custom controls is super fun, and we'll definitely be doing more of it in the future. But I wanted to pause for a moment and shine a light on some of the awesomness of the humble button element. Too often I see developers use divs or spans to make buttons, but when you do this you're missing out on SO MANY FEATURES. You may not realize just how much accessibility and general purpose functionality is built into the simple button, but it's actually a wonderful tool that should be your first and last option whenever you're adding an action to your page.

So today I want to sing the praises of button and clue you in to a few handy features you might not have seen before.

Synthetic Click Activation in the HTML spec
https://goo.gl/Ey4RBf

Watch all A11ycasts episodes: https://goo.gl/06qEUW

Subscribe to the Chrome Developers YouTube channel for updates on new episodes of A11ycasts: http://goo.gl/LLLNvf