Hacker News new | ask | show | jobs
by goto11 1835 days ago
Surely a button is more accessible than a div regardless?
1 comments

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?