[Webkit-unassigned] [Bug 236322] Dialog's "previously focused element" and focus-visible

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 9 08:01:50 PST 2022


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

--- Comment #2 from Darin Senneff <darin.senneff at gmail.com> ---
Yup, I get the non-focusable button if the <dialog> is opened and closed with a mouse. And that if its opened and closed with a keyboard that the button does get focus. 

But what if the <dialog> is opened with a mouse but closed with a keyboard? Since the element autofocuses a button upon opening (and can be closed with the ESC key), it's likely that some users will switch to a keyboard after originally opening the <dialog> with their mouse/finger. In those cases, doesn't it make sense to put keyboard focus to the button?

-- 
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/20220209/2d5c5db6/attachment.htm>


More information about the webkit-unassigned mailing list