Bug 244333

Summary: Voice over doesn't announce image in contenteditable div
Product: WebKit Reporter: honma
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: andresg_22, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: iPhone / iPad   
OS: All   
Attachments:
Description Flags
dome app
none
Screenshots none

Description honma 2022-08-25 07:57:29 PDT
Created attachment 461857 [details]
dome app

* SUMMARY
Webkit accessibility: Voice over doesn't announce image in contenteditable div

* STEPS TO REPRODUCE
1. Build the demo project in attachment
2. Enable voice over and navigate to the content filed

* RESULTS
When focused on the div, only plaintext are announced, image is ignored. However, Note app can announce text and image at the same time. So, this should be a bug of Webkit.
The image is in the hierarchy as other text and it has an alt text.
Screen Shot 2022-07-28 at 22.51.59.png

* NOTES
There is no way to change it. We tried to override `aria-description/descripedby`, `aria-valuetext` and some other property, none of them can help.

Repros with both Xcode 13.4.1 & iOS 15.6 and Xcode 14 beta & iOS 16.
Comment 1 Radar WebKit Bug Importer 2022-08-25 07:57:39 PDT
<rdar://problem/99137517>
Comment 2 honma 2022-08-25 08:00:45 PDT
Created attachment 461858 [details]
Screenshots