pablobm left a comment (openstreetmap/openstreetmap-website#6412)
Very edge-case behaviour I noticed (Firefox and Chrome). When the modal is
closed with the mouse, the focus returns to the "change language" button, but
it's not `:focus-visible`. The focus is visible when closing with the keyboard
(eg: escape, or tab to the close icon). I guess it's some browser heuristic at
play. I can't force it with `focus({focusVisible: true})`.
Not sure it's a big deal, but I thought I'd mention it.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6412#issuecomment-3333650335
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6412/c3333650...@github.com>
_______________________________________________
rails-dev mailing list
rails-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/rails-dev