From 7e67535d1d5fd7f850a82966c3202f7cb4f2e58e Mon Sep 17 00:00:00 2001 From: Dawn Budge Date: Wed, 28 Mar 2018 17:12:25 +0100 Subject: [PATCH 1/2] DAC-user-lv-zk-t1-03 Swap alt to title MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🐿 v2.8.0 --- templates/partials/main-image.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/partials/main-image.html b/templates/partials/main-image.html index 9bb989b..e4a6c8d 100644 --- a/templates/partials/main-image.html +++ b/templates/partials/main-image.html @@ -12,11 +12,11 @@ {{/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 title=@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 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 title=@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}} From 78c16c1e50540bb610a5fb136f34fd332cb29c54 Mon Sep 17 00:00:00 2001 From: Dawn Budge Date: Wed, 28 Mar 2018 17:23:06 +0100 Subject: [PATCH 2/2] =?UTF-8?q?Move=20title=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 e4a6c8d..c565f22 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 title=@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 title=@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}}