[Webkit-unassigned] [Bug 277417] New: AX: Focus is trapped when focus is programmatically moved to a button with aria-describedby

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 31 04:40:17 PDT 2024


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

            Bug ID: 277417
           Summary: AX: Focus is trapped when focus is programmatically
                    moved to a button with aria-describedby
           Product: WebKit
           Version: Safari 17
          Hardware: iPhone / iPad
                OS: iOS 17
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: nick at redkiteda.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

If you programmatically move focus to a button (and possibly other controls, not yet tested) that has an aria-describedby link, focus becomes trapped if you try navigating by button (swipe down/up), but not if you navigate by next/previous item (swipe right/left).

Test code: https://codepen.io/nbromley/pen/JjQWPmg

Replication steps
-----------------
- Turn on VoiceOver and select Buttons from the Rotor
- Navigate the three buttons (Start, Close, More) by swiping down/up; note how focus is not trapped
- Navigate to the Start button and activate it
- Note how focus is automatically moved to the Close button
- Swipe down/up; note how focus is trapped on the Close button
- Swipe left/right; note how focus is not trapped
- Swipe down/up: note how focus is no longer trapped on the Close button

Expected behaviour
------------------
Focus should not be trapped when focus is programmatically moved to a control with the aria-describedby attribute.

-- 
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/20240731/7b82a293/attachment-0001.htm>


More information about the webkit-unassigned mailing list