Speech Recognition in Web Form

Now a days we use speech recognition in various handhold devices like smart phones, tablets etc. Like saying “play album” will start play your album, “open calculator” will open calculator etc.

Lets come to web forms. How about there are a search field and you are searching for contacts by saying “contacts” or filling up name field by saying “John”.
This is very helpful for inputting long sentences and difficult words.

Lets Try to Implement Such Fields which will Recognize Voice:-

Don’t worry, not a difficult one. “x-webkit-speech” will do the magic. Add “x-webkit-speech” with your input fields in this way.

<input type=”text” name=”comment” value=”” x-webkit-speech />

You are done. J You can see something like this in chrome browser. Note that I have not added speech recognition for phone field.

Speech Recognition in web form

Speech Recognition in web form

Have some Drawbacks:-

  • This feature works only in browsers which use the webkit rendering engine (ex: Google Chrome version 11 and above). This is a very useful feature which will probably become popular in all browsers by default soon


  • Need internet connection because speech recognition needs internet connection

Written By: Biswajit Maji, Software Developer, Mindfire Solutions


Posted on September 19, 2013, in General, PHP and tagged , , , , , , , , . Bookmark the permalink. 2 Comments.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: