By applying the x-webkit-speech
attrtibute to an element, you can let WebKit browsers like Chrome use speech-to-text.
Chrome is the only desktop browser I'm aware of which currently implements speech input. Might also work in the Android browser, but I'm not sure. It's definitely not implemented in Safari.
x-webkit-speech is now deprecated. We should use
var recognition = new webkitSpeechRecognition();
recognition.onresult = function(event) {
console.log(event)
}
recognition.start();
Both firefox & Edge are developing speechRecognition()
http://caniuse.com/#feat=speech-recognition
I think this feature is only implemented in Chrome for Win/Mac/Android. That's because it's invented by Google and relies on Google's server to do the voice recognition. Any other browsers who want to implement this feature need to acquire voice recognition technology or work with a partner who has this technology. Thus I don't think this feature will be widely implemented in the near future.