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

Web Share API #464

Closed
1 of 3 tasks
BearCooder opened this issue Sep 21, 2023 · 6 comments
Closed
1 of 3 tasks

Web Share API #464

BearCooder opened this issue Sep 21, 2023 · 6 comments
Labels
focus-area-proposal Focus Area Proposal

Comments

@BearCooder
Copy link

BearCooder commented Sep 21, 2023

Description

The Web Share API is an API for sharing text, links and other content to an arbitrary destination of the user's choice.

While it’s already possible for a user to share content from a webpage via native means, they have to locate the option in the browser menu, and even then, there’s no control over what gets shared. The introduction of this API allows developers to add sharing functionality into apps or websites by taking advantage of the native content sharing capabilities on a user’s device.

Unfortunately the cross browser support is still not great:

  • Safari provides full support
  • Chrome provides partial support, the share and canShare method is not supported
  • Firefox provides no support for share, canshare and other methods

This would be a great oportunity to reach full support on all browsers.

Specification

https://www.w3.org/TR/web-share/

Open Issues

No response

Tests

https://wpt.fyi/results/web-share?label=master&label=experimental&aligned

Current Implementations

  • Blink
  • Gecko
  • WebKit

Standards Positions

Browser bug reports

Developer discussions

There is plenty evidence that browser wide support for all methods is needed. People are asking all over again in different mediums why this feature does not work on specific browsers.
Some examples:

The list can go on and on. Just google web share api and look at stackoverflow etc.

Polls & Surveys

https://2022.stateofjs.com/en-US/features/browser-apis/

Existing Usage

No response

Workarounds

Providing a fallback in browsers where the Web Share API isn’t supported, we need to provide a fallback mechanism so that users on those browsers still get some sharing options.

Accessibility Impact

No response

Privacy Impact

No response

Other

https://w3c.github.io/web-share/

@BearCooder BearCooder added the focus-area-proposal Focus Area Proposal label Sep 21, 2023
@dkrecichwo
Copy link

@marcoscaceres
Copy link

Web Share depends on Permission Policy, so we might consider not testing some aspects that depend on Permissions Policy.

We should have a separate Permissions Policy interop area in the future, because it affects more than just web share.

@foolip
Copy link
Member

foolip commented Oct 25, 2023

From State of HTML preliminary results, Web Share API was among the features that respondents expressed the most interest for. Note that this wasn't freeform, it's based on the features the survey asked about experience and sentiment for.

@jensimmons
Copy link
Contributor

Web Share depends on Permission Policy, so we might consider not testing some aspects that depend on Permissions Policy.

Agree. Let's exclude tests that depend on Permission Policy.

@wpt-interop
Copy link

Thank you for proposing Web Share API for inclusion in Interop 2024.

We wanted to let you know that this proposal was not selected to be part of Interop this year.

This is because we got many more proposals than we could include in this year's project. Note that individual vendors may nevertheless choose to advance work in this area during the forthcoming year. We would welcome this proposal being resubmitted again next year if necessary.

For an overview of our process, see proposal selection. Thank you again for contributing to Interop 2024!

Posted on behalf of the Interop team.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
focus-area-proposal Focus Area Proposal
Projects
Status: Done
Development

No branches or pull requests

7 participants