Picto thématique

Rule n° 25 - External links that open in a new window don't share contextual information.

Opening links in new windows is possible if you take some precautions. In particular, the opening of the new window must be reported, this is precisely the object of rule 141. But that's not all, you must also make sure that context information does not circulate between the origin and destination websites. This precaution can avoid security and performance problems.

#Personal information #Development #Privacy

Goal

  • Preventing the transmission of personal data.
  • Prevent the execution of malicious code.
  • Prevent performance losses related to the sharing of resources in multiple windows.
  • Strengthen user confidence in the use of their data

Implementation

Provide each link with a target="_ blank" attribute with a rel="noreferrer noopener" attribute.

Control

check for each link with a attribute target="_ blank" the presence of the attributerel="noreferrer noopener".

By Opquast - Read the license


Discover Opquast training and certification

The objective of these rules and the Opquast community mission is ‘making the web better’ for your customers and for everyone! Opquast rules cover the key major areas of risk that can negatively affect website users such as privacy, ecodesign, accessibility and security.

Opquast training has already allowed over 19,000 web professionals to have their skills certified. Train your teams, contact us

We offer a 1 hour free discovery module.