Skip to content
Snippets Groups Projects
Commit 12954cdb authored by Eric Bremner's avatar Eric Bremner
Browse files

Merge branch 'feature/kpaxman-full-text-embed-links' into '8.x-3.x'

make entire 'view on' line be link, to match Youtube and for a11y.

See merge request !30
parents 365bf66d 176d7f16
No related branches found
No related tags found
1 merge request!30make entire 'view on' line be link, to match Youtube and for a11y.
......@@ -19,9 +19,9 @@
</div>
<div class="uw-facebook__view-on-source">
{% if feed_type == 'timeline' %}
View on <a href="https://facebook.com/{{ username }}">Facebook</a>
<a href="https://facebook.com/{{ username }}">View on Facebook</a>
{% else %}
View on <a href="{{ url }}">Facebook</a>
<a href="{{ url }}">View on Facebook</a>
{% endif %}
</div>
</div>
......@@ -4,6 +4,6 @@
<script async src="//www.instagram.com/embed.js"></script>
</div>
<div class="uw-instagram__view-on-source">
View on <a href="{{ instagram.url }}">Instagram</a>
<a href="{{ instagram.url }}">View on Instagram</a>
</div>
</div>
......@@ -21,7 +21,7 @@
{% if feed_type == 'embed-tweet' %}
<blockquote class="twitter-tweet" data-dnt="true"><a href="https://twitter.com/{{ tweet_code }}">Read individual Tweet on Twitter</a></blockquote>
<div class="uw-twitter__view-on-source">
View on <a href="https://twitter.com/{{ tweet_code }}">Twitter</a>
<a href="https://twitter.com/{{ tweet_code }}">View on Twitter</a>
</div>
{% else %}
<div
......@@ -35,7 +35,7 @@
<a class="twitter-{{ (feed_type == 'moment') ? 'moment' : 'timeline' }}" href="{{ twitter_href }}" data-theme="light" data-link-color="#light" data-height="650" data-dnt="true">{{ twitter_link }}</a>
</div>
<div class="uw-twitter__view-on-source">
View on <a href="{{ twitter_href }}">Twitter</a>
<a href="{{ twitter_href }}">View on Twitter</a>
</div>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment