[Webkit-unassigned] [Bug 277268] New: AX: VoiceOver doesn't announce position of input[type="radio"] in shadow Doms
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jul 29 11:00:09 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=277268
Bug ID: 277268
Summary: AX: VoiceOver doesn't announce position of
input[type="radio"] in shadow Doms
Product: WebKit
Version: Safari 17
Hardware: All
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: arun1411999 at gmail.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
I have a fieldset as radiogroup in a web component named `<simple-fieldset>`
And I have input[type="radio"] in another web component named `<simple-input>`
If I write ,
<simple-fieldset>
<simple-input></simple-input>
<simple-input></simple-input>
</simple-fieldset>
When I focus on first radio input, voiceover should announce as 'radio button 1 of 2' and when I focus on second radio input, voiceover should announce as 'radio button 2 of 2'.
But it always announces 'radio button 1 of 1' for both the radio inputs. But the same scenario works fine with NVDA and narrator.
It is working fine in voiceover without shadow boundaries.
Additional Info : If I wrap the input[type="radio"] with a <div role="radio"></div> and gave role as radio, it works fine. It seems it always avoid the input[type="radio"] to the group across shadow boundaries. If radiogroup and radio role will not work across shadow boundaries, then it should not have worked for the div with role radio.
I have provided all the three scenarios (here)[https://stackblitz.com/edit/vitejs-vite-t7rn2h?file=src%2Fmain.ts,src%2Finput.ts]
1) fieldset in a different shadow root and input[type="radio"] in a different shadow root => doesn't works
2) both fieldset and input[type="radio"] in same shadow DOM => works
3) fieldset in a different shadow root and input[type="radio"] in a different root but, input is wrapped with a div of role as radio => works
Please help me in this
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240729/b3531c4b/attachment.htm>
More information about the webkit-unassigned
mailing list