-
Notifications
You must be signed in to change notification settings - Fork 22.8k
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent
What specific section or headline is this issue about?
Baseline Summary Banner
What information was incorrect, unhelpful, or incomplete?
Problem with Baseline is that it focuses on having 100% complete support for a browser, or assumes zero support by default. It's "all or nothing".
This is bad.
Just take a look at touch*
events like touchstart
or at TouchEvent
itself. They are supported on Safari for iOS since version 3.2, but not on Safari for macOS. I believe it's rather obvious this is how Apple intends it, because they didn't deem it important to support touch events in non-touch hardware (Mac computers). Safari for macOS is not expected to run on any touch-supported hardware. This is unlikely to change unless and until Apple makes a touchscreen Mac!
So the Baseline is extremely misleading, because it gives the impression that Safari doesn't support touch events AT ALL, but in reality, Safari for iOS supports them fully, and has done so for nearly 15 years!

What did you expect to see?
It shouldn't show a ❌ cross on Safari, but rather something like a 📱 Mobile icon. And rather than Limited availability
it should be Baseline widely available on mobile devices
or something akin to that. Description should say "Supported on all major browsers except Safari for macOS where the lack of support is a deliberate decision by Apple."
Do you have any supporting links, references, or citations?
See the Browser Compatibility table, as well as CanIUse.com for TouchEvent.
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/api/touchevent
- MDN URL: https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/api/touchevent/index.md
- Last commit: 22080a7
- Document last modified: 2024-07-26T15:28:56.000Z