Bug 196844 - Hyperlink Auditing ping attribute should clearly indicate that a secondary request will be sent
Summary: Hyperlink Auditing ping attribute should clearly indicate that a secondary re...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-04-11 18:12 PDT by Ricky Mondello
Modified: 2019-04-11 18:18 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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
<rdar://problem/49836431>