Open Bug 1408158 Opened 8 years ago Updated 3 years ago

window.speechSynthesis.speak adds "ER" when text passed as variable. Doesn't add "ER" when text passed delimited by quotes. How do suppress "ER" at end of spoken text pased as a variable?

Categories

(Core :: Web Speech, defect)

56 Branch
defect

Tracking

()

UNCONFIRMED

People

(Reporter: sandymary, Unassigned)

Details

Attachments

(1 file)

Attached file OlderRandom3.php
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:56.0) Gecko/20100101 Firefox/56.0 Build ID: 20170926190823 Steps to reproduce: I tried passing variable from php to js script encased in quotes. Does not work. Tried json_encode(). Doesn't work. Developing test for children under 5. Need text to speech to work without the "ER" at the end of each statement. Actual results: window.speechSynthesis.speak() works quoting variable text but adds "ER" to end of statement. File with problem: http://www.assessmentandfamilytherapyofnwohio.org/ERG/OlderRandom3.php?patID=9 Lines 211-222 Expected results: repeat text as speech without "ER" added to end of statement.
Component: Untriaged → Web Speech
Product: Firefox → Core
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: