https://html.spec.whatwg.org/multipage/links.html#hyperlink-...
You put a `ping` attribute on a link, and when the user follows the link, the browser sends a request to the ping URL notifying it of the action.
Firefox disables it by default, which doesn’t seem like much of a privacy win considering JavaScript is enabled by default and can polyfill this functionality.
Plus, if it was done on OnClick there would definitely be an add-on to disable the tracking on all browsers.
A direct link from a search page will let websites see the search terms that users entered in to navigate there.
Google still knows everything so it doesn't protect you from them, but websites are more in the dark what users were doing before clicking the link.