Our <abbr> -tag doesn't work in mobile browsers, because there is no "mouse" to hover above.¹
This page https://www.audero.it/blog/2013/12/23/enhancing-the-abbr-element-on-mobile/ suggests a workaround by using fancy CSS code to dynamically enhance abbr-tags to show the message.
I've tested it in my On-Site CSS Markup, but unfortunately I couldn't make it work.
I'm too ignorant about CSS to tell if it ever worked or if I did it wrong.
Interestingly did Corion recently suggest a new HTML way to reveal text on click, using <details><summary> :
Click here to reveal spoiler
Here is the hidden content
It would be nice if someone tried to combine the two approaches in a way that clicking on an abbreviation revealed the title text. Such a pure CSS solution has many advantages.
You can use your CSS markup settings for that.
I'm too busy to experiment right now, but wanted at least leave a note for others or for a future me. :)
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
1) Perl Monks Approved HTML tags
In reply to Workarounds for <abbr> tag on mobile browsers by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |