Bug 122208 - WebSpeech: SpeechSynthesisUtterance does not strip XML from SSML text; speaks literal markup
Summary: WebSpeech: SpeechSynthesisUtterance does not strip XML from SSML text; speaks...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-10-02 01:20 PDT by James Craig
Modified: 2019-09-06 10:35 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2013-10-02 01:20:10 PDT
WebSpeech: SpeechSynthesisUtterance does not strip XML from SSML text; speaks literal markup.

From https://dvcs.w3.org/hg/speech-api/raw-file/9a0075d25326/speechapi.html#utterance-attributes
"[the text] may be either plain text or a complete, well-formed SSML document. [SSML] For speech synthesis engines that do not support SSML, or only support certain tags, the user agent or speech engine must strip away the tags they do not support and speak the text."


XML markup examples in the SSML spec:
http://www.w3.org/TR/speech-synthesis/
Comment 1 Radar WebKit Bug Importer 2013-10-02 01:20:24 PDT
<rdar://problem/15129950>
Comment 2 James Craig 2016-06-04 16:44:54 PDT
Related to the larger SSML TLF bug 158387
Comment 3 James Craig 2016-10-21 22:00:59 PDT
Mark Hakkinen from Education Testing Service (ETS) mentioned they are having to work around this bug now.
Comment 4 Philip Jägenstedt 2018-08-29 04:42:06 PDT
Relevant spec issue: https://github.com/w3c/speech-api/issues/37