Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ADTC opened this issue Jan 21, 2025 · 0 comments
Labels
to move If the issue doesn't belong in Content but elsewhere in the MDN org

Comments

@ADTC
Copy link
Contributor

ADTC commented Jan 21, 2025

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
@ADTC ADTC added the needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. label Jan 21, 2025
@github-actions github-actions bot added the Content:WebAPI Web API docs label Jan 21, 2025
@Josh-Cena Josh-Cena added to move If the issue doesn't belong in Content but elsewhere in the MDN org and removed Content:WebAPI Web API docs needs triage Triage needed by staff and/or partners. Automatically applied when an issue is opened. labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
to move If the issue doesn't belong in Content but elsewhere in the MDN org
Projects
None yet
Development

No branches or pull requests

2 participants