Primary eng (and PM) emails
Link to “Intent to Deprecate” thread
Deprecated in M70, slated for removal in M71.
https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/XpkevOngqUs/-x9POpCMAQAJ
Summary
After deprecation, the plan is to cause speechSynthesis.speak to immediately fire a “not-allowed” error if specific autoplay rules are not satisfied. This will align it with other audio APIs in Chrome. Briefly, we will only allow speak() to succeed if the current frame, or any of its ancestors, has ever had user activation.
Tentative WPT: link
Demo link:
https://cr.kungfoo.net/speech/immediately-speak.html
Motivation
The SpeechSynthesis API is actively being abused on the web. Since other autoplay avenues are starting to be closed, abuse is moving to the Web Speech API, which doesn't follow autoplay rules.
Investigations show that this is primarily happening on Android, via full page ads or fake system warnings.
Interoperability and Compatibility Risk
Compat risk is medium on Android and low on all other platforms (from combination of UKM and UseCounter data).
Edge: No signals
Firefox: No signals
Safari: This change will match Safari on iOS
Web developers: No signals
Alternative implementation suggestion for web developers
Web developers should use a play button if they want to use speak().
Usage information from UseCounter
Our UseCounters are only available in M69, which only recently hit stable.
Chromestatus page: https://www.chromestatus.com/metrics/feature/timeline/popularity/2473
Broken out by platform, it is clear that only Android has significant counts.
Android: ~.05% of PageVisits
Non-Android: ~.0008% of PageVisits
Android has a concerning amount of breakage, so we dug down into UKM data to find what kind of sites are going to break. See internal go/speech-autoplay-deprecation-data for exact queries used.
~55% of page visits were to origins not known by Google’s web crawlers and thus were not included in the analysis.
I also manually went through ~30 popular origins that autoplay speak():
I was able to find a full URL to the site for about 65% of them
Of those 65%, almost all of the URLs pointed to full-page ads or very sketchy software install prompts.
~12% of the 20 origins had URLs that spoke to me (generally telling me to install some software it is advertising)
You can find the list internally here.
Entry on the feature dashboard
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CADjAqN6Te6twYs3V-W5ZzeCREFS1jRLup9j-UvmO-E%3DyO1JA-A%40mail.gmail.com.
Philip Jägenstedt provides support for speech recognition in Web Speech API.I continue to support server-side.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAARdPYdvuE%3DnGCfdegvb-MBefKYbL_FfQDjuvhk9Wgfdy%2B%2BMTw%40mail.gmail.com.
My understanding is that speech recognition is what's currently unowned, correct me if I'm wrong.
This is for speech synthesis. It's understaffed but the accessibility team is supporting it and hoping to put more resources into it in the future. We fully support this change, as abuse of this API is potentially a big problem and this seems like a good balance that won't impact legitimate use.
On Thu, Sep 13, 2018 at 12:31 PM Dominic Mazzoni <dmaz...@chromium.org> wrote:My understanding is that speech recognition is what's currently unowned, correct me if I'm wrong.
This is for speech synthesis. It's understaffed but the accessibility team is supporting it and hoping to put more resources into it in the future. We fully support this change, as abuse of this API is potentially a big problem and this seems like a good balance that won't impact legitimate use.Makes sense, sorry for the mis-representation!So, from the accessibility team perspective, any concerns with this breaking change? Eg. any use cases you know will break, outreach that should be done or anything? It definitely seems like something we need to do, but it's still valuable to have an idea of the cost and think about whether we should be trying to mitigate it at all.
A few questions on this (I only just learned about it)1. If speechSynthesis.speak is used without the user's consent, but then they later click a button to activate it, will it be activated or is it blocked permanently?
2. Is it possible for the user to give consent for future uses of speechSynthesis.speak?
My context for #2 is that I have a study tool which allows users to learn vocabulary. Part of this tool is that it auto plays the word when it appears. When they choose to start the learning session, they are consenting for audio to play for that session. Is this possible?If #2 is not possible, then I propose that it be made possible because there are likely other instances of similar use where consent is given previously.
--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/faa8d0cd-3c71-45cd-9f78-a4d48b2fa9fd%40chromium.org.