How we built it

New "auxclick" event for non-primary button click behavior

The new input event type "auxclick" introduced here provides web developers a way to listen to the click behavior of non-primary buttons, and potentially cancel their effect (eg. opening a new tab when middle clicking on a link). This new input type is needed because the "click" event is restricted to primary button only according to the spec So after this change "click" event will no longer be dispatched for non-primary buttons.



Public discussion

Status in Chromium

Enabled by default (launch bug) in:

  • Chrome for desktop release 55
  • Chrome for Android release 55
  • Chrome for iOS release 55
  • Android WebView release 55
  • Opera release 42
  • Opera for Android release 42

Consensus & Standardization

  • No public signals
  • No public signals
  • No public signals
  • No signals


Last updated on 2016-10-20