[openstreetmap/openstreetmap-website] Switch reverse_directions link to use a button (PR #3644)
Andy Allan
notifications at github.com
Wed Aug 3 13:15:47 UTC 2022
This makes it keyboard selectable, and also preserves the event handler.
I had originally looked at using `tabindex="0"` to make the link itself selectable, but then the onclick event doesn't fire, so I went with using a button instead.
Refs #3637
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/openstreetmap-website/pull/3644
-- Commit Summary --
* Switch reverse_directions link to use a button
-- File Changes --
M app/assets/stylesheets/common.scss (4)
M app/views/layouts/_search.html.erb (2)
-- Patch Links --
https://github.com/openstreetmap/openstreetmap-website/pull/3644.patch
https://github.com/openstreetmap/openstreetmap-website/pull/3644.diff
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/3644
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/3644 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20220803/f456dac4/attachment.htm>
More information about the rails-dev
mailing list