Links that represent navigation within the web app should still have a `href` attribute - even if click events are being handled with AJAX and pushState. That way middle-click, etc. work as expected.
Of course, some links don't actually represent navigation, so for them this isn't really applicable (e.g. a button to collapse an accordion-style view).
Comments
Links that represent navigation within the web app should still have a `href` attribute - even if click events are being handled with AJAX and pushState. That way middle-click, etc. work as expected.
Of course, some links don't actually represent navigation, so for them this isn't really applicable (e.g. a button to collapse an accordion-style view).