WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
245549
AX: Focusable Elements in shadowroots in modal <dialog> not announced
https://bugs.webkit.org/show_bug.cgi?id=245549
Summary
AX: Focusable Elements in shadowroots in modal <dialog> not announced
Elliott Marquez
Reported
2022-09-22 17:37:32 PDT
If you have focusable elements inside of a shadow root inside of a `<dialog>` element that has been opened with `dialog.showModal()`, the focusable elements are not announced by VoiceOver. Here is a reproduction:
https://lit.dev/playground/#gist=8fb2373fd14faaf8f763e14a354dc4b5
Dialogs opened normally are fine, it just seems to be dialogs opened with `showModal/90`.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2022-09-22 17:37:45 PDT
<
rdar://problem/100302206
>
Kevin Zolkiewicz
Comment 2
2023-01-24 15:37:17 PST
I've just ran into this one as well. Slotted elements can not be navigated to using VoiceOver. The issue only seems to occur when calling the `showModal()` method; it does not occur if the dialog is rendered with the `open` attribute. This issue remains present in Safari 16.3 and Safari Technology Preview Release 161. It also affects Mobile Safari in iOS 16.3. The issue does not occur when using VoiceOver with Chrome 109 or Firefox 110. Another reproduction:
https://codepen.io/zolk/pen/BaPrBjB
Tanel Terras
Comment 3
2023-04-26 06:30:02 PDT
This particular problem with slotted elements not read by Voiceover is also present when using a simple `div` element with `role="dialog"`. I feel like these cases are handled the same internally and therefore these issues are connected to each other? I hope for a clarification if this should be reported separately as reproduction case for role="dialog" with slots and the whole opening/closing logic would be quite a work.
Tyler Wilcock
Comment 4
2023-04-29 18:41:50 PDT
I think the original issue was fixed with this bug:
https://bugs.webkit.org/show_bug.cgi?id=247134
I can't reproduce any issue with the latest WebKit. Elliot, could you please confirm in a recent STP? I can reproduce the issue with slotted elements and have filed a separate bug:
https://bugs.webkit.org/show_bug.cgi?id=256141
Tyler Wilcock
Comment 5
2023-04-29 19:24:50 PDT
(In reply to Tyler Wilcock from
comment #4
)
> I think the original issue was fixed with this bug: > >
https://bugs.webkit.org/show_bug.cgi?id=247134
> > I can't reproduce any issue with the latest WebKit. Elliot, could you please > confirm in a recent STP? > > I can reproduce the issue with slotted elements and have filed a separate > bug: > >
https://bugs.webkit.org/show_bug.cgi?id=256141
Elliott, not Elliot -- sorry for the misspelling.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug