User tests: Successful: Unsuccessful:
add target=_blank and rel=noopener noreferrer for external links
Clicking on the links opens the target in a new window and "noopener noreferrer" is passed as rel values.
A link does not open in a new window.
Both links have no rel values.
target=\"_blank\" rel=\"noopener noreferrer\"
for external links
.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration Language & Strings |
originally we did not add rel= to these links as it was felt that we could trut our own web sites
There are currently 11 links to https://docs.joomla.org in use like this.
I would be happy if we could standardise this.
originally we did not add rel= to these links as it was felt that we could trut our own web sites
Anyway It's a best practice to use Noopener for linking external sites. The "noopener" attribute ensures that the page opened in a new tab cannot take control of the original page (Reverse Tabnabbing attack). It is useful for both safety and performance and you never know what can happen...
I have some doubts about the use of the noreferrer, in fact the only effect is that the analytics of the joomla sites would see direct traffic instead of referral traffic.
Using it maybe allows us to say that Joomla.org does not read any data from the Joomla installed (without the noreferrer if I click on those links, the Joomla.org analytics sees my domain inside the referrer).
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
?
Language Change
PBF
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2022-04-23 11:17:21 |
Closed_By | ⇒ | laoneo |
Thanks!
originally we did not add rel= to these links as it was felt that we could trut our own web sites