[Webkit-unassigned] [Bug 233645] New: VoiceOver does not announce custom element focused with delegatesFocus

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 30 10:41:51 PST 2021


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

            Bug ID: 233645
           Summary: VoiceOver does not announce custom element focused
                    with delegatesFocus
           Product: WebKit
           Version: Safari 15
          Hardware: Unspecified
                OS: Unspecified
            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 445439

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

Code reproduction

When focusing a custom element that uses `delegatesFocus`, VoiceOver does not announce the element despite it being focused.

Steps to reproduce:

1. Open attached code reproduction on an iOS device.
2. Enable VoiceOver.
3. Inspect this page in Safari Developer Tools.
4. Run "document.querySelector('app-button').focus()". Observe that VoiceOver does not read the button component even though focus is shifted to it.
5. Run "document.querySelector('button').focus()". Observe that VoiceOver does read the button.
6. Run "document.querySelector('app-button').focus()" again. Observe that VoiceOver reads the button component this time.

Expected Behavior:

I would expect VoiceOver to announce the text of the custom element every time focus moves to it.

Actual Behavior:

VoiceOver only announces the text of the custom element after first focusing something in the light DOM such as a button.

Other Information:

- I can reproduce this on iOS 15.1 as well as the iOS 15.2 developer beta.
- This issue does not reproduce on Safari for macOS.
- This issue does not reproduce in Chrome.

-- 
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/20211130/f3f5c120/attachment-0001.htm>


More information about the webkit-unassigned mailing list