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.

Resources

More in Accessibility

See it on the Frontend Developer roadmap