frontend

Why You Should Still Learn Semantic HTML

Semantic HTML is worth learning because the browser already knows quite a lot about links, buttons and forms. Choosing those elements gives us a useful starting point for interaction.

It doesn't guarantee an accessible page on its own. Labels, focus order, content and the surrounding design still need checking. But I'd rather spend that effort on the actual experience than on rebuilding a button's expected behaviour with a div.