According to the spec https://w3c.github.io/uievents/#event-type-click the non-primary buttons should not fire mouse click events. This is the change to make Chrome inline with the spec in that regards. This change is no longer pursued. But it will be done as part of another change with auxclick: https://www.chromestatus.com/feature/5663174342737920

Specification

Specification link


Final published standard: Recommendation, Living Standard, Candidate Recommendation, or similar final form

Status in Chromium

Blink


No longer pursuing (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • Shipped/Shipping
  • In development
  • No signal
  • No signals

Owners

Comments

This change practically hides any action that was done in js as the result of listening to click event of non primary buttons (like middle click). Particularly the functionality of preventDefault on click event for middle click on link which prevents opening a new tab is no longer possible. The specified behavior removes non-primary button click event dispatched to js regardless of the target.

Search tags

Middle click event, non primary mouse click,

Last updated on 2017-06-14