Re: [csswg-drafts] [selectors] :focus-visible matches on initial programmatic focus (#5885)

Is there any plan to remove this ":focus-visible matches on initial programmatic focus" heuristic? I have experienced two bugs with is:

1. https://github.com/mui/material-ui/issues/23747
2. https://next.mui.com/ `:focus-visible` triggers but feels like it makes no sense in this context:

https://github.com/user-attachments/assets/7f531d12-ee7b-44f0-a75e-848f857cc166


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


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

Received on Saturday, 13 July 2024 23:39:24 UTC