Re: [csswg-drafts] [selectors] `:focus-visible` should match when focus is programmatically moved into a dialog (#7214)

Currently only Safari shows a focus ring in this scenario -- mercifully it does so for both `<dialog>` and `<div role='dialog'>` elements.

Testing heuristics of `confirm()` for guidance:

Chrome yes:
<img width="486" alt="image" src="https://user-images.githubusercontent.com/10970257/163483235-2e314520-4a85-45ea-b1f2-897534813157.png">

Safari yes:
<img width="517" alt="image" src="https://user-images.githubusercontent.com/10970257/163483314-65d1ab18-6bad-42d5-ae34-ad1da48a2fc1.png">

Firefox no:
<img width="442" alt="image" src="https://user-images.githubusercontent.com/10970257/163483275-696520a5-cb6c-4c2e-a15e-fc0691bc7abc.png">

-- 
GitHub Notification of comment by craigkovatch
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7214#issuecomment-1099666734 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 14 April 2022 22:05:41 UTC