Core: learn it Step 13 of 16 on the Frontend Developer roadmap
Real buttons and links
Real <button> and <a> elements work with keyboards and screen readers automatically. A clickable <div> does not, unless you add a lot of extra work.
Core: learn it Step 13 of 16 on the Frontend Developer roadmap
Real <button> and <a> elements work with keyboards and screen readers automatically. A clickable <div> does not, unless you add a lot of extra work.