Mar 14, 2014

attribute x-webkit-speech deprecated aka the Voice Driven Web Apps saga begins


Today when debugging my web, I saw this messing in the console:

The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.
Ok I used the Chrome feature on one of my textboxes:
<input id="q" x-webkit-speech="" onwebkitspeechchange="transcribe(this.value);" placeholder="Enter search term" name="q" onfocus="if(this.value=='Enter search term') this.value = '';" onblur="if (this.value=='' ) this.value = 'Enter search term';" type="text" maxlength="100" value="" autocomplete="off">
It is to create this effect:


You can try it yourself (if you’re on Chrome):

So, Google is deprecating x-webkit-speech feature on Chrome/Chromium. What’s next ? Using Javascript speech API or HTML5? Welcome to the new saga.

Anyway, if you’re interested, continue to read on at

No comments:

Post a Comment