[openstreetmap/openstreetmap-website] Language selection enhancements (PR #6412)
Pablo Brasero
notifications at github.com
Thu Sep 25 12:12:51 UTC 2025
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/c3333650335 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250925/a09ecb3c/attachment.htm>
More information about the rails-dev
mailing list