Skip to content

Commit

Permalink
Merge pull request #260 from remibetin/nofollow
Browse files Browse the repository at this point in the history
Add nofollow, noopener, noreferrer to external links
  • Loading branch information
iadawn authored May 30, 2024
2 parents 5d58415 + 4946a85 commit 1ba71ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _includes/wai-evaluation-tools-list/liquid/tool.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

{% assign toolsDataSorted = toolsData | sort_natural: include.sort_key %}
{% for tool in toolsDataSorted %}
{% capture tool_title %}<a href="{{ tool.website }}" target="_blank"><h3>{{ tool.title }}</h3>
{% capture tool_title %}<a href="{{ tool.website }}" target="_blank" rel="nofollow noopener noreferrer"><h3>{{ tool.title }}</h3>
{% include_cached icon.html name="external-link" aria-label="Open tool in new window" %}</a>
<div class="subheader">
<p class="leftColHeader">by {{ tool.provider }}</p>
Expand Down Expand Up @@ -133,7 +133,7 @@ Show more features
</div>
{% if tool.a11yloc != "" %}
<div class="colRow">
<img src="{{ "/content-images/wai-evaluation-tools-list/accessibilitystatement.png" | relative_url }}" alt="Accessibility statement" /><p><a href="{{tool.a11yloc}}" target="_blank">Accessibility statement</a> available</p>
<img src="{{ "/content-images/wai-evaluation-tools-list/accessibilitystatement.png" | relative_url }}" alt="Accessibility statement" /><p><a href="{{tool.a11yloc}}" target="_blank" rel="nofollow noopener noreferrer">Accessibility statement</a> available</p>
</div>
{% endif %}
{% if tool.actrules != "" and tool.actrules != "https://www.w3.org/WAI/standards-guidelines/act/implementations/"%}
Expand Down

0 comments on commit 1ba71ff

Please sign in to comment.