Using a button for interactive elements is better, as explained in commit 5311daadf. Since buttons with "type=button" do nothing by default, we no longer need to call `preventDefault()` when clicking it.
5311daadf