Web Speech API
https://developer.mozilla.org/ja/docs/Web/API/Web_Speech_API
Text-to-SpeechとSpeech Recognitionからなる
Text-to-SpeechではOSの読み上げ機能を使用している
Chromeでは Speech Recognition の裏側でCloud Speech-to-Textを呼んでいる
sample
https://github.com/mdn/web-speech-api/blob/master/speech-color-changer/script.js
対応チェック
code:js
if ('SpeechRecognition' in window || 'webkitSpeechRecognition' in window) {
...
}