Skip to content

fix(cc-link): do not treat mailto: and tel: links as opening a new window - #1893

Merged
clara-layus-cc merged 1 commit into
masterfrom
fix/cc-link-mailto-tel
Nov 12, 2026
Merged

clara-layus-cc merged 1 commit into
masterfrom
fix/cc-link-mailto-tel

Conversation

@clara-layus-cc

Copy link
Copy Markdown
Contributor

Fixes #1460

What does this PR do?

  • Stop treating mailto: and tel: links as external in cc-link: no more target="_blank", rel="noreferrer", "new window" title suffix or external link icon,
  • Document this behavior in the component details,
  • Add a mailtoAndTelLinks story.

How to review?

  • Check the commits,
  • Check the preview
  • 1 reviewer should be enough.

@clara-layus-cc clara-layus-cc self-assigned this Nov 10, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔎 A preview has been automatically published : https://clever-components-preview.cellar-c2.services.clever-cloud.com/fix/cc-link-mailto-tel/index.html.

This preview will be deleted once this PR is closed.

@pdesoyres-cc pdesoyres-cc left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nitpick: I'm not sure with the use of the term "app" since it introduces ambiguity with clever application.

@HeleneAmouzou HeleneAmouzou left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@clara-layus-cc
clara-layus-cc merged commit 3f05c0a into master Nov 12, 2026
7 checks passed
@clara-layus-cc
clara-layus-cc deleted the fix/cc-link-mailto-tel branch November 12, 2026 15:10
@github-actions

Copy link
Copy Markdown
Contributor

🔎 The preview has been automatically deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cc-link: handle mailto and tel properly

3 participants