From d506129b4da8dd6fa927dc332f8e51e2af2e2f25 Mon Sep 17 00:00:00 2001 From: Dawn Budge Date: Wed, 28 Mar 2018 17:44:19 +0100 Subject: [PATCH] =?UTF-8?q?Put=20title=20on=20to=20anchor=20=20?= =?UTF-8?q?=F0=9F=90=BF=20v2.8.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- templates/partials/main-image.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/partials/main-image.html b/templates/partials/main-image.html index 9bb989b..97d1e1f 100644 --- a/templates/partials/main-image.html +++ b/templates/partials/main-image.html @@ -9,14 +9,15 @@ {{else}} aria-hidden="true" tabindex="-1" + title="{{@nTeaserPresenter.data.title}}" {{/if}} > {{#ifEquals lazyLoad false}} - {{#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}} + {{#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}} {{> n-image/templates/image}} {{/nImagePresenter}} {{else}} - {{#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}} + {{#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}} {{> n-image/templates/image}} {{/nImagePresenter}} {{/ifEquals}}