[webkit-dev] Implementing the Speech JavaScript API

Hans Wennborg hans at chromium.org
Thu Mar 1 04:17:09 PST 2012

Hello WebKit,

Currently, there is some limited support for speech recognition in
WebKit, by means of the x-webkit-speech attribute to input elements.
We would like to continue the development of this to allow web apps to
better utilize the possibilities of speech recognition and
text-to-speech synthesis.

In December, Google put forward a proposal [0] for a scripting-only
subset of the API that was defined in the Speech XG Incubator Group
Final Report [1].

A W3C Community Group is being started to develop the specification
[2]. Anyone interested in this is welcome to join once the group is
available. In the meantime, the spec proposal is currently hosted at

We would like to start implementing this behind a compile-time flag
(ENABLE_SCRIPTED_SPEECH) and vendor prefix. A first patch is uploaded
to the bug tracker [4].


[0]. http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/1696.html
[1]. http://www.w3.org/2005/Incubator/htmlspeech/XGR-htmlspeech/
[2]. http://lists.w3.org/Archives/Public/public-webapps/2012JanMar/0438.html
[3]. http://speech-javascript-api-spec.googlecode.com/git/speechapi.html
[4]. https://bugs.webkit.org/show_bug.cgi?id=80019

More information about the webkit-dev mailing list