News for hackers. Stuff that matters.
Re:<article> vs. <section>: How To Choose The Ri... by curlftpfs on Saturday July 30, 2022 @09:36AM (#32286709)
You'd lose every element-specific browser behavior. A div with role=button doesn't handle, say, keydown events correctly like a <button>.

You could rewrite every edge case for every element in JS if you wanted, but why? Just understand what the elements mean.

There are no comments on this comment yet.