Google Product Forums

Re: Voice Search in Custom Search?

YvoS Apr 20, 2012 5:37 AM
Posted in group: Google Custom Search

Categories: Creating and Editing :

Voice search is a function part of only the Chrome browser... the search input form element needs a: <input name="q" x-webkit-speech="x-webkit-speech"> attribute. Given the CSE code creates the search input form for you, you would need to hack it in manually or create your own search form like this:

<form class="search" action="/search">
   <input type="text" name="q" class="search_box" placeholder="Search..." value="" x-webkit-speech="">
</form>