October 30th, 2020

Replying to a tweet from @aardrian

Yes! As soon as you add preventDefault() to an event listener, you’re signing up to handle all the responsibilities that the browser would usually take care of.

51° N , 0° E

Also on Twitter

Reply Retweet Favourite


Adrian Roselli

Indeed. Just like adding a button role to a link or a link role to a button (or to a <div> ugh).

1 Like

# Liked by Michael Hellacy (Spell) 🎃 on Friday, October 30th, 2020 at 1:27pm

Have you published a response to this? :