Problem/Motivation

  • According to the Footer component documentation (Pied de page - design), the four links to the institutional ecosystem (info.gouv.fr, etc.) should be external links.
  • When external links are defined, they are missing the rel="noopener external" attribute

Proposed resolution

  • In the story file, add the target="_blank" attribute to the links inside de "content" slot
  • In the twig file, add the attribute rel="noopener external" inside the target="_blank" attribute detection test
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:

Comments

spryah created an issue. See original summary.

just_like_good_vibes’s picture

Assigned: Unassigned » just_like_good_vibes

we will do the story update here, and we will tackle the recommandation about rel attribute in another separate issue #3626463: Links opening in a new window miss rel="noopener external".
thank you so much for reporting :)

spryah’s picture

Title: Footer: external links in content slot are missing some attributes » Footer: ecosystem links in the story should be external

Ah thanks! Updating the title of the issue for the changelog

spryah’s picture

Title: Footer: ecosystem links in the story should be external » Footer: ecosystem links in the story are missing the target attribute
spryah’s picture

Hi Mikael, I'm not sure if it's worth a separate issue but could you please fix the "Cookie" link example in the bottom slot?

just_like_good_vibes’s picture

Assigned: just_like_good_vibes » Unassigned
Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

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