← Back to release summary

The ontouch* APIs default to disabled on desktop

Category
DOM
Type
New or changed feature
Status
Enabled by default (Chrome 70)
Intent stage
None

Summary

To avoid confusion on touch feature detection, ontouch* members on window, document, and element are disabled by default on desktop devices (Mac, Windows, Linux, ChromeOS). Note that this is not disabling touches, and usage such as `addEventListener("touchstart", ...)` is not being affected.

Standards & signals

View on chromestatus.com