govuk_publishing_components 8.2.0 → 9.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/images/govuk_publishing_components/govuk-logo.png +0 -0
  3. data/app/assets/images/govuk_publishing_components/icon-pointer-2x.png +0 -0
  4. data/app/assets/images/govuk_publishing_components/icon-pointer.png +0 -0
  5. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +4 -0
  6. data/app/assets/stylesheets/govuk_publishing_components/_all_components_print.scss +3 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/components/_button.scss +2 -2
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_contents-list.scss +70 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak-html-publication.scss +134 -0
  10. data/app/assets/stylesheets/govuk_publishing_components/components/_govspeak.scss +29 -0
  11. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +123 -0
  12. data/app/assets/stylesheets/govuk_publishing_components/components/_notice.scss +33 -0
  13. data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +15 -1
  14. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_advisory.scss +34 -0
  15. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_attachment.scss +111 -0
  16. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_button.scss +11 -0
  17. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_call-to-action.scss +25 -0
  18. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_charts.scss +306 -0
  19. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_contact.scss +49 -0
  20. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_example.scss +25 -0
  21. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_footnotes.scss +27 -0
  22. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_fraction.scss +22 -0
  23. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_highlight-answer.scss +42 -0
  24. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_images.scss +32 -0
  25. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_information-callout.scss +22 -0
  26. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_legislative-list.scss +26 -0
  27. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_media-player.scss +15 -0
  28. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_place.scss +29 -0
  29. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_stat-headline.scss +29 -0
  30. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_steps.scss +24 -0
  31. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_summary.scss +24 -0
  32. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_tables.scss +38 -0
  33. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_typography.scss +224 -0
  34. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/_warning-callout.scss +41 -0
  35. data/app/assets/stylesheets/govuk_publishing_components/components/govspeak/form-download.scss +24 -0
  36. data/app/assets/stylesheets/govuk_publishing_components/components/helpers/_contents-list-helper.scss +25 -0
  37. data/app/assets/stylesheets/govuk_publishing_components/components/print/_contents-list.scss +19 -0
  38. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak-html-publication.scss +5 -0
  39. data/app/assets/stylesheets/govuk_publishing_components/components/print/_govspeak.scss +65 -0
  40. data/app/views/govuk_publishing_components/component_guide/example.html.erb +1 -1
  41. data/app/views/govuk_publishing_components/component_guide/index.html.erb +1 -1
  42. data/app/views/govuk_publishing_components/component_guide/show.html.erb +3 -3
  43. data/app/views/govuk_publishing_components/components/_contents_list.html.erb +84 -0
  44. data/app/views/govuk_publishing_components/components/_govspeak.html.erb +14 -0
  45. data/app/views/govuk_publishing_components/components/_govspeak_html_publication.html.erb +9 -0
  46. data/app/views/govuk_publishing_components/components/_image_card.html.erb +41 -0
  47. data/app/views/govuk_publishing_components/components/_lead_paragraph.html.erb +0 -3
  48. data/app/views/govuk_publishing_components/components/_machine_readable_metadata.html.erb +1 -0
  49. data/app/views/govuk_publishing_components/components/_notice.html.erb +22 -0
  50. data/app/views/govuk_publishing_components/components/_share_links.html.erb +68 -30
  51. data/app/views/govuk_publishing_components/components/docs/contents_list.yml +218 -0
  52. data/app/views/govuk_publishing_components/components/docs/govspeak.yml +653 -0
  53. data/app/views/govuk_publishing_components/components/docs/govspeak_html_publication.yml +183 -0
  54. data/app/views/govuk_publishing_components/components/docs/image_card.yml +160 -0
  55. data/app/views/govuk_publishing_components/components/docs/inverse_header.yml +1 -1
  56. data/app/views/govuk_publishing_components/components/docs/machine_readable_metadata.yml +17 -1
  57. data/app/views/govuk_publishing_components/components/docs/notice.yml +27 -0
  58. data/app/views/govuk_publishing_components/components/docs/share_links.yml +119 -18
  59. data/config/initializers/assets.rb +3 -0
  60. data/config/locales/en.yml +2 -0
  61. data/lib/govuk_publishing_components.rb +2 -1
  62. data/lib/govuk_publishing_components/presenters/contents_list_helper.rb +27 -0
  63. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +55 -0
  64. data/lib/govuk_publishing_components/presenters/machine_readable/article_schema.rb +5 -1
  65. data/lib/govuk_publishing_components/presenters/machine_readable/page.rb +5 -1
  66. data/lib/govuk_publishing_components/presenters/machine_readable/person_schema.rb +39 -0
  67. data/lib/govuk_publishing_components/presenters/schema_org.rb +3 -0
  68. data/lib/govuk_publishing_components/version.rb +1 -1
  69. metadata +49 -4
  70. data/app/assets/javascripts/govuk_publishing_components/lib/track-share-button-clicks.js +0 -26
  71. data/lib/govuk_publishing_components/presenters/sanitisation.rb +0 -13
