Re:The right tag for the job: why you should use semantic HTML
by goto11 on Monday June 07, 2021 @05:50AM
(#27420731)
Surely a button is more accessible than a div regardless?
[ Parent
| on HN ]
Re:The right tag for the job: why you should use semantic HTML
by lmm on Monday June 07, 2021 @11:18PM
(#27430284)
Maybe, maybe not. ("Surely" using the browser's CSS animations would be more efficient than reimplementing them yourself in JavaScript - but if actually you benchmark it, the opposite is true). If you're not actually testing it, how could you possibly know?