Bug 264926 - AX: Slotted textnode visibility update is not reflected in ARIA tree
Summary: AX: Slotted textnode visibility update is not reflected in ARIA tree
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: Safari 17
Hardware: All All
: P2 Major
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-11-15 23:55 PST by Istvan Tutto
Modified: 2024-05-02 07:39 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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!