-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add rel noopener noreferrer to target _blank links #319
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've been trying to get the proper attributes put on the target="_blank" links for a long time. Clearly, we missed some of them somehow.
There are changes made to files in this repo that aren't being pushed to the live site, but I think that's fine in order to show what we should be doing everywhere for links in new tabs.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -1110,7 +1110,7 @@ <h4 class="sample-text-header"><span class="cf-icon cf-icon-email"></span> Sampl | |||
<div class="content-l_col content-l_col-1-4 tip-section"> | |||
<div class="tip_bar"></div><div class="tip_line"></div> | |||
<h3>TIP</h3> | |||
<p>Remember, if you’re having a problem with a student loan , you can submit a complaint <a href="http://www.consumerfinance.gov/complaint/" class="internal-link" target="_blank">online</a> or call us at (855) 411-2372.</p> | |||
<p>Remember, if you’re having a problem with a student loan , you can submit a complaint <a href="http://www.consumerfinance.gov/complaint/" class="internal-link" target="_blank" rel="noopener noreferrer">online</a> or call us at (855) 411-2372.</p> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor fix: remove extra space in "student loan , you can submit".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we make that fix here, we should also actually fix it in django-college-costs-comparison
. This file is never deployed to the website from this repo, but comes from the other repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I fixed this here at least
Updated all of these. THanks! |
Changes
rel="nopener noreferrer"
to two PDF links that were missing that withtarget="_blank"
(reported by @lfatty).Testing