Add voice search button to searchbox#5258
Conversation
| 'microphone' => 'FontAwesome:microphone', | ||
| 'lightbox-close' => 'FontAwesome:times', | ||
| 'link' => 'FontAwesome:link', |
There was a problem hiding this comment.
(preserve alphabetic sorting)
Yes, I think an option which enables it would be desired (with default setting = disabled). |
|
I made it configurable with disabled by default. |
|
@xmorave2, could you please rebase your commits and fix the merge conflicts? |
|
@stweil I have rebased it on current dev branch |
|
This works pretty well! I wonder if it would be a better user experience if the search directly triggers instead of users having to press the search button afterwards. |
Currently I have to press the microphone button, then speak, then press the search button. For a few short search terms the speech input does not help a lot. This would be different as soon as the search input can be a longer free text which is handled by an AI search. |
|
I still struggle with the configuration. Setting |
This PR adds an voice search button to search form
Does work in Chrome
For Firefox, the use has to set
media.webspeech.recognition.enabletotrueat about:configThis is proof of concept, we probably want it to make it optional for production