Bug 266717

Summary: AX: Default contents of child slot are not used for accessible name
Product: WebKit Reporter: Steve Repsher <steverep+webkit>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Critical CC: andresg_22, tyler_w, webkit-bug-importer
Priority: P1 Keywords: HasReduction, InRadar, Regression
Version: Safari 17   
Hardware: iPhone / iPad   
OS: iOS 17   
See Also: https://github.com/home-assistant/frontend/issues/18759
Attachments:
Description Flags
Minimal repro with and without slotted name none

Steve Repsher
Reported 2023-12-20 11:13:39 PST
Created attachment 469147 [details] Minimal repro with and without slotted name VoiceOver does not read the contents of a label provided as the default contents of a child slot when the ARIA role is outside the shadow root. See the attached minimal reproduction. Note that if the `div` is removed from the shadow DOM, then the default label will be consumed as expected.
Attachments
Minimal repro with and without slotted name (628 bytes, text/html)
2023-12-20 11:13 PST, Steve Repsher
no flags
Radar WebKit Bug Importer
Comment 1 2023-12-20 11:13:55 PST
Tyler Wilcock
Comment 2 2023-12-29 12:18:58 PST
This is fixed by: https://bugs.webkit.org/show_bug.cgi?id=266916 Thanks for taking the time to file these bugs and create minimal reproductions, each was helpful.
Tyler Wilcock
Comment 3 2023-12-29 12:19:22 PST
*** This bug has been marked as a duplicate of bug 266916 ***
Note You need to log in before you can comment on or make changes to this bug.