Google Chrome Developers770 тыс
Следующее
Опубликовано 16 сентября 2016, 17:00
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
goo.gl/Ey4RBf
Watch all A11ycasts episodes: goo.gl/06qEUW
Subscribe to the Chrome Developers YouTube channel for updates on new episodes of A11ycasts: goo.gl/LLLNvf
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
goo.gl/Ey4RBf
Watch all A11ycasts episodes: goo.gl/06qEUW
Subscribe to the Chrome Developers YouTube channel for updates on new episodes of A11ycasts: goo.gl/LLLNvf
Свежие видео
Случайные видео