Skip to content
This repository has been archived by the owner on Mar 12, 2020. It is now read-only.

Commit

Permalink
Merge pull request #182 from Financial-Times/revert-181-main-img-title
Browse files Browse the repository at this point in the history
Revert "DAC-user-lv-zk-t1-03 Swap alt to title"
  • Loading branch information
debugwand authored Mar 28, 2018
2 parents 21b20e8 + 8578593 commit 390a113
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions templates/partials/main-image.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,14 @@
{{else}}
aria-hidden="true"
tabindex="-1"
title=@nTeaserPresenter.data.title
{{/if}}
>
{{#ifEquals lazyLoad false}}
{{#nImagePresenter srcSet=@nTeaserPresenter.displayImage.url placeholder=@nTeaserPresenter.displayImage.ratio colspan=colspan position=position widths=widths lazyLoad=false wrapperClasses="o-teaser__image-placeholder" classes="o-teaser__image" sourceParam=@nTeaserPresenter.displayImage.sourceParam}}
{{#nImagePresenter srcSet=@nTeaserPresenter.displayImage.url placeholder=@nTeaserPresenter.displayImage.ratio alt=@nTeaserPresenter.data.title colspan=colspan position=position widths=widths lazyLoad=false wrapperClasses="o-teaser__image-placeholder" classes="o-teaser__image" sourceParam=@nTeaserPresenter.displayImage.sourceParam}}
{{> n-image/templates/image}}
{{/nImagePresenter}}
{{else}}
{{#nImagePresenter srcSet=@nTeaserPresenter.displayImage.url placeholder=@nTeaserPresenter.displayImage.ratio colspan=colspan position=position widths=widths lazyLoad=true wrapperClasses="o-teaser__image-placeholder" classes="o-teaser__image" sourceParam=@nTeaserPresenter.displayImage.sourceParam}}
{{#nImagePresenter srcSet=@nTeaserPresenter.displayImage.url placeholder=@nTeaserPresenter.displayImage.ratio alt=@nTeaserPresenter.data.title colspan=colspan position=position widths=widths lazyLoad=true wrapperClasses="o-teaser__image-placeholder" classes="o-teaser__image" sourceParam=@nTeaserPresenter.displayImage.sourceParam}}
{{> n-image/templates/image}}
{{/nImagePresenter}}
{{/ifEquals}}
Expand Down

0 comments on commit 390a113

Please sign in to comment.