From 7d98ae55394de812149cd5cebfb3b10aa424a9d4 Mon Sep 17 00:00:00 2001 From: Oliver Byford Date: Thu, 2 Dec 2021 17:05:03 +0000 Subject: [PATCH] Use 'Address' in summary list examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit At the minute we're using two very similar terms ('contact information' and 'contact details') to refer to two different things. This was previously flagged by DAC as confusing and failing WCAG 2.1 2.4.9: Link Purpose (Link Only) (because of the visually hidden text in the links – see #906). This mirrors the change previously made to similar examples in the 'Help users check their answers' pattern as part of 36b3475 (#912). --- src/components/summary-list/default/index.njk | 4 ++-- src/components/summary-list/without-actions/index.njk | 2 +- src/components/summary-list/without-borders/index.njk | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/summary-list/default/index.njk b/src/components/summary-list/default/index.njk index 78e2f79e01..5fe8fda024 100644 --- a/src/components/summary-list/default/index.njk +++ b/src/components/summary-list/default/index.njk @@ -43,7 +43,7 @@ layout: layout-example.njk }, { key: { - text: "Contact information" + text: "Address" }, value: { html: "72 Guild Street
London
SE23 6FH" @@ -53,7 +53,7 @@ layout: layout-example.njk { href: "#", text: "Change", - visuallyHiddenText: "contact information" + visuallyHiddenText: "address" } ] } diff --git a/src/components/summary-list/without-actions/index.njk b/src/components/summary-list/without-actions/index.njk index 375b036c04..2a20613404 100644 --- a/src/components/summary-list/without-actions/index.njk +++ b/src/components/summary-list/without-actions/index.njk @@ -25,7 +25,7 @@ layout: layout-example.njk }, { key: { - text: "Contact information" + text: "Address" }, value: { html: "72 Guild Street
London
SE23 6FH" diff --git a/src/components/summary-list/without-borders/index.njk b/src/components/summary-list/without-borders/index.njk index 2fc5a330f1..70d2faae26 100644 --- a/src/components/summary-list/without-borders/index.njk +++ b/src/components/summary-list/without-borders/index.njk @@ -26,7 +26,7 @@ layout: layout-example.njk }, { key: { - text: "Contact information" + text: "Address" }, value: { html: "72 Guild Street
London
SE23 6FH"