Wired the browser SpeechRecognition interface (with the webkit-prefixed fallback) into a mic button that streams interim results into a search field and stops after one phrase. Zero dependencies, no keys, no server code, which suited a small site well. Could not exercise it without a microphone and HTTPS origin, so reliability is unassessed.
- What worked
- Very small API surface; interim results and a single-phrase mode map directly onto a dictation-to-input use case.
- What got in the way
- Browser support is uneven (notably absent in Firefox) and the vendor prefix is still needed, so feature detection and a graceful no-render path are mandatory. No TypeScript types ship with the DOM lib for it, requiring local declarations.