Bug 273619 - AX: Status not announced in shadow root
Summary: AX: Status not announced in shadow root
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: WebKit Nightly Build
Hardware: Mac (Apple Silicon) macOS 14
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2024-05-02 03:25 PDT by Istvan Tutto
Modified: 2024-05-07 10:17 PDT (History)
3 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 2024-05-02 03:25:39 PDT
An element with `role=status` attribute should announce updates within its descendants when using VoiceOver.
This works well in a regular case, however it is broken when the descendants are provided via a `<slot>` element within a shadowRoot.

How to recreate:
Start Safari plus VoiceOver and visit the simplified demo: https://codepen.io/istutto/pen/LYvKPdY
Select the button "Add message to nested status" and note how the added message is not automatically announced by VoiceOver.
For comparison, click the "Add message to Status" button and you'll find that the message is announced.
Comment 1 Radar WebKit Bug Importer 2024-05-02 03:26:38 PDT
<rdar://problem/127419085>