Title of the link not replaced

Created on 28 May 2025, 11 days ago

Problem/Motivation

I am not sure if this is intended, but why does only the icon display the "external link label" while hovering? If I hover the link itelf it shows: (opens in a new window)
I dont know if this happens to mailto or tel links as well.

Steps to reproduce

Check "Place an icon next to external links."
Enter something different into "external link label"
Maybe you have to check "Open external links in a new window or tab."
"Do not alter the title attribute on links." is unchecked
Hover a external link

Proposed resolution

Hovering the link should show the "external link label" as well.

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇩🇪Germany drupalbubb

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

Comments & Activities

  • Issue created by @drupalbubb
  • 🇮🇳India Tirupati_Singh

    I'll look into this.

  • 🇮🇳India Tirupati_Singh

    Hi @drupalbubb, I followed the steps to replicate the issue and was able to reproduce it. Yes, this behavior also occurs for "mailto" and "tel" links. However, this is not actually a bug, as the module is designed to display the title for both the link icon and the link text itself.

    You can configure the titles individually using the "{external} link label" field. If you don't want a title for the icon, simply leave the icon label field empty — the same applies to the link title. The module provides flexibility to set or omit these titles based on your needs.

    If you'd like the label to display as "external link," you can set that value in the "external link label" field.

    Since this is expected behavior and the module is functioning as intended, I believe this issue can be closed.

    Thanks!

  • 🇩🇪Germany drupalbubb

    Hi @tirupati_singh, thanks for your examination.
    This is a feature request about replacing the label of the link itself, recommended with the text from "external link label". Maybe it is also a bug report, but no support request.

  • 🇮🇳India Tirupati_Singh

    Hi @drupalbubb,

    Thanks for the clarification! If I understand correctly, you're suggesting that the label of the link itself should be replaced with the text from the "external link label."

    Since this seems to be more of a feature request, I'll tag the maintainer and subsystem to ensure this suggestion is reviewed.

Production build 0.71.5 2024