Bug 223473

Summary: SpeechSynthesis should honor audioPlaybackRequiresUserGesture setting on iOS
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: AccessibilityAssignee: Timothy Hatcher <timothy>
Status: RESOLVED FIXED    
Severity: Normal CC: cfleizach, jcraig, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Local Build   
Hardware: iPhone / iPad   
OS: iOS 14   
Attachments:
Description Flags
Patch
ews-feeder: commit-queue-
Patch none

Timothy Hatcher
Reported 2021-03-18 12:57:02 PDT
iOS always requires a gesture for SpeechSynthesis to speak. But we should allow it to honor the existing audioPlaybackRequiresUserGesture setting.
Attachments
Patch (4.37 KB, patch)
2021-03-18 12:59 PDT, Timothy Hatcher
ews-feeder: commit-queue-
Patch (4.53 KB, patch)
2021-03-18 13:13 PDT, Timothy Hatcher
no flags
Radar WebKit Bug Importer
Comment 1 2021-03-18 12:57:25 PDT
Timothy Hatcher
Comment 2 2021-03-18 12:59:53 PDT Comment hidden (obsolete)
Timothy Hatcher
Comment 3 2021-03-18 13:13:18 PDT
chris fleizach
Comment 4 2021-03-18 13:32:45 PDT Comment hidden (obsolete)
chris fleizach
Comment 5 2021-03-18 13:32:46 PDT
Comment on attachment 423641 [details] Patch Do we have to worry about that setting changing after document load?
Timothy Hatcher
Comment 6 2021-03-18 13:55:02 PDT
(In reply to chris fleizach from comment #5) > Comment on attachment 423641 [details] > Patch > > Do we have to worry about that setting changing after document load? None of the other places that use this setting worry about that. Also this is checked at time of SpeechSynthesis creation, so any changes before that will be picked up.
EWS
Comment 7 2021-03-18 15:52:53 PDT
Committed r274678: <https://commits.webkit.org/r274678> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423641 [details].
Note You need to log in before you can comment on or make changes to this bug.