@@ -0,0 +1,218 @@
1
+ name: Contents list
2
+ description: Provides a list of links with options for dashes or numbering.
3
+ body: |
4
+ Commonly used to lists a page’s contents with links pointing to headings within the document, but can also be used for a list of links to other pages.
5
+
6
+ Pass a list of contents each with an `href` and `text`. The `href` can point at the ID of a heading within the page.
7
+
8
+ Supports nesting contents one level deep, currently only used by specialist documents. When nesting the top level list items
9
+ display in bold.
10
+
11
+ `format_numbers` option will pull out numbers in the link text to render them as though they were the list style type. Applies to numbers at the start of text, with or without a decimal. See the [format complex numbers fixture](/component-guide/contents-list/formats_complex_numbers) for details.
12
+ accessibility_criteria: |
13
+ The component must be [a landmark with a navigation role](https://accessibility.blog.gov.uk/2016/05/27/using-navigation-landmarks/).
14
+
15
+ The contents list must:
16
+
17
+ - inform the user how many items are in the list
18
+ - convey the content structure
19
+ - indicate the current page when contents span different pages, and not link to itself
20
+
21
+ The contents list may:
22
+ - include an aria-label to contextualise the list if helpful
23
+
24
+ Links with formatted numbers must separate the number and text with a space for correct screen reader pronunciation. This changes pronunciation from "1 dot Item" to "1 Item".
25
+ shared_accessibility_criteria:
26
+ - link
27
+ examples:
28
+ default:
29
+ data:
30
+ contents:
31
+ - href: "#first-thing"
32
+ text: First thing
33
+ - href: "#second-thing"
34
+ text: Second thing
35
+ - href: "#third-thing"
36
+ text: Third thing
37
+ underline_links:
38
+ description: By default we do not underline links in this component even though this is the general approach on GOV.UK. This is because some of the examples below (particularly those with numbers) do not work well with underlined links. Instead, this option allows the links to be underlined where appropriate.
39
+ data:
40
+ underline_links: true
41
+ contents:
42
+ - href: "#first-thing"
43
+ text: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
44
+ - href: "#second-thing"
45
+ text: Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
46
+ - href: "#third-thing"
47
+ text: Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
48
+ long_text:
49
+ data:
50
+ contents:
51
+ - href: "#first-thing"
52
+ text: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
53
+ - href: "#second-thing"
54
+ text: Another pretty long contents list entry, not as long as the first, but still a little.
55
+ - href: "#third-thing"
56
+ text: Third thing
57
+ active_content_link:
58
+ description: 'An active state allows for "you are here" items in a contents list that spans different pages to avoid linking back to the current page.'
59
+ data:
60
+ contents:
61
+ - href: "#first-thing"
62
+ text: First
63
+ - href: "#two"
64
+ text: Second
65
+ active: true
66
+ - href: "#third-thing"
67
+ text: Third thing
68
+ aria_label:
69
+ description: 'An aria-label string can be used to contextualise the navigation for assistive technology.'
70
+ data:
71
+ aria_label: "Pages in this guide"
72
+ contents:
73
+ - href: "#first-thing"
74
+ text: First
75
+ - href: "#two"
76
+ text: Second
77
+ active: true
78
+ - href: "#third-thing"
79
+ text: Third thing
80
+ nested_contents_lists:
81
+ data:
82
+ contents:
83
+ - href: "#first-thing"
84
+ text: First thing
85
+ - href: "#second-thing"
86
+ text: Second thing
87
+ - href: "#third-thing"
88
+ text: Third thing
89
+ items:
90
+ - href: "#sub-third-thing"
91
+ text: Sub third thing
92
+ - href: "#another-third-thing"
93
+ text: Another third thing
94
+ - href: "#fourth-thing"
95
+ text: Fourth thing
96
+ formats_numbers:
97
+ data:
98
+ format_numbers: true
99
+ contents:
100
+ - href: "#first-thing"
101
+ text: 1. First thing
102
+ - href: "#two"
103
+ active: true
104
+ text: 2. Second thing
105
+ - href: "#third-thing"
106
+ text: 3. Third thing
107
+ formats_complex_numbers:
108
+ data:
109
+ format_numbers: true
110
+ contents:
111
+ - href: "#"
112
+ text: 1. Item
113
+ - href: "#"
114
+ text: 1.1 Sub item
115
+ - href: "#"
116
+ text: 1.2 Sub item
117
+ - href: "#"
118
+ text: "1.02 longer decimals allowed"
119
+ - href: "#"
120
+ text: "1.021 even longer decimals ignored"
121
+ - href: "#"
122
+ text: 1 Number without period
123
+ - href: "#"
124
+ text: 10. Two digit numbers
125
+ - href: "#"
126
+ text: 99. Two digit numbers
127
+ - href: "#"
128
+ text: 100. Three digit numbers
129
+ - href: "#"
130
+ text: 2017 four digit numbers ignored
131
+ - href: "#"
132
+ text: "2001: A space odyssey"
133
+ nested_with_formatted_numbers:
134
+ data:
135
+ format_numbers: true
136
+ contents:
137
+ - href: "#first-thing"
138
+ text: 1. First thing
139
+ items:
140
+ - href: "#second-thing"
141
+ text: 2. Numbers not parsed
142
+ - href: "#third-thing"
143
+ text: 3. Numbers are just text
144
+ - href: "#first-thing"
145
+ text: 2. Next thing
146
+ items:
147
+ - href: "#second-thing"
148
+ text: No numbers here
149
+ - href: "#third-thing"
150
+ active: true
151
+ text: None here either
152
+ right_to_left:
153
+ data:
154
+ contents:
155
+ - href: "#section"
156
+ text: "هل يمكنك تقديم"
157
+ - href: "#section-1"
158
+ text: "أعد مستند"
159
+ - href: "#section-2"
160
+ text: "تقديم الطلب"
161
+ context:
162
+ right_to_left: true
163
+ right_to_left_with_formatted_numbers:
164
+ data:
165
+ format_numbers: true
166
+ contents:
167
+ - href: "#section"
168
+ text: "هل يمكنك تقديم"
169
+ - href: "#section-1"
170
+ text: "أعد مستند"
171
+ - href: "#section-2"
172
+ text: "تقديم الطلب"
173
+ context:
174
+ right_to_left: true
175
+ right_to_left_with_nested_contents_lists:
176
+ data:
177
+ contents:
178
+ - href: "#section"
179
+ text: "هل يمكنك تقديم"
180
+ - href: "#section-1"
181
+ text: "أعد مستند"
182
+ - href: "#section-2"
183
+ text: "تقديم الطلب"
184
+ items:
185
+ - href: "#section"
186
+ text: "هل يمكنك تقديم"
187
+ - href: "#section-1"
188
+ text: "أعد مستند"
189
+ - href: "#section-2"
190
+ text: "تقديم الطلب"
191
+ context:
192
+ right_to_left: true
193
+ with_branding:
194
+ description: Where this component could be used on an organisation page (such as the [Attorney General's Office](https://www.gov.uk/government/organisations/attorney-generals-office)) branding can be applied for link colours and border colours. See the [branding documentation](https://github.com/alphagov/govuk_publishing_components/blob/master/docs/component_branding.md) for more details.
195
+ data:
196
+ brand: 'department-for-environment-food-rural-affairs'
197
+ format_numbers: true
198
+ contents:
199
+ - href: "#first-thing"
200
+ text: 1. First thing
201
+ items:
202
+ - href: "#second-thing"
203
+ text: 2. Numbers not parsed
204
+ - href: "#third-thing"
205
+ text: 3. Numbers are just text
206
+ without_a_title:
207
+ description: The component can be used to provide a list of links to other pages, in which case the 'Contents' title is inappropriate and can be removed.
208
+ data:
209
+ hide_title: true
210
+ contents:
211
+ - href: "#first-thing"
212
+ text: Community best practice
213
+ items:
214
+ - href: "#second-thing"
215
+ text: Guidance and regulation
216
+ - href: "#third-thing"
217
+ text: Consultations
218
+
@@ -0,0 +1,653 @@
1
+ name: Govspeak content
2
+ description: To display long form text which has been converted from Govspeak
3
+ body: |
4
+ [Govspeak](https://github.com/alphagov/govspeak) is GOV.UK's extension of Markdown.
5
+
6
+ This component has no control over markup, which is passed in to the component pre-generated. It only applies CSS/JS.
7
+
8
+ It applies styling to standard Markdown content, eg; paragraphs, headings and lists. It also applies styling to Govspeak specific markup, like [callouts](https://github.com/alphagov/govspeak#callouts), [contacts](https://github.com/alphagov/govspeak#points-of-contact) and [highlights](https://github.com/alphagov/govspeak#highlights).
9
+
10
+ Static also [applies some Javascript behaviours to this component][1].
11
+
12
+ - Progressively enhanced, accessible charts (using [Magna Charta](https://github.com/alphagov/magna-charta), derived from tabular data (see example below)
13
+ - Progressively enhanced, accessible embedded YouTube player (using [AccessibleMediaPlayer](https://github.com/alphagov/Accessible-Media-Player))
14
+
15
+ [1]: https://github.com/alphagov/static/tree/master/app/assets/javascripts/govuk-component
16
+ accessibility_criteria: |
17
+ - headings must be part of a correct heading structure for the page
18
+ - text should have a text contrast ratio higher than 4.5:1 against the background colour to meet WCAG AA
19
+ shared_accessibility_criteria:
20
+ - link
21
+ examples:
22
+ basic_content:
23
+ data:
24
+ content: |
25
+ <h2>This is a title</h2>
26
+ <p>This is some body text with <a href=#>a link</a></p>
27
+ heading_levels:
28
+ data:
29
+ content: |
30
+ <h2>This is a h2 title</h2>
31
+ <h3>This is a h3 title</h3>
32
+ <h4>This is a h4 title</h4>
33
+ <h5>This is a h5 title</h5>
34
+ <h6>This is a h6 title</h6>
35
+ lists:
36
+ data:
37
+ content: |
38
+ <h2>ordered list:</h2>
39
+ <ol>
40
+ <li>one</li>
41
+ <li>two</li>
42
+ <li>three</li>
43
+ </ol>
44
+ <h2>unordered list:</h2>
45
+ <ul>
46
+ <li>one</li>
47
+ <li>two</li>
48
+ <li>three</li>
49
+ </ul>
50
+ nested_lists:
51
+ data:
52
+ content: |
53
+ <h2>ordered list:</h2>
54
+ <ol>
55
+ <li>
56
+ <ul>
57
+ <li>one</li>
58
+ <li>two</li>
59
+ </ul>
60
+ </li>
61
+ <li>three</li>
62
+ </ol>
63
+ <h2>unordered list:</h2>
64
+ <ul>
65
+ <li>
66
+ <ul>
67
+ <li>one</li>
68
+ <li>two</li>
69
+ </ul>
70
+ </li>
71
+ <li>three</li>
72
+ </ul>
73
+ legislative_lists:
74
+ data:
75
+ content: |
76
+ <h2>ordered list:</h2>
77
+ <ol class="legislative-list">
78
+ <li>one</li>
79
+ <li>two</li>
80
+ <li>three</li>
81
+ </ol>
82
+ image_fractions:
83
+ data:
84
+ content: |
85
+ <h3 id="number---fractions-1">Number - fractions</h3>
86
+
87
+ <p>Pupils should be taught to:</p>
88
+
89
+ <ul>
90
+ <li>recognise, find, name and write fractions <span class="fraction">
91
+ <img alt="1/3" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_3-9003d7f3d7cd4433647a5f6525aa7eda.png"></span>
92
+ , <span class="fraction">
93
+ <img alt="1/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_4-b6128849c8da3b46b9cb5a6918cfe084.png"></span>
94
+ , <span class="fraction">
95
+ <img alt="2/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/2_4-e071530a44f0d7980f3442c23e3edd3b.png"></span>
96
+ and <span class="fraction">
97
+ <img alt="3/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/3_4-cded12d0389211f864dcb27e640c64d4.png"></span>
98
+ of a length, shape, set of objects or quantity</li>
99
+ <li>write simple fractions, for example <span class="fraction">
100
+ <img alt="1/2" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_2-6e6f542bec97cb8ea3acf39cd25690ee.png"></span>
101
+ of 6 = 3 and recognise the equivalence of <span class="fraction">
102
+ <img alt="2/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/2_4-e071530a44f0d7980f3442c23e3edd3b.png"></span>
103
+ and <span class="fraction">
104
+ <img alt="1/2" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_2-6e6f542bec97cb8ea3acf39cd25690ee.png"></span>
105
+ </li>
106
+ </ul>
107
+ <div class="call-to-action">
108
+ <h4>Notes and guidance (non-statutory)</h4>
109
+
110
+ <p>Pupils use fractions as ‘fractions of’ discrete and continuous quantities by solving problems using shapes, objects and quantities. They connect unit fractions to equal sharing and grouping, to numbers when they can be calculated, and to measures, finding fractions of lengths, quantities, sets of objects or shapes. They meet <span class="fraction">
111
+ <img alt="3/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/3_4-cded12d0389211f864dcb27e640c64d4.png"></span>
112
+ as the first example of a non-unit fraction.<br><br>
113
+ Pupils should count in fractions up to 10, starting from any number and using the <span class="fraction">
114
+ <img alt="1/2" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_2-6e6f542bec97cb8ea3acf39cd25690ee.png"></span>
115
+ and <span class="fraction">
116
+ <img alt="2/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/2_4-e071530a44f0d7980f3442c23e3edd3b.png"></span>
117
+ equivalence on the number line (for example, 1<span class="fraction">
118
+ <img alt="1/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_4-b6128849c8da3b46b9cb5a6918cfe084.png"></span>
119
+ , 1<span class="fraction">
120
+ <img alt="2/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/2_4-e071530a44f0d7980f3442c23e3edd3b.png"></span>
121
+ (or 1<span class="fraction">
122
+ <img alt="1/2" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/1_2-6e6f542bec97cb8ea3acf39cd25690ee.png"></span>
123
+ ), 1<span class="fraction">
124
+ <img alt="3/4" height="27" src="https://assets.digital.cabinet-office.gov.uk/government/assets/fractions/3_4-cded12d0389211f864dcb27e640c64d4.png"></span>
125
+ , 2). This reinforces the concept of fractions as numbers and that they can add up to more than 1.
126
+ </p>
127
+ </div>
128
+ text_fractions:
129
+ data:
130
+ content: |
131
+ <p>If an image is not available for a particular fraction, then we'll fallback to text based fraction using <code>sup</code>/<code>sub</code>, like this <span class="fraction"><sup>1</sup>&frasl;<sub>100</sub></span> example.</p>
132
+ blockquote:
133
+ data:
134
+ content: |
135
+ <blockquote>
136
+ <p>My quote</p>
137
+ <p class="last-child">about things</p>
138
+ </blockquote>
139
+ tables:
140
+ data:
141
+ content: |
142
+ <table>
143
+ <caption>A table with data</caption>
144
+ <thead>
145
+ <tr>
146
+ <th>Heading 1</th><th>Heading 2</th>
147
+ </tr>
148
+ </thead>
149
+ <tbody>
150
+ <tr>
151
+ <td>cell 1</td><td>cell 2</td>
152
+ </tr>
153
+ <tr>
154
+ <td>cell 3</td><td>cell 4</td>
155
+ </tr>
156
+ </tbody>
157
+ </table>
158
+ charts:
159
+ data:
160
+ content: |
161
+ <table class='js-barchart-table mc-auto-outdent'>
162
+ <caption>A table with numerical data</caption>
163
+ <tbody>
164
+ <tr>
165
+ <td>row 1</td><td>10</td>
166
+ </tr>
167
+ <tr>
168
+ <td>row 2</td><td>15</td>
169
+ </tr>
170
+ </tbody>
171
+ </table>
172
+ address:
173
+ data:
174
+ content: |
175
+ <div class="address">
176
+ <div class="adr org fn">
177
+ <p>
178
+ First line of address
179
+ <br>Second line of address
180
+ <br>75 This street
181
+ <br>United Kindom
182
+ <br>Phone: 07123456789
183
+ <br>
184
+ </p>
185
+ </div>
186
+ </div>
187
+ <p>Addresses are generated when using the `$A` markdown pattern.</p>
188
+ contact:
189
+ data:
190
+ content: |
191
+ <div class="contact" id="contact_1017">
192
+ <div class="content">
193
+ <h3>Media enquiries</h3>
194
+ <div class="vcard contact-inner">
195
+ <p class="adr">
196
+ <span class="street-address">2 Marsham Street<br>London</span><br>
197
+ <span class="postal-code">SW1P 4DF</span>
198
+ </p>
199
+ <div class="email-url-number">
200
+ <p class="tel"><span class="type">Press enquiries</span> 020 7XXX XXXX</p>
201
+ <p class="tel"><span class="type">Out of hours</span> 020 7XXX XXXX</p>
202
+ </div>
203
+ <p class="comments">A comment about the contact</p>
204
+ </div>
205
+ </div>
206
+ </div>
207
+ contact_with_surrounding_text:
208
+ data:
209
+ content: |
210
+ <h2>This is a title</h2>
211
+ <div class="contact" id="contact_1018">
212
+ <div class="content">
213
+ <h3>Media enquiries</h3>
214
+ <div class="vcard contact-inner">
215
+ <p class="adr">
216
+ <span class="street-address">2 Marsham Street<br>London</span><br>
217
+ <span class="postal-code">SW1P 4DF</span>
218
+ </p>
219
+ <div class="email-url-number">
220
+ <p class="tel"><span class="type">Press enquiries</span> 020 7XXX XXXX</p>
221
+ <p class="tel"><span class="type">Out of hours</span> 020 7XXX XXXX</p>
222
+ </div>
223
+ <p class="comments">A comment about the contact</p>
224
+ </div>
225
+ </div>
226
+ </div>
227
+ <p>This is a paragraph.</p>
228
+ <div class="contact" id="contact_1019">
229
+ <div class="content">
230
+ <h3>Media enquiries</h3>
231
+ <div class="vcard contact-inner">
232
+ <p class="adr">
233
+ <span class="street-address">2 Marsham Street<br>London</span><br>
234
+ <span class="postal-code">SW1P 4DF</span>
235
+ </p>
236
+ <div class="email-url-number">
237
+ <p class="tel"><span class="type">Press enquiries</span> 020 7XXX XXXX</p>
238
+ <p class="tel"><span class="type">Out of hours</span> 020 7XXX XXXX</p>
239
+ </div>
240
+ <p class="comments">A comment about the contact</p>
241
+ </div>
242
+ </div>
243
+ </div>
244
+ footnotes:
245
+ data:
246
+ content: |
247
+ <p>This is a text with a footnote<sup id="fnref:1a"><a href="#fn:1a" class="footnote">1</a></sup>.</p>
248
+
249
+ <div class="footnotes">
250
+ <ol>
251
+ <li id="fn:1a">
252
+ <p>And here is the definition. <a href="#fnref:1a" class="reversefootnote">&#8617;</a></p>
253
+ </li>
254
+ </ol>
255
+ </div>
256
+ rtl_content:
257
+ data:
258
+ direction: rtl
259
+ content: |
260
+ <p>قال وزير الخارجية، ويليام هيغ:</p>
261
+ <blockquote>
262
+ <p>مع بدء هذا الشهر الفضيل أتمنى للمسلمين في أنحاء العالم - في آسيا وأفريقيا والشرق الأوسط وأوروبا وغيرها من مناطق العالم - شهر رمضان مبارك.</p>
263
+ <p class="last-child">في المملكة المتحدة يُحتفل بشهر رمضان منذ أجيال عديدة، ونفتخر بروابطنا القوية مع العالم الإسلامي، سواء مع شركائنا المعهودين في الشرق الأوسط أو روابطنا التاريخية المتينة في آسيا وأفريقيا أو مواطنينا المسلمين البريطانيين المفعمين بالحيوية والنشاط.</p>
264
+ </blockquote>
265
+ <h2>ordered list</h2>
266
+ <ol>
267
+ <li>تابع الوزير أليستر بيرت عبر تويتر </li>
268
+ <li>تابعنا باللغة العربية عبر</li>
269
+ <li>تابعنا باللغة العربية عبر تويتر </li>
270
+ </ol>
271
+ <h2>unordered list</h2>
272
+ <ul>
273
+ <li>تابع الوزير أليستر بيرت عبر تويتر </li>
274
+ <li>تابعنا باللغة العربية عبر</li>
275
+ <li>تابعنا باللغة العربية عبر تويتر </li>
276
+ </ul>
277
+ with_bold_unstyled:
278
+ data:
279
+ content: |
280
+ <p>This content has <strong>text in strong tags</strong>, but they are not styled as bold</p>
281
+ with_rich_govspeak:
282
+ data:
283
+ rich_govspeak: true
284
+ content: |
285
+ <p>This content uses rich govspeak and has <strong>text in strong tags</strong> that are styled as bold</p>
286
+ with_youtube_embed:
287
+ data:
288
+ content: |
289
+ <p>This content has a YouTube video link, converted to an accessible embedded player by component JavaScript.</p>
290
+ <p><a href="https://www.youtube.com/watch?v=y6hbrS3DheU">Operations: a developer's guide, by Anna Shipman</a></p>
291
+ with_youtube_embed_disabled:
292
+ data:
293
+ disable_youtube_expansions: true
294
+ content: |
295
+ <p>This content has a YouTube video link, where the govspeak expansion has been disabled</p>
296
+ <p><a href="https://www.youtube.com/watch?v=y6hbrS3DheU">Operations: a developer's guide, by Anna Shipman</a></p>
297
+ statistic_headlines:
298
+ data:
299
+ content: |
300
+ <aside class="stat-headline">
301
+ <p><em>£6bn</em>
302
+ Total Departmental Expenditure Limit (<abbr title="Departmental Expenditure Limit">DEL</abbr>) in financial year 2015 to 2016</p>
303
+ </aside>
304
+ <p>This includes £5.8 billion Resource <abbr title="Departmental Expenditure Limit">DEL</abbr> and £0.2 billion Capital <abbr title="Departmental Expenditure Limit">DEL</abbr>. In addition, <abbr title="Department for Work and Pensions">DWP</abbr> Annually Managed Expenditure (<abbr title="Annually Managed Expenditure">AME</abbr>) in financial year 2015 to 2016 is £170.5 billion, as forecast by the Office for Budget Responsibility.</p>
305
+ <aside class="stat-headline">
306
+ <p>UK employment rate
307
+ <em>74.1%</em>
308
+ between October and December 2015</p>
309
+ </aside>
310
+ specialist_content:
311
+ data:
312
+ content: |
313
+ <h2 id="bisphosphonates">Bisphosphonates</h2>
314
+ <p>Bisphosphonates are used to treat osteoporosis, Paget’s disease, and as part of some cancer regimens, particularly for metastatic bone cancer and multiple myeloma. Individual bisphosphonates have different indications (see individual Summaries of Product Characteristics<sup id="fnref:1"><a href="#fn:1" class="footnote">1</a></sup>). The following bisphosphonates are available in the UK:</p>
315
+
316
+ <ul>
317
+ <li>Alendronic acid</li>
318
+ <li>Ibandronic acid</li>
319
+ <li>Pamidronate disodium</li>
320
+ <li>Risedronate sodium</li>
321
+ <li>Sodium clodronate</li>
322
+ <li>Zoledronic acid</li>
323
+ </ul>
324
+
325
+ <h2 id="osteonecrosis-of-the-external-auditory-canal">Osteonecrosis of the external auditory canal</h2>
326
+ <p>Benign idiopathic osteonecrosis of the external auditory canal is a rare condition that can occur in the absence of antiresorptive therapy and is sometimes associated with local trauma.</p>
327
+
328
+ <div class="call-to-action">
329
+ <p>Advice for healthcare professionals:</p>
330
+ <ul>
331
+ <li>The possibility of osteonecrosis of the external auditory canal should be considered in patients receiving bisphosphonates who present with ear symptoms, including chronic ear infections, or in patients with suspected cholesteatoma</li>
332
+ <li>Possible risk factors include steroid use and chemotherapy, with or without local risk factors such as infection or trauma</li>
333
+ <li>Patients should be advised to report any ear pain, discharge from the ear, or an ear infection during bisphosphonate treatment</li>
334
+ <li>Report any cases of osteonecrosis of the external auditory canal suspected to be associated with bisphosphonates or any other medicines, including denosumab, on a <a rel="external" href="http://www.mhra.gov.uk/yellowcard">Yellow Card</a>
335
+ </li>
336
+ </ul>
337
+ </div>
338
+
339
+ <h2 id="evidence-for-an-association-with-bisphosphonate-treatment">Evidence for an association with bisphosphonate treatment</h2>
340
+ <p>Evidence from the clinical literature and from cases reported to medicines regulators, including one report received via the UK Yellow Card scheme, supports a causal association between bisphosphonates and osteonecrosis of the external auditory canal. Product information is being updated to include advice for healthcare professionals and patients.</p>
341
+
342
+ <p>A total of 29 reports indicative of osteonecrosis of the external auditory canal in association with bisphosphonates have been identified worldwide, including 11 cases reported in the clinical literature.<sup id="fnref:2"><a href="#fn:2" class="footnote">2</a></sup> <sup id="fnref:3"><a href="#fn:3" class="footnote">3</a></sup> <sup id="fnref:4"><a href="#fn:4" class="footnote">4</a></sup> <sup id="fnref:5"><a href="#fn:5" class="footnote">5</a></sup> <sup id="fnref:6"><a href="#fn:6" class="footnote">6</a></sup> <sup id="fnref:7"><a href="#fn:7" class="footnote">7</a></sup> <sup id="fnref:8"><a href="#fn:8" class="footnote">8</a></sup> Cases have been reported with use of both intravenous or oral bisphosphonates for both cancer-related or osteoporosis indications; there is currently insufficient evidence to determine whether there is any increased risk with higher doses used for cancer-related conditions. Most cases were associated with long-term bisphosphonate therapy for 2 years or longer, and most cases had possible risk factors including: steroid use; chemotherapy; and possible local risk factors such as infection, an ear operation, or cotton-bud use. Bilateral osteonecrosis of the external ear canal was reported in some patients, as was osteonecrosis of the jaw.</p>
343
+
344
+ <p>The number of cases of osteonecrosis of the external auditory canal reported in association with bisphosphonates is low compared with the number of cases reported of bisphosphonate-related osteonecrosis of the jaw, a <a href="https://www.gov.uk/drug-safety-update/denosumab-xgeva-prolia-intravenous-bisphosphonates-osteonecrosis-of-the-jaw-further-measures-to-minimise-risk">well-established side effect of bisphosphonates</a>.<sup id="fnref:9"><a href="#fn:9" class="footnote">9</a></sup></p>
345
+
346
+ <h2 id="evidence-for-an-association-with-denosumab-treatment">Evidence for an association with denosumab treatment</h2>
347
+ <p>The available data do not support a causal relation between osteonecrosis of the external auditory canal and denosumab. However, this possible risk is being kept under close review, given that denosumab is <a href="https://www.gov.uk/drug-safety-update/denosumab-xgeva-prolia-intravenous-bisphosphonates-osteonecrosis-of-the-jaw-further-measures-to-minimise-risk">known to be associated with osteonecrosis of the jaw</a>.</p>
348
+
349
+ <p>Article citation: Drug Safety Update volume 9 issue 5 December 2015: 3.</p>
350
+
351
+ <div class="footnotes">
352
+ <ol>
353
+ <li id="fn:1">
354
+ <p>Summaries of Product Characteristics can be found <a rel="external" href="http://www.mhra.gov.uk/spc-pil/index.htm">here on the MHRA website</a> or on the <a rel="external" href="http://www.ema.europa.eu/ema/index.jsp?curl=pages/includes/medicines/medicines_landing_page.jsp">website of the European Medicines Agency</a>, depending whether the medicine has a national or European licence, respectively. <a href="#fnref:1" class="reversefootnote">↩</a></p>
355
+ </li>
356
+ <li id="fn:2">
357
+ <p>Bast F, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed/23202871">Bilateral bisphosphonate-associated osteonecrosis of the external ear canal: a rare case</a>. HNO. 2012; 60: 1127–29 [in German]. <a href="#fnref:2" class="reversefootnote">↩</a></p>
358
+ </li>
359
+ <li id="fn:3">
360
+ <p>Froelich K, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed?term=Froelich+K%5Bauthor%5D+AND+Bisphosphonate&amp;TransSchema=title&amp;cmd=detailssearch">Bisphosphonate-induced osteonecrosis of the external ear canal: a retrospective study</a>. Eur Arch Otorhinolaryngol 2011; 268: 1219–25. <a href="#fnref:3" class="reversefootnote">↩</a></p>
361
+ </li>
362
+ <li id="fn:4">
363
+ <p>Kharazmi M, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed/24220454">Bisphosphonate-associated osteonecrosis of the auditory canal</a>. Br J Oral Maxillofac Surg 2013; 51: e285–87. <a href="#fnref:4" class="reversefootnote">↩</a></p>
364
+ </li>
365
+ <li id="fn:5">
366
+ <p>Polizzotto MN, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed?term=Polizzotto+MN%5Bauthor%5D+AND+Bisphosphonate&amp;TransSchema=title&amp;cmd=detailssearch">Bisphosphonate-associated osteonecrosis of the auditory canal</a>. Br J Haematol 2006; 132: 114. <a href="#fnref:5" class="reversefootnote">↩</a></p>
367
+ </li>
368
+ <li id="fn:6">
369
+ <p>Salzman R, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed/23444468">Osteonecrosis of the external auditory canal associated with oral bisphosphonate therapy: case report and literature review</a>. Otol Neurotol 2013; 34: 209–13. <a href="#fnref:6" class="reversefootnote">↩</a></p>
370
+ </li>
371
+ <li id="fn:7">
372
+ <p>Thorsteinsson AL, et al. <a rel="external" href="http://www.avensonline.org/fulltextarticles/jcmcr-2332-4120-02-0007.html">Bisphosphonate-induced osteonecrosis of the external auditory canal: a case report</a>. J Clin Med Case Reports 2015; 2: 3. <a href="#fnref:7" class="reversefootnote">↩</a></p>
373
+ </li>
374
+ <li id="fn:8">
375
+ <p>Wickham N, et al. <a rel="external" href="http://www.ncbi.nlm.nih.gov/pubmed?term=Wickham%5Bauthor%5D+AND+Bisphosphonate&amp;TransSchema=title&amp;cmd=detailssearch">Bisphosphonate-associated osteonecrosis of the external auditory canal</a>. J Laryngol Otol 2013; 127 (suppl 2): S51–53. <a href="#fnref:8" class="reversefootnote">↩</a></p>
376
+ </li>
377
+ <li id="fn:9">
378
+ <p>Patient reminder cards about the risk of osteonecrosis of the jaw are being introduced for intravenous bisphosphonates and denosumab. The cards will become available at different times for individual products. They are now available for the following products: Prolia (denosumab); Xgeva (denosumab); Aclasta (zoledronic acid); Zometa (zoledronic acid); zoledronic acid 5 mg generics and zoledronic acid 4 mg generics. The cards can be viewed <a href="https://www.gov.uk/drug-safety-update/denosumab-xgeva-prolia-intravenous-bisphosphonates-osteonecrosis-of-the-jaw-further-measures-to-minimise-risk">here</a>. <a href="#fnref:9" class="reversefootnote">↩</a></p>
379
+ </li>
380
+ </ol>
381
+ </div>
382
+ inline_attachment:
383
+ data:
384
+ content: |
385
+ <p>testing my attachment <span class="inline-attachment" id="attachment_1399340">
386
+ <a href="/government/uploads/system/uploads/attachment_data/file/498071/PHE_Payments_over__25k_Jun_15.csv">testing</a>
387
+ (<span class="type"><abbr title="Comma-separated Values">CSV</abbr></span>, <span class="file-size">65.4KB</span>)</span> works in the middle of copy.
388
+ </p>
389
+ block_attachments:
390
+ data:
391
+ content: |
392
+ <section class="attachment embedded" id="attachment_1399345">
393
+ <div class="attachment-thumb">
394
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/publications/minimum-wage-jobs-in-ashfield-local-authority-since-2009"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/uploads/system/uploads/attachment_data/file/496127/thumbnail_LPC_FoI_09.12.15_NMW_jobs_Ashfield_LA.pdf.png"></a>
395
+ </div>
396
+ <div class="attachment-details">
397
+ <h2 class="title"><a href="https://www.gov.uk/government/publications/minimum-wage-jobs-in-ashfield-local-authority-since-2009">PDF Attachment</a></h2>
398
+ <p class="metadata">
399
+ <span class="type"><abbr title="Portable Document Format">PDF</abbr></span>, <span class="file-size">198KB</span>, <span class="page-length">2 pages</span>
400
+ </p>
401
+ </div>
402
+ </section>
403
+ <section class="attachment embedded" id="attachment_1399344">
404
+ <div class="attachment-thumb">
405
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/world-location-news/294043.es-419"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/assets/pub-cover-doc-afe3b0a8a9511beeca890340170aee8b5649413f948e512c9b8ce432d8513d32.png"></a>
406
+ </div>
407
+ <div class="attachment-details">
408
+ <h2 class="title"><a href="https://www.gov.uk/government/world-location-news/294043.es-419">Document attachment</a></h2>
409
+ <p class="metadata">
410
+ <span class="type">MS Word Document</span>, <span class="file-size">24.2KB</span>
411
+ </p>
412
+ </div>
413
+ </section>
414
+ <section class="attachment embedded" id="attachment_1105176">
415
+ <div class="attachment-thumb">
416
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/publications/post-legislative-memorandum-the-equality-act-2010"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/uploads/system/uploads/attachment_data/file/441838/thumbnail_Memo_to_Women_Equalities.pdf.png"></a>
417
+ </div>
418
+ <div class="attachment-details">
419
+ <h2 class="title"><a href="https://www.gov.uk/government/publications/post-legislative-memorandum-the-equality-act-2010">File attachment with additional metadata</a></h2>
420
+ <p class="metadata">
421
+ <span class="references">
422
+ Ref: ISBN <span class="isbn">9781474121767</span>, <span class="command_paper_number">CM 9101</span>
423
+ </span>
424
+ <span class="type"><abbr title="Portable Document Format">PDF</abbr></span>, <span class="file-size">2.02MB</span>, <span class="page-length">86 pages</span>
425
+ </p>
426
+ <p>
427
+ <a class="order_url" title="Order a copy of the publication" href="https://www.gov.uk/how-to-buy-printed-copies-of-official-documents%20">Order a copy</a>
428
+ </p>
429
+ </div>
430
+ </section>
431
+ <section class="attachment embedded" id="attachment_1399348">
432
+ <div class="attachment-thumb">
433
+ <img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/assets/pub-cover-spreadsheet-471052e0d03e940bbc62528a05ac204a884b553e4943e63c8bffa6b8baef8967.png">
434
+ </div>
435
+ <div class="attachment-details">
436
+ <h2 class="title">Previewable online example</h2>
437
+ <p class="metadata">
438
+ <span class="preview">
439
+ <strong>
440
+ <a href="https://www.gov.uk/government/publications/phe-spend-over-25000-june-2015">View online</a>
441
+ </strong>
442
+ </span>
443
+ <span class="download">
444
+ <a href="https://www.gov.uk/government/publications/phe-spend-over-25000-june-2015">
445
+ <strong>Download CSV</strong>
446
+ 65.4KB
447
+ </a>
448
+ </span>
449
+ </p>
450
+ </div>
451
+ </section>
452
+ <section class="attachment embedded" id="attachment_1243761">
453
+ <div class="attachment-thumb">
454
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/statistical-data-sets/env24-fly-tipping-incidents-and-actions-taken-in-england"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/assets/pub-cover-spreadsheet-471052e0d03e940bbc62528a05ac204a884b553e4943e63c8bffa6b8baef8967.png"></a>
455
+ </div>
456
+ <div class="attachment-details">
457
+ <h2 class="title"><a aria-describedby="attachment-1243761-accessibility-help" href="https://www.gov.uk/government/statistical-data-sets/env24-fly-tipping-incidents-and-actions-taken-in-england">Fly-tipping incidents and actions reported by local authorities in 2014 to 2015</a></h2>
458
+ <p class="metadata">
459
+ <span class="type"><abbr title="OpenDocument Spreadsheet">ODS</abbr></span>, <span class="file-size">173KB</span>
460
+ </p>
461
+ <p class="opendocument-help">
462
+ This file is in an <a rel="external" href="https://en.wikipedia.org/wiki/OpenDocument_software">OpenDocument</a> format
463
+ </p>
464
+ <div data-module="toggle" class="accessibility-warning" id="attachment-1243761-accessibility-help">
465
+ <h2>This file may not be suitable for users of assistive technology.
466
+ <a class="toggler" href="#attachment-1243761-accessibility-request" data-controls="attachment-1243761-accessibility-request" data-expanded="false">Request a different format.</a>
467
+ </h2>
468
+ <p id="attachment-1243761-accessibility-request" class="help-block js-hidden"><span class="arrow"></span>
469
+ If you use assistive technology and need a version of this document
470
+ in a more accessible format, please email
471
+ <a href="mailto:defra.helpline@defra.gsi.gov.uk?body=Details%20of%20document%20required%3A%0A%0A%20%20Title%3A%20Fly-tipping%20incidents%20and%20actions%20reported%20by%20local%20authorities%20in%202014%20to%202015%0A%20%20Original%20format%3A%20ods%0A%0APlease%20tell%20us%3A%0A%0A%20%201.%20What%20makes%20this%20format%20unsuitable%20for%20you%3F%0A%20%202.%20What%20format%20you%20would%20prefer%3F%0A%20%20%20%20%20%20&amp;subject=Request%20for%20%27Fly-tipping%20incidents%20and%20actions%20reported%20by%20local%20authorities%20in%202014%20to%202015%27%20in%20an%20alternative%20format">defra.helpline@defra.gsi.gov.uk</a>.
472
+ Please tell us what format you need. It will help us if you say what assistive technology you use.
473
+ </p>
474
+ </div>
475
+ </div>
476
+ </section>
477
+ <section class="attachment embedded" id="attachment_1112527">
478
+ <div class="attachment-thumb">
479
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/publications/summer-budget-2015/summer-budget-2015"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/assets/pub-cover-html-b0465911e56983d98c70f0e25fba24bc206d37e8c83d4addf6421dcf6022c6cd.png"></a>
480
+ </div>
481
+ <div class="attachment-details">
482
+ <h2 class="title"><a href="https://www.gov.uk/government/publications/summer-budget-2015/summer-budget-2015">Summer Budget 2015</a></h2>
483
+ <p class="metadata">
484
+ <span class="type">HTML</span>
485
+ </p>
486
+ </div>
487
+ </section>
488
+ <section class="attachment hosted-externally" id="attachment_1425055">
489
+ <div class="attachment-thumb">
490
+ <a aria-hidden="true" class="thumbnail" href="http://example.com"><img alt="" src="//www.gov.uk/government/assets/pub-cover-a380604bb953dc22ac9dcfbf3cc65598327f493c37b09ac497c45148cbaa21b1.png"></a>
491
+ </div>
492
+ <div class="attachment-details">
493
+ <h2 class="title"><a rel="external" href="http://example.com">An external link</a></h2>
494
+ <p class="metadata">
495
+ <span class="url">http://example.com</span>
496
+ </p>
497
+ </div>
498
+ </section>
499
+ <section class="attachment hosted-externally" id="attachment_1425056">
500
+ <div class="attachment-thumb">
501
+ <a aria-hidden="true" class="thumbnail" href="http://example.com"><img alt="" src="//www.gov.uk/government/assets/pub-cover-a380604bb953dc22ac9dcfbf3cc65598327f493c37b09ac497c45148cbaa21b1.png"></a>
502
+ </div>
503
+ <div class="attachment-details">
504
+ <h2 class="title"><a rel="external" href="http://example.com">An external link (with all possible metadata)</a></h2>
505
+ <p class="metadata">
506
+ <span class="references">
507
+ Ref: ISBN <span class="isbn">9780605039070</span>, <span class="unique_reference">ABC-12345</span>, <span class="command_paper_number">Cmd.987654321</span>, <span class="house_of_commons_paper_number">HC 0123456789</span> <span class="parliamentary_session">2015-16</span>
508
+ </span>
509
+ <span class="url">http://example.com</span>
510
+ </p>
511
+ <p>
512
+ <a class="order_url" title="Order a copy of the publication" href="http://www.example.com">Order a copy</a>
513
+ (<span class="price">£1.00</span>)
514
+ </p>
515
+ </div>
516
+ </section>
517
+ <section class="attachment embedded" id="attachment_1398523">
518
+ <div class="attachment-thumb">
519
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/consultations/environmental-permitting-updating-the-standards-for-petrol-vapour-recovery-at-service-stations"><img alt="" src="https://assets.digital.cabinet-office.gov.uk/government/uploads/system/uploads/attachment_data/file/498443/thumbnail_petrol-vapour-recovery-consult-sum-resp.pdf.png"></a>
520
+ </div>
521
+ <div class="attachment-details">
522
+ <h2 class="title"><a href="https://www.gov.uk/government/consultations/environmental-permitting-updating-the-standards-for-petrol-vapour-recovery-at-service-stations">Consultation outcome with published date</a></h2>
523
+ <p class="metadata">
524
+ <span class="changed">Published: <time class="date" datetime="2016-02-08"> 8 February 2016</time></span>
525
+ <span class="type"><abbr title="Portable Document Format">PDF</abbr></span>, <span class="file-size">106KB</span>, <span class="page-length">7 pages</span>
526
+ </p>
527
+ </div>
528
+ </section>
529
+ block_attachment_rtl:
530
+ data:
531
+ direction: rtl
532
+ content: |
533
+ <section class="attachment embedded" id="attachment_514218">
534
+ <div class="attachment-thumb">
535
+ <a aria-hidden="true" class="thumbnail" href="https://www.gov.uk/government/publications/future-of-food-and-farming.ar"><img alt="" src="https://assets-origin.integration.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/288236/thumbnail_11-924-future-of-food-and-farming-summary-arabic.pdf.png"></a>
536
+ </div>
537
+ <div class="attachment-details">
538
+ <h2 class="title"><a aria-describedby="attachment-514218-accessibility-help" href="https://www.gov.uk/government/publications/future-of-food-and-farming.ar">مستقبل الغذاء والزراعة: موجز تنفيذي</a></h2>
539
+ <p class="metadata">
540
+ <span class="references">
541
+ إشارة: <span class="unique_reference">BIS/11/924</span>
542
+ </span>
543
+ <span class="type"><abbr title="Portable Document Format">PDF</abbr></span>, <span class="file-size">906KB</span>, <span class="page-length">44 pages</span>
544
+ </p>
545
+ <div data-module="toggle" class="accessibility-warning" id="attachment-514218-accessibility-help">
546
+ <h2>هذا المف قد لا يكون مناسبا لمستخدمي التكنولوجيا المساعدة على القراءة
547
+ <a class="toggler" href="#attachment-514218-accessibility-request" data-controls="attachment-514218-accessibility-request" data-expanded="false" role="button" aria-controls="attachment-514218-accessibility-request" aria-expanded="false">طلب الوثيقة بشكل آخر</a>
548
+ </h2>
549
+ <p id="attachment-514218-accessibility-request" class="js-hidden" aria-live="polite" role="region">
550
+ لاستلام وثيقة مكتوبة بشكل آخر، كلغة بريل أو وثيقة صوتية أو أي نوع آخر من الوثائق، يرجى إرسال رسالة إلكترونية إلى <a href="mailto:enquiries@bis.gsi.gov.uk?body=Details%20of%20document%20required%3A%0A%0A%20%20Title%3A%20%D9%85%D8%B3%D8%AA%D9%82%D8%A8%D9%84%20%D8%A7%D9%84%D8%BA%D8%B0%D8%A7%D8%A1%20%D9%88%D8%A7%D9%84%D8%B2%D8%B1%D8%A7%D8%B9%D8%A9%3A%20%D9%85%D9%88%D8%AC%D8%B2%20%D8%AA%D9%86%D9%81%D9%8A%D8%B0%D9%8A%0A%20%20Original%20format%3A%20pdf%0A%20%20Unique%20reference%3A%20BIS%2F11%2F924%0A%0APlease%20tell%20us%3A%0A%0A%20%201.%20What%20makes%20this%20format%20unsuitable%20for%20you%3F%0A%20%202.%20What%20format%20you%20would%20prefer%3F%0A%20%20%20%20%20%20&amp;subject=Request%20for%20%27%D9%85%D8%B3%D8%AA%D9%82%D8%A8%D9%84%20%D8%A7%D9%84%D8%BA%D8%B0%D8%A7%D8%A1%20%D9%88%D8%A7%D9%84%D8%B2%D8%B1%D8%A7%D8%B9%D8%A9%3A%20%D9%85%D9%88%D8%AC%D8%B2%20%D8%AA%D9%86%D9%81%D9%8A%D8%B0%D9%8A%27%20in%20an%20alternative%20format">enquiries@bis.gsi.gov.uk</a> مع كتابة عنوانك ورقم هاتفك إلى جانب عنوان الوثيقة المطلوبة ("{title}"), and its reference (Unique reference: BIS/11/924)
551
+ </p>
552
+ </div>
553
+ </div>
554
+ </section>
555
+ example:
556
+ data:
557
+ content: |
558
+ <div class="example">
559
+ <p>
560
+ <strong>Example</strong>
561
+ This is an indented example block.<br/>
562
+ It may span multiple lines, <a href="#">contain links</a>.
563
+ </p>
564
+ <p>
565
+ It may even span multiple paragraphs.
566
+ </p>
567
+ </div>
568
+ call_to_action:
569
+ data:
570
+ content: |
571
+ <div class="call-to-action">
572
+ <p>Call to action</p>
573
+ </div>
574
+ information_callout:
575
+ data:
576
+ content: |
577
+ <div class="application-notice info-notice">
578
+ <p>
579
+ If you drilled a tunnel straight through the Earth and jumped in, it would take
580
+ you exactly 42 minutes and 12 seconds to get to the other side.
581
+ </p>
582
+ </div>
583
+ warning_callout:
584
+ data:
585
+ content: |
586
+ <div class="application-notice help-notice">
587
+ <p>
588
+ The water in the mouth of a blue whale weighs more than its body.
589
+ </p>
590
+ </div>
591
+ advisory:
592
+ data:
593
+ content: |
594
+ <h3 role="note" aria-label="Important" class="advisory">
595
+ <span>This is a very important message or warning</span>
596
+ </h3>
597
+ form_download:
598
+ data:
599
+ content: |
600
+ <div class="form-download">
601
+ <p><a href="http://example.com/" title="Example form" rel="external">An example form download link.</a></p>
602
+ </div>
603
+ steps:
604
+ data:
605
+ content:
606
+ <ol class="steps">
607
+ <li>
608
+ <p>Add numbers.</p>
609
+ </li>
610
+ <li>
611
+ <p>Check numbers.</p>
612
+ </li>
613
+ <li>
614
+ <p>Love numbers.</p>
615
+ </li>
616
+ </ol>
617
+ highlight_answer:
618
+ description: |
619
+ Used on:
620
+
621
+ * [https://gov.uk/vat-rates](https://gov.uk/vat-rates)
622
+ * [https://gov.uk/junior-individual-savings-accounts](https://gov.uk/junior-individual-savings-accounts)
623
+ * [https://gov.uk/individual-savings-accounts](https://gov.uk/individual-savings-accounts)
624
+ * [https://gov.uk/corporation-tax-rates](https://gov.uk/corporation-tax-rates)
625
+ data:
626
+ content: |
627
+ <div class="highlight-answer">
628
+ <p>The VAT rate is <em>20%</em></p>
629
+ </div>
630
+ <div class="highlight-answer">
631
+ <p>In the 2017 to 2018 tax year, the savings limit for Junior <abbr title="Individual Savings Accounts">ISAs</abbr> is <em>£4,128</em></p>
632
+ </div>
633
+ <div class="highlight-answer">
634
+ <p>In the 2017 to 2018 tax year, the maximum you can save in <abbr title="Individual Savings Accounts">ISAs</abbr> is <em>£20,000</em></p>
635
+ </div>
636
+ place:
637
+ data:
638
+ content: |
639
+ <div class="place">
640
+ <p>This is a place</p>
641
+ </div>
642
+ summary:
643
+ data:
644
+ content: |
645
+ <div class="summary">
646
+ <p>This is a summary</p>
647
+ </div>
648
+ button:
649
+ data:
650
+ content: |
651
+ <a href="#" class="button button-start" role="button">
652
+ Start now
653
+ </a>