From 857859382e29d72e0d672d6fd11f777af3086807 Mon Sep 17 00:00:00 2001 From: D Budge Date: Wed, 28 Mar 2018 17:31:12 +0100 Subject: [PATCH] Revert "DAC-user-lv-zk-t1-03 Swap alt to title" --- templates/partials/main-image.html | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/templates/partials/main-image.html b/templates/partials/main-image.html index c565f22..9bb989b 100644 --- a/templates/partials/main-image.html +++ b/templates/partials/main-image.html @@ -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}}