← Back to release summary

User activation through long-press gesture

Category
User input
Type
New or changed feature
Status
Deprecated (Chrome 68)
Intent stage
None

Summary

The long-press gesture should be considered a user activation because it indicates user's interaction with the page. This would allow a web app to call restricted APIs like navigator.vibrate() on long-press to match native behavior.

Standards & signals

Samples: https://output.jsbin.com/bonadab

View on chromestatus.com