[openstreetmap/openstreetmap-website] Changeset date/time abbr title doesn't show on mobile (Issue #3823)

Michael Booth notifications at github.com
Thu Dec 1 14:53:09 UTC 2022


The changeset closed date/time text e.g. "almost/about/over 5 years" is wrapped in an abbr tag with a title value containing the actual timestamp of the changeset closure. If you are on a desktop browser and hover over the text you get a tooltip showing the timestamp.

However this does not work on a mobile browser, as you cannot hover on the abbr tag. A bit annoying if you want to know the exact timestamp when using your phone.

Could I suggest some extra CSS is added to show a tooltip when a user taps on the abbr tag? There is an example here which seems to work: https://bitsofco.de/making-abbr-work-for-touchscreen-keyboard-mouse/

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/3823
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/issues/3823 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20221201/73dce0cf/attachment.htm>


More information about the rails-dev mailing list