From 913a1e862077d4a13acfd3a17bb91fb47e8429d8 Mon Sep 17 00:00:00 2001 From: Paul Hayes Date: Thu, 27 Jul 2017 13:41:28 +0100 Subject: [PATCH] Use line breaks so lists are treated as lists by govspeak --- app/views/components/docs/download-link.yml | 3 +++ app/views/components/docs/lead-paragraph.yml | 3 ++- app/views/components/docs/print-link.yml | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/app/views/components/docs/download-link.yml b/app/views/components/docs/download-link.yml index 7da1625d5..74786f176 100644 --- a/app/views/components/docs/download-link.yml +++ b/app/views/components/docs/download-link.yml @@ -2,11 +2,14 @@ name: Download link description: A link with a file download icon accessibility_criteria: | The download link must: + - accept focus - be focusable with a keyboard - be usable with a keyboard - indicate when it has focus + The download icon must: + - be presentational and ignored by screen readers fixtures: default: diff --git a/app/views/components/docs/lead-paragraph.yml b/app/views/components/docs/lead-paragraph.yml index 40cec1939..c38f2e2c3 100644 --- a/app/views/components/docs/lead-paragraph.yml +++ b/app/views/components/docs/lead-paragraph.yml @@ -1,7 +1,8 @@ name: Lead paragraph -description: A paragraph of text +description: The opening paragraph of content. Typically a content item’s description field. accessibility_criteria: | The lead paragraph must: + - be visually distinct from other paragraphs fixtures: default: diff --git a/app/views/components/docs/print-link.yml b/app/views/components/docs/print-link.yml index 2ea64a874..0a0b1c80d 100644 --- a/app/views/components/docs/print-link.yml +++ b/app/views/components/docs/print-link.yml @@ -2,11 +2,14 @@ name: Print link description: A link with a print icon accessibility_criteria: | The print link must: + - accept focus - be focusable with a keyboard - be usable with a keyboard - indicate when it has focus + The print icon must: + - be presentational and ignored by screen readers fixtures: default: