Bug 259030 - REGRESSION (macOS Sonoma): Unexpected speech synthesis behavior for unordered lists
Summary: REGRESSION (macOS Sonoma): Unexpected speech synthesis behavior for unordered...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: Safari 17
Hardware: Mac (Apple Silicon) Other
: P2 Minor
Assignee: Andres Gonzalez
URL:
Keywords: InRadar
: 259520 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-09 03:37 PDT by Ethan Wong
Modified: 2023-07-28 08:14 PDT (History)
12 users (show)

See Also:


Attachments
Patch (10.51 KB, patch)
2023-07-27 11:54 PDT, Andres Gonzalez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ethan Wong 2023-07-09 03:37:27 PDT
Steps to reproduce (14.0 Beta (23A5286g)):

* Open any page that contains unordered lists with bullets.

* Select the first word or entire paragraph of any list item, right click and select ’Speech’ -> ’Start Speaking'.

* The spoken content would begin with extra 'comma'.


See also for https://bugs.webkit.org/show_bug.cgi?id=259015. 

Looks like the SPI `-[NSApp speakString:]` ignores the string parameter and always speaks selected content, which causes this issue.
Comment 1 Alexey Proskuryakov 2023-07-10 13:05:58 PDT
Thank you for the report! Could you please clarify if this is Sonoma only, and works fine in Safari 16.x? It would also be good to know if this reproduces with Safari Technology Preview on macOS Ventura and/or Monterey.

We can do this regression testing ourselves, but data from you would help us stay on the same page.
Comment 2 Ethan Wong 2023-07-11 09:27:33 PDT
(In reply to Alexey Proskuryakov from comment #1)
> Thank you for the report! Could you please clarify if this is Sonoma only,
> and works fine in Safari 16.x? It would also be good to know if this
> reproduces with Safari Technology Preview on macOS Ventura and/or Monterey.
> 
> We can do this regression testing ourselves, but data from you would help us
> stay on the same page.

This issue could be reproduced on any build (including Safari, Safari Technology Preview and local WebKit builds) on macOS Sonoma developer beta 3 (23A5286g).

Not reproducible on Ventura.
Comment 3 Radar WebKit Bug Importer 2023-07-11 09:49:56 PDT
<rdar://problem/112085797>
Comment 4 Andres Gonzalez 2023-07-27 11:54:36 PDT
Created attachment 467132 [details]
Patch
Comment 5 Andres Gonzalez 2023-07-27 12:16:25 PDT
*** Bug 259520 has been marked as a duplicate of this bug. ***
Comment 6 EWS 2023-07-28 08:14:19 PDT
Committed 266383@main (61c2f70daad1): <https://commits.webkit.org/266383@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 467132 [details].