[Webkit-unassigned] [Bug 247134] New: AX: VoiceOver highlight does not move to Shadow DOM button when using aria-modal and role

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 27 09:39:59 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=247134

            Bug ID: 247134
           Summary: AX: VoiceOver highlight does not move to Shadow DOM
                    button when using aria-modal and role
           Product: WebKit
           Version: Safari 16
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ldebeasi at gmail.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 463275

  --> https://bugs.webkit.org/attachment.cgi?id=463275&action=review

Code reproduction

VoiceOver does not highlight buttons in the Shadow DOM when using aria-modal and role="dialog" on the same element.

Steps to reproduce:

1. Open code reproduction on iOS.
2. Turn VoiceOver on.
3. Swipe to the right. Observe that VoiceOver announces "Before Button".
4. Swipe to the right. Observe that VoiceOver announces "After Button".


Expected Behavior:

When swiping right in step 4, I expect VoiceOver to announce "Button One".


Actual Behavior:

VoiceOver skips the button and announces "After Button" instead.


Other Information:

- This also happens with role="alertdialog"
- Moving the role to a child element inside of the modal avoids the issue.
- This issue also happens on Safari for macOS.
- This issue does not occur on Chrome for Android

-- 
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/20221027/ee7cf984/attachment-0001.htm>


More information about the webkit-unassigned mailing list