Open rebeccaalpert opened 1 week ago
Firefox doesn't support SpeechRecognition out of the box: https://developer.mozilla.org/en-US/docs/Web/API/SpeechRecognition#browser_compatibility
However, it appears there is a feature flag that can be turned on: https://wiki.mozilla.org/Web_Speech_API_-_Speech_Recognition
You will see a microphone button in the message bar if the prop
hasMicrophoneButton
is passed in to the message bar in Chrome and Safari. The button will only appear if'SpeechRecognition'
or'webkitSpeechRecognition'
are available inwindow
. This does not currently work in Firefox.I think is code that was originally from a demo. PatternFly is held to something of a higher standard here - we should explore a solution for Firefox in the near future.