[Webkit-unassigned] [Bug 236598] New: AX: manually blurring a focused element resets tab navigation to the start of the document
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Feb 14 10:30:10 PST 2022
https://bugs.webkit.org/show_bug.cgi?id=236598
Bug ID: 236598
Summary: AX: manually blurring a focused element resets tab
navigation to the start of the document
Product: WebKit
Version: Safari 15
Hardware: All
OS: macOS 10.15
Status: NEW
Severity: Normal
Priority: P2
Component: Accessibility
Assignee: webkit-unassigned at lists.webkit.org
Reporter: aleksandrhovhannisyan at gmail.com
CC: andresg_22 at apple.com,
webkit-bug-importer at group.apple.com
Summary: In Chrome 98 and Firefox 97, both on Windows 10 and macOS Catalina, .blurring() a focused element with JavaScript maintains a "ghost" focus state at that location in the document, such that when a user presses the tab key to navigate forward in the document, they move to the next focusable element on the page. In Safari, manually firing the .blur() event destroys keyboard focus, such that the next tab event proceeds from the start of the document rather than where it left off when .blur() was called.
Reproducible examples:
- CodePen demo of managing focus with load-more buttons and dynamically loaded content: https://codepen.io/AleksandrHovhannisyan/pen/rNGOBKv.
- Minimal toy example: https://jsfiddle.net/mujdq29k/.
Expectation: Safari should behave the same as Chrome and Firefox. Blurring a focused element should not reset focus to the start 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/20220214/8d604cd1/attachment-0001.htm>
More information about the webkit-unassigned
mailing list