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

The user must be able to disable use of the Vibration API #50

Open
matatk opened this issue Nov 4, 2024 · 2 comments
Open

The user must be able to disable use of the Vibration API #50

matatk opened this issue Nov 4, 2024 · 2 comments
Labels
a11y-needs-resolution Issue the Accessibility Group has raised and looks for a response on.

Comments

@matatk
Copy link

matatk commented Nov 4, 2024

The Security and privacy considerations section states:

For these reasons, the user agent MAY inform the user when the API is being used and provide a mechanism to disable the API (effectively no-op), on a per-origin basis or globally.

APA WG previously reviewed this API and made a comment that users SHOULD be able to disable use of the API. We've reviewed the latest version, and feel that things have changed such that this requirement ought to be a (RFC 2119) MUST now. Here are the key reasons:

  • More apps could be using vibration as a means to send signals to the user via notifications, as well as the OS. There are also many frequent sources of notifications these days. There is scope for the user to be confused as to which app (or part of the OS) is sending the notification.

  • Some users may find the haptic feedback too intense. Notifications could be jarring for them, and games (where the vibrations may happen very often) could be difficult for them to interact with, due to the frequent haptic feedback.

@matatk matatk added a11y-tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response. a11y-needs-resolution Issue the Accessibility Group has raised and looks for a response on. labels Nov 4, 2024
@anssiko
Copy link
Member

anssiko commented Nov 4, 2024

@matatk and APA WG, thank you for your re-review. The context and rationale for the recent change in this RFC 2119 term is in #47 (review)

The group's plan is to imminently publish a new CRS that matches current implementations and to continue evolve the specification with special consideration for issues -- including this one -- that suggest changes to existing implementations and thus may impact web compatibility.

The group is aware of an early experimental implementation in Firefox that showed a UI to the user to allow disable the API. We want to gather more implementation experience on this. The past design discussions around this feature are documented in 2.11 of #36 to inform the work.

The group would like to explicitly confirm with you that APA WG is supportive of this approach so that we can proceed with the CRS publication. Thank you!

@matatk
Copy link
Author

matatk commented Nov 6, 2024

Hi @anssiko; yes; APA WG is happy with your proposed approach. We look forward to following up with you after the CRS is published.

P.S. I realise that adding the 'needs resolution' label might have been confusing until after the CRS is published; apologies for that.

@anssiko anssiko mentioned this issue Nov 7, 2024
13 tasks
@w3cbot w3cbot removed the a11y-tracker Group bringing to attention of a11y, or tracked by the a11y Group but not needing response. label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a11y-needs-resolution Issue the Accessibility Group has raised and looks for a response on.
Projects
None yet
Development

No branches or pull requests

3 participants