Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
Changed markup to allow for link focus (#1416)
Browse files Browse the repository at this point in the history
* updated markup to allow link focus

* add in aria label

* add title attribute

* remove title

* removed title in error
  • Loading branch information
deniselashlley authored and adamclark-dev committed May 8, 2018
1 parent f09a0e3 commit c57853e
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,16 @@

<div{{ content_attributes.addClass('node__content') }}>

<div class="partner__logo">
{{ content.field_partner_logo }}
</div>

<div class="partner__link">
{% if is_external_link %}
<a href="{{ website_link }}" target="_blank" >
<span>Visit their site</span>
<a href="{{ website_link }}" target="_blank" title="Visit their site">
{{ content.field_partner_logo }}
<span class="partner__text">Visit their site</span>
</a>
{% else %}
<a href="{{ url }}" >
<span>Find out more</span>
<a href="{{ url }}" title="find out more">
{{ content.field_partner_logo }}
<span class="partner__text">Find out more</span>
</a>
{% endif %}
</div>
Expand Down

0 comments on commit c57853e

Please sign in to comment.