Bug 264926

Summary: AX: Slotted textnode visibility update is not reflected in ARIA tree
Product: WebKit Reporter: Istvan Tutto <istvantutto>
Component: AccessibilityAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: andresg_22, steverep+webkit, tyler_w, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari 17   
Hardware: All   
OS: All   

Description Istvan Tutto 2023-11-15 23:55:25 PST
If a custom element with a button and a default slot inside its shadowdom is mounted with visibility: hidden, then even after the visibility update, the assigned textnode for the button's label is ignored.

Demo:
https://codepen.io/istutto/pen/xxMPrZK
Comment 1 Radar WebKit Bug Importer 2023-11-15 23:55:34 PST
<rdar://problem/118496530>
Comment 2 Tyler Wilcock 2023-11-16 18:27:53 PST
I believe this is fixed by:

https://bugs.webkit.org/show_bug.cgi?id=264410
Comment 3 Tyler Wilcock 2024-05-02 07:39:08 PDT
Thanks for confirming this is fixed!