diff --git a/app/src/views/examples/typography/index.njk b/app/src/views/examples/typography/index.njk index 7441cd0896..139c30712f 100644 --- a/app/src/views/examples/typography/index.njk +++ b/app/src/views/examples/typography/index.njk @@ -536,7 +536,74 @@ +
+

Visually hidden text

+ +

Heading with visually hidden text at the beginning

+ +

Countries starting with A

+ +

Heading with visually hidden text at the end

+ +

Search all content

+

Heading that is visually hidden

+ +

Navigation menu

+ +
+ +

Paragraph that contains visually hidden text

+ +

This is a paragraph with some visually hidden text.

+ +
+ +

Table with visually hidden text

+ + {{ govukTable({ + caption: "2019", + captionClasses: "govuk-!-margin-bottom-4", + head: [ + { + text: "Date", + classes: "govuk-visually-hidden" + }, + { + text: "Day", + classes: "govuk-visually-hidden" + }, + { + text: "Name", + classes: "govuk-visually-hidden" + } + ], + rows: [ + [ + { + text: "19 April" + }, + { + text: "Friday" + }, + { + text: "Good Friday" + } + ], + [ + { + text: "22 April" + }, + { + text: "Monday" + }, + { + text: "Easter Monday" + } + ] + ] + }) }} +
{% endblock %}