Bug 196844

Summary: Hyperlink Auditing ping attribute should clearly indicate that a secondary request will be sent
Product: WebKit Reporter: Ricky Mondello <rmondello>
Component: PlatformAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: mjs, rmondello, webkit-bug-importer, wilander
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Ricky Mondello 2019-04-11 18:12:32 PDT
Hyperlink Auditing ping attribute isn't user-visible in any meaningful way

Per the spec (https://html.spec.whatwg.org/multipage/links.html#hyperlink-auditing):

> When the ping attribute is present, user agents should clearly indicate to the user that following the hyperlink will also cause secondary requests to be sent in the background, possibly including listing the actual target URLs.

At least one WebKit client, Safari, is not to spec here, as the user is given no feedback before following the hyperlink that the ping will be sent. We should explore ways of automatically if possible, or with minimal adoption, adhering to the specification.
Comment 1 Maciej Stachowiak 2019-04-11 18:17:33 PDT
When/if we add some form of transparency, we should make sure it works with the various ways this info is presented:

- Status bar on hover in Mac Safari
- Tooltip on hover in Mac Mail
- Longpress link behavior on iOS Safari (not sure if this also covers other iOS clients)

(I don't know as much about link following information in other ports and products.)
Comment 2 Radar WebKit Bug Importer 2019-04-11 18:18:57 PDT