Bug 266717 - AX: Default contents of child slot are not used for accessible name
Summary: AX: Default contents of child slot are not used for accessible name
Status: RESOLVED DUPLICATE of bug 266916
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 17
Hardware: iPhone / iPad iOS 17
: P1 Critical
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar, Regression
Depends on:
Blocks:
 
Reported: 2023-12-20 11:13 PST by Steve Repsher
Modified: 2023-12-29 12:19 PST (History)
3 users (show)

See Also:


Attachments
Minimal repro with and without slotted name (628 bytes, text/html)
2023-12-20 11:13 PST, Steve Repsher
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Repsher 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.
Comment 1 Radar WebKit Bug Importer 2023-12-20 11:13:55 PST
<rdar://problem/119944830>
Comment 2 Tyler Wilcock 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.
Comment 3 Tyler Wilcock 2023-12-29 12:19:22 PST

*** This bug has been marked as a duplicate of bug 266916 ***