Skip to content

[web-speech-api] Fixes speech utterance not stopping on reload in Chromium browsers #307

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

4rnv
Copy link

@4rnv 4rnv commented May 25, 2025

Description: In the speech synthesis example at https://mdn.github.io/dom-examples/web-speech-api/speak-easy-synthesis/, the speech playback stops upon reloading the page in Firefox, but not in Chromium-based browsers (Brave, Edge, etc). The only way to stop the playback midway in Chromium is to close the tab or the browser itself. This inconsistency can be avoided by explicitly calling the speechSynthesis.cancel() method every time a window is closed or reloaded.

@4rnv 4rnv requested a review from a team as a code owner May 25, 2025 20:41
@4rnv 4rnv requested review from pepelsbey and removed request for a team May 25, 2025 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant