Abbreviations can add semantics and also improve accessibility. They are mentioned #2063843: Body: * More information about formatting options but not sure that they have ever been active on d.o.
I actually started thinking about this when looking at http://www.fontshop.com/education/pdf/typo_tips.pdf
We don't have a means of including this type of typography easily. I like the idea of formatting them with font-variant:small-caps;
Anyways, just a nice to have.
Issue fork drupalorg-2233571
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #1
mgiffordMoving to Code as per @dddave
Comment #2
james.williamsI'd agree with this suggestion. As a vague workaround, we can use
<a title="...">, but that's really misusing the anchor element when the abbreviation element should be used. I've had to do this in my table headers on https://www.drupal.org/project/etssef, for example.As for theming, dotted underlines seem to be a common styling for abbr tags. I don't know if that's just default styling in all browsers, it is in Chrome at the moment at least. I'm not aware of a need to customise their styling anyway.
Comment #3
james.williamsI've pushed a commit to the issue fork that would allow abbr tags. (My first time using the issue fork system, I hope it's ok!)
Comment #6
drummThanks! I made one more commit here, so CKEditor doesn’t remove these tags on places where it is enabled. And I updated the content type used by the Drupal User Guide too, for consistency, and in case it uses abbreviations too. It is now deployed to Drupal.org.
Comment #7
james.williamsAmazing, thank you!