Closed Bug 2053547 Opened 4 months ago Closed 19 days ago

Speech recognition icon is not shown in https://speechnotes.co/dictate/

Categories

(Web Compatibility :: Site Reports, defect, P2)

Firefox 154
x86_64
Windows 10

Tracking

(Webcompat Priority:P2, Webcompat Score:6, firefox154 affected, firefox160 verified)

VERIFIED FIXED
Webcompat Priority P2
Webcompat Score 6
Tracking Status
firefox154 --- affected
firefox160 --- verified

People

(Reporter: RainerBielefeldNG, Unassigned)

References

()

Details

(Keywords: webcompat:platform-bug, webcompat:site-report, Whiteboard: [autowebcompat:processed][autowebcompat:repro-success])

User Story

platform:windows,mac,linux,android
impact:workflow-broken
configuration:general
affects:all
branch:release
diagnosis-team:dom
user-impact-score:400
autowebcompat-repro-status:success
autowebcompat-repro-chrome-mask-fixed:false

Attachments

(2 files)

STR with FF 154.0a1 (2026-07-08) (64-Bit) latest Trunk on WIN:

  1. visit https://speechnotes.co/dictate/ → Select Language "English HK"
    » You will see some instructions, on top "Click the mic to start dictating"
    Expected: Some mic icon
    Actual: can't find any mic 😥
  2. Try with other Browser (I used Vivaldi")
    » As expected there is a mic Icon – right from Language selector

This website relies on non-standard webkitSpeechRecognition API.

https://speechnotes.co/dictate/resources/scriptB6.min.js

function upgrade() {
  start_button.style.visibility = 'hidden';
}
...
if (!('webkitSpeechRecognition' in window)) {
  upgrade()
} else {
  start_button.style.display = 'inline-block';

The speech recognition API implementation is tracked in bug 1940906, but the webkitSpeechRecognition usage may need some more intervention or something.

Component: Report Broken Site → Site Reports
Depends on: webspeechondevice
Product: Firefox → Web Compatibility
Summary: Missing Icon in Web Page Contents → Speech recognition icon is not shown in https://speechnotes.co/dictate/
Whiteboard: [autowebcompat:processed]

The reported issue reproduces in Firefox 154. At https://speechnotes.co/dictate/ the instructional text "Click the mic to start dictating" is shown, but no mic (start) button is visible next to the language selector. Inspection showed the #start_button element has computed style visibility:hidden. This matches the report: the site's script calls upgrade() (which hides the start button) when 'webkitSpeechRecognition' is not present in window, and Firefox does not expose that non-standard API (both 'webkitSpeechRecognition' and 'SpeechRecognition' were absent).

Enabling Chrome Mask for speechnotes.co did NOT fix the issue. After adding the site and reloading, navigator.userAgent correctly reported a Chrome UA (Chrome/150.0.0.0), confirming the mask was active, but 'webkitSpeechRecognition' was still absent from window and #start_button remained visibility:hidden — the mic icon was still missing. Chrome Mask only spoofs the User-Agent string; it does not add the actual speech-recognition API the site relies on, so the mic did not appear.

Whiteboard: [autowebcompat:processed] → [autowebcompat:processed][autowebcompat:repro-success]

The bug has a release status flag that shows some version of Firefox is affected, thus it will be considered confirmed.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Severity: S3 → S2
User Story: (updated)
Webcompat Priority: --- → P2
Webcompat Score: --- → 6
Priority: P3 → P2
User Story: (updated)
Status: NEW → RESOLVED
Closed: 19 days ago
User Story: (updated)
Resolution: --- → FIXED

Verified, the issue no longer reproduces.

Tested with:

  • Browser / Version: Firefox 160.0-candidate build 1
  • Operating System: Windows 10
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: