[Webkit-unassigned] [Bug 233654] New: AX: Keyboard focus not restored for back fragment navigations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 30 12:23:56 PST 2021


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

            Bug ID: 233654
           Summary: AX: Keyboard focus not restored for back fragment
                    navigations
           Product: WebKit
           Version: Safari 15
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: me at westonthayer.com
                CC: andresg_22 at apple.com,
                    webkit-bug-importer at group.apple.com

Created attachment 445453

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

Simple fragment demo page

Steps to reproduce:

1. Open focus-restoration.html
2. TAB to the "Section 3" link in the table of contents and press ENTER. Firefox navigates to the #sec3 fragment (added to history stack, page scrolls, sequential focus navigation starting point is at <h2 id="sec3">)
3. Go back with ALT/CMD + RIGHT_ARROW

Actual results:
Focus and sequential focus navigation starting point remains where it was after step (2).

Expected results:
As a user, I'd expect focus to be restored to <a href="#sec3">Section 3</a> so I could continue to navigate the table of contents with my keyboard. The spec (https://html.spec.whatwg.org/multipage/browsing-the-web.html#scroll-to-fragid) suggests that focus should move to <body> and sequential focus navigation starting point should be reset to the top of the document.

-- 
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/e575e6eb/attachment.htm>


More information about the webkit-unassigned mailing list