Accessible and fast pages
Lesson 19 of 20 · Web.Micro
Good sites work for everyone: keyboard, screen readers, contrast and speed.
A div that looks like a button is not one
Check yourself
Why prefer <button> over a clickable <div>?
Do it in the browser: a real HTML, CSS and JavaScript tool, a short mission and instant feedback. No install.
Start this lesson — free