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

Command icon 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:

  • 2233571-abbr Comparecompare

Comments

mgifford’s picture

Component: User interface » Code

Moving to Code as per @dddave

james.williams’s picture

Issue tags: +Accessibility

I'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.

james.williams’s picture

Status: Active » Needs review

I'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!)

drumm made their first commit to this issue’s fork.

  • drumm committed b746dc1 on 7.x-3.x
    Issue #2233571: Allow the ABBR Tag in Filtered HTML Text Format
    
drumm’s picture

Status: Needs review » Fixed

Thanks! 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.

james.williams’s picture

Amazing, thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.