Module or title attribute may be obsolete

Created on 9 July 2025, 7 days ago

Problem/Motivation

Using abbr Element with title Attribute advises against the use of the abbr tag with or without title attribute:

Explain abbreviations, acronyms, initialisms, numeronyms, etc. on first use and then feel free to fall back to the shortened form.

Other experts in that field seem to hold the same opinion (thanks to @rkoller for feedback).

Proposed resolution

The use of the abbr tag without title attribute might still be useful in some situations. However, removing at least the title attribute from the module may users become aware of the issues.

Or following the author's clarification in https://adrianroselli.com/2024/01/using-abbr-element-with-title-attribute.html#comment-281124 mark the entire module as obsolete:

No code needed (nor warranted).

📌 Task
Status

Active

Version

5.0

Component

User interface

Created by

🇨🇭Switzerland boromino

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @boromino
  • 🇨🇦Canada mparker17 UTC-4

    My customer has a lot of content (~500,000 nodes), a lot of editors, and a lot of jargon (which is often abbreviated); so they have written a web content style guide to help editors write consistently across all those pages — and the guide says when it makes sense to use an abbr tag (or not).

    CKEditor Abbreviation helps my customer because it makes it easy to work with abbr tags without editing the page source, which is particularly useful in some of the longer pieces of content (one particularly popular page has 1 abbr tag amongst ~5900 words, at time-of-writing).

    Based on the article you linked, I think it makes sense for people using CKEditor Abbreviation to re-evaluate whether abbr still belongs in their style guides — but even if they decide to remove it from their style guide, they will still need a way to work with it in their old content without editing the source code.

    I guess what I'm trying to say is, I think it should be up to the end-users of Drupal to decide whether they should be using the abbr tag — but until CKEditor drops support, and/or the W3C removes/deprecates the abbr tag from the HTML specification, I think the CKEditor Abbreviation module will still be useful for people who have abbr tags in their content (even if it's just to help them remove the abbr tags without editing the page source).

Production build 0.71.5 2024