Skip to content

Baseline is misleading for mobile-only supported features (TouchEvent is only supported by Safari for iOS) #37736

@ADTC

Description

@ADTC

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!

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    to moveIf the issue doesn't belong in Content but elsewhere in the MDN org

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions