govuk_publishing_components 35.15.5 → 35.16.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/config/govuk_publishing_components_manifest.js +1 -0
  3. data/app/assets/images/option-select/input-icon.svg +3 -0
  4. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +19 -1
  5. data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/pii-remover.js +1 -1
  6. data/app/assets/javascripts/govuk_publishing_components/components/option-select.js +312 -0
  7. data/app/assets/stylesheets/govuk_publishing_components/_all_components.scss +1 -0
  8. data/app/assets/stylesheets/govuk_publishing_components/components/_image-card.scss +26 -0
  9. data/app/assets/stylesheets/govuk_publishing_components/components/_option-select.scss +172 -0
  10. data/app/views/govuk_publishing_components/components/_image_card.html.erb +8 -2
  11. data/app/views/govuk_publishing_components/components/_option_select.html.erb +71 -0
  12. data/app/views/govuk_publishing_components/components/docs/image_card.yml +13 -0
  13. data/app/views/govuk_publishing_components/components/docs/option_select.yml +343 -0
  14. data/config/locales/ar.yml +4 -0
  15. data/config/locales/az.yml +4 -0
  16. data/config/locales/be.yml +4 -0
  17. data/config/locales/bg.yml +4 -0
  18. data/config/locales/bn.yml +4 -0
  19. data/config/locales/cs.yml +4 -0
  20. data/config/locales/cy.yml +4 -0
  21. data/config/locales/da.yml +4 -0
  22. data/config/locales/de.yml +4 -0
  23. data/config/locales/dr.yml +4 -0
  24. data/config/locales/el.yml +4 -0
  25. data/config/locales/en.yml +4 -0
  26. data/config/locales/es-419.yml +4 -0
  27. data/config/locales/es.yml +4 -0
  28. data/config/locales/et.yml +4 -0
  29. data/config/locales/fa.yml +4 -0
  30. data/config/locales/fi.yml +4 -0
  31. data/config/locales/fr.yml +4 -0
  32. data/config/locales/gd.yml +4 -0
  33. data/config/locales/gu.yml +4 -0
  34. data/config/locales/he.yml +4 -0
  35. data/config/locales/hi.yml +4 -0
  36. data/config/locales/hr.yml +4 -0
  37. data/config/locales/hu.yml +4 -0
  38. data/config/locales/hy.yml +4 -0
  39. data/config/locales/id.yml +4 -0
  40. data/config/locales/is.yml +4 -0
  41. data/config/locales/it.yml +4 -0
  42. data/config/locales/ja.yml +4 -0
  43. data/config/locales/ka.yml +4 -0
  44. data/config/locales/kk.yml +4 -0
  45. data/config/locales/ko.yml +4 -0
  46. data/config/locales/lt.yml +4 -0
  47. data/config/locales/lv.yml +4 -0
  48. data/config/locales/ms.yml +4 -0
  49. data/config/locales/mt.yml +4 -0
  50. data/config/locales/nl.yml +4 -0
  51. data/config/locales/no.yml +4 -0
  52. data/config/locales/pa-pk.yml +4 -0
  53. data/config/locales/pa.yml +4 -0
  54. data/config/locales/pl.yml +4 -0
  55. data/config/locales/ps.yml +4 -0
  56. data/config/locales/pt.yml +4 -0
  57. data/config/locales/ro.yml +4 -0
  58. data/config/locales/ru.yml +4 -0
  59. data/config/locales/si.yml +4 -0
  60. data/config/locales/sk.yml +4 -0
  61. data/config/locales/sl.yml +4 -0
  62. data/config/locales/so.yml +4 -0
  63. data/config/locales/sq.yml +4 -0
  64. data/config/locales/sr.yml +4 -0
  65. data/config/locales/sv.yml +4 -0
  66. data/config/locales/sw.yml +4 -0
  67. data/config/locales/ta.yml +4 -0
  68. data/config/locales/th.yml +4 -0
  69. data/config/locales/tk.yml +4 -0
  70. data/config/locales/tr.yml +4 -0
  71. data/config/locales/uk.yml +4 -0
  72. data/config/locales/ur.yml +4 -0
  73. data/config/locales/uz.yml +4 -0
  74. data/config/locales/vi.yml +4 -0
  75. data/config/locales/zh-hk.yml +4 -0
  76. data/config/locales/zh-tw.yml +4 -0
  77. data/config/locales/zh.yml +4 -0
  78. data/lib/govuk_publishing_components/presenters/image_card_helper.rb +6 -2
  79. data/lib/govuk_publishing_components/version.rb +1 -1
  80. data/node_modules/axe-core/axe.js +6 -6
  81. data/node_modules/axe-core/axe.min.js +2 -2
  82. data/node_modules/axe-core/locales/_template.json +4 -4
  83. data/node_modules/axe-core/package.json +1 -1
  84. data/node_modules/axe-core/sri-history.json +4 -0
  85. metadata +7 -2
@@ -137,6 +137,10 @@ hi:
137
137
  close_modal: मॉडल संवाद बंद करें
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: "%{organization} से सभी सामग्री खोजें"
142
146
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ hr:
138
138
  close_modal: Zatvorite modalni dijalog
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: Pronađi sav sadržaj %{organization}
143
147
  previous_and_next_navigation:
@@ -140,6 +140,10 @@ hu:
140
140
  close_modal: Modális párbeszédpanel bezárása
141
141
  notice:
142
142
  banner_title:
143
+ option_select:
144
+ found_single:
145
+ found_multiple:
146
+ selected:
143
147
  organisation_schema:
144
148
  all_content_search_description: Keresse meg a(z) %{organisation} szervezet minden tartalmát
145
149
  previous_and_next_navigation:
@@ -141,6 +141,10 @@ hy:
141
141
  close_modal: Փակել մոդալ պատուհանը
142
142
  notice:
143
143
  banner_title:
144
+ option_select:
145
+ found_single:
146
+ found_multiple:
147
+ selected:
144
148
  organisation_schema:
145
149
  all_content_search_description: Գտնել %{organisation} ողջ բովանդակությունը
146
150
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ id:
137
137
  close_modal: Tutup dialog
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Temukan semua konten dari %{organisation}
142
146
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ is:
137
137
  close_modal: Loka glugga
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Finna allt efni frá %{organisation}
142
146
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ it:
137
137
  close_modal: Chiudi dialogo modale
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Trova tutto il contenuto da %{organisation}
142
146
  previous_and_next_navigation:
@@ -133,6 +133,10 @@ ja:
133
133
  close_modal: 特殊ウインドウを閉じる
134
134
  notice:
135
135
  banner_title:
136
+ option_select:
137
+ found_single:
138
+ found_multiple:
139
+ selected:
136
140
  organisation_schema:
137
141
  all_content_search_description: "%{organisation} からすべてのコンテンツを検索"
138
142
  previous_and_next_navigation:
@@ -140,6 +140,10 @@ ka:
140
140
  close_modal: მოდალური დიალოგის გამორთვა
141
141
  notice:
142
142
  banner_title:
143
+ option_select:
144
+ found_single:
145
+ found_multiple:
146
+ selected:
143
147
  organisation_schema:
144
148
  all_content_search_description: ყველა მასალის ნახვა %{organisation}-დან
145
149
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ kk:
137
137
  close_modal: Жабық модальды диалог
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: "%{organisation} ішіндегі барлық мазмұнды табу"
142
146
  previous_and_next_navigation:
@@ -132,6 +132,10 @@ ko:
132
132
  close_modal:
133
133
  notice:
134
134
  banner_title:
135
+ option_select:
136
+ found_single:
137
+ found_multiple:
138
+ selected:
135
139
  organisation_schema:
136
140
  all_content_search_description:
137
141
  previous_and_next_navigation:
@@ -142,6 +142,10 @@ lt:
142
142
  close_modal: Uždaryti modalinį dialogo langą
143
143
  notice:
144
144
  banner_title:
145
+ option_select:
146
+ found_single:
147
+ found_multiple:
148
+ selected:
145
149
  organisation_schema:
146
150
  all_content_search_description: Rasti visą turinį iš %{organisation}
147
151
  previous_and_next_navigation:
@@ -141,6 +141,10 @@ lv:
141
141
  close_modal: Aizvērt modālo dialogu
142
142
  notice:
143
143
  banner_title:
144
+ option_select:
145
+ found_single:
146
+ found_multiple:
147
+ selected:
144
148
  organisation_schema:
145
149
  all_content_search_description: Meklēt visu saturu no %{organisation}
146
150
  previous_and_next_navigation:
@@ -136,6 +136,10 @@ ms:
136
136
  close_modal: Tutup dialog mod
137
137
  notice:
138
138
  banner_title:
139
+ option_select:
140
+ found_single:
141
+ found_multiple:
142
+ selected:
139
143
  organisation_schema:
140
144
  all_content_search_description: Cari semua kandungan dari %{organisation}
141
145
  previous_and_next_navigation:
@@ -139,6 +139,10 @@ mt:
139
139
  close_modal: Agħlaq id-djalogu modali
140
140
  notice:
141
141
  banner_title:
142
+ option_select:
143
+ found_single:
144
+ found_multiple:
145
+ selected:
142
146
  organisation_schema:
143
147
  all_content_search_description: Sib il-kontenut kollu mingħand %{organisation}
144
148
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ nl:
137
137
  close_modal: Modale dialoog sluiten
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Zoek alle inhoud van %{organisation}
142
146
  previous_and_next_navigation:
@@ -137,6 +137,10 @@
137
137
  close_modal: Lukk modal dialog
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Finn alt innhold fra %{organization}
142
146
  previous_and_next_navigation:
@@ -133,6 +133,10 @@ pa-pk:
133
133
  close_modal: موڈیل ڈائیلاگ نوں بند کرو
134
134
  notice:
135
135
  banner_title:
136
+ option_select:
137
+ found_single:
138
+ found_multiple:
139
+ selected:
136
140
  organisation_schema:
137
141
  all_content_search_description: "%{organisation} توں سارا مواد تلاش کرو"
138
142
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ pa:
137
137
  close_modal: ਮਾਡਲ ਸੰਵਾਦ ਬੰਦ ਕਰੋ
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: "%{organisation} ਤੋਂ ਸਾਰੀ ਸਮਗਰੀ ਲੱਭੋ"
142
146
  previous_and_next_navigation:
@@ -141,6 +141,10 @@ pl:
141
141
  close_modal: Zamknij okno modalne
142
142
  notice:
143
143
  banner_title:
144
+ option_select:
145
+ found_single:
146
+ found_multiple:
147
+ selected:
144
148
  organisation_schema:
145
149
  all_content_search_description: Znajdź całą zawartość od %{organizacja}
146
150
  previous_and_next_navigation:
@@ -134,6 +134,10 @@ ps:
134
134
  close_modal: موډل ډیالوګ بند کړئ
135
135
  notice:
136
136
  banner_title:
137
+ option_select:
138
+ found_single:
139
+ found_multiple:
140
+ selected:
137
141
  organisation_schema:
138
142
  all_content_search_description: له%{organization} څخه ټوله مینځپانګه ومومئ
139
143
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ pt:
137
137
  close_modal: Fechar diálogo modal
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Encontrar todo o conteúdo de %{organisation}
142
146
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ ro:
138
138
  close_modal: Închideți dialogul modal
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: Găsiți tot conținutul de la %{organisation}
143
147
  previous_and_next_navigation:
@@ -141,6 +141,10 @@ ru:
141
141
  close_modal: Закрыть модальное диалоговое окно
142
142
  notice:
143
143
  banner_title:
144
+ option_select:
145
+ found_single:
146
+ found_multiple:
147
+ selected:
144
148
  organisation_schema:
145
149
  all_content_search_description: Найти весь контент от %{organization}
146
150
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ si:
137
137
  close_modal: ආදර්ශ සංවාදය වසන්න
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: "%{organisation} වෙතින් සියලුම අන්තර්ගතය සෝයන්න"
142
146
  previous_and_next_navigation:
@@ -142,6 +142,10 @@ sk:
142
142
  close_modal: Zavrieť modálny dialóg
143
143
  notice:
144
144
  banner_title:
145
+ option_select:
146
+ found_single:
147
+ found_multiple:
148
+ selected:
145
149
  organisation_schema:
146
150
  all_content_search_description: Nájsť všetok obsah z %{organisation}
147
151
  previous_and_next_navigation:
@@ -144,6 +144,10 @@ sl:
144
144
  close_modal: Zapri modalno okno
145
145
  notice:
146
146
  banner_title:
147
+ option_select:
148
+ found_single:
149
+ found_multiple:
150
+ selected:
147
151
  organisation_schema:
148
152
  all_content_search_description: Oglejte si vse gradivo %{organisation}
149
153
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ so:
137
137
  close_modal: Kusoo dhawoow wada hadal dhex dhexaad ah
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Raadi dhamaan waxyaabaha uu ka koobanyahay %{organisation}
142
146
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ sq:
137
137
  close_modal: Mbyll dialogun modal
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Gjeni të gjithë përmbajtjen nga %{organisation}
142
146
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ sr:
138
138
  close_modal: Zatvori modalni dijalog
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: Pronađite sav sadržaj organizacije %{organisation}
143
147
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ sv:
137
137
  close_modal: Stäng den modala dialogen
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Hitta allt innehåll från %{organisation}
142
146
  previous_and_next_navigation:
@@ -137,6 +137,10 @@ sw:
137
137
  close_modal: Funga dirisha ibukizi
138
138
  notice:
139
139
  banner_title:
140
+ option_select:
141
+ found_single:
142
+ found_multiple:
143
+ selected:
140
144
  organisation_schema:
141
145
  all_content_search_description: Tafuta maudhui yote kutoka %{organisation}
142
146
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ ta:
138
138
  close_modal: மாதிரி உரையாடலை மூடு
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: "%{organisation}-லிருந்து அனைத்து உள்ளடக்கத்தையும் கண்டறி"
143
147
  previous_and_next_navigation:
@@ -135,6 +135,10 @@ th:
135
135
  close_modal: ปิดการสนทนาโมดอล
136
136
  notice:
137
137
  banner_title:
138
+ option_select:
139
+ found_single:
140
+ found_multiple:
141
+ selected:
138
142
  organisation_schema:
139
143
  all_content_search_description: ค้นหาเนื้อหาทั้งหมดจาก %{organisation}
140
144
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ tk:
138
138
  close_modal: Modal gepleşikleri tamamlamak
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: Ähli mazmunyny %{organisation}-dan tapyň
143
147
  previous_and_next_navigation:
@@ -138,6 +138,10 @@ tr:
138
138
  close_modal: Model diyaloğu kapat
139
139
  notice:
140
140
  banner_title:
141
+ option_select:
142
+ found_single:
143
+ found_multiple:
144
+ selected:
141
145
  organisation_schema:
142
146
  all_content_search_description: "%{organisation} kaynaklı tüm içeriği bul"
143
147
  previous_and_next_navigation:
@@ -144,6 +144,10 @@ uk:
144
144
  close_modal: Закрити модальний діалог
145
145
  notice:
146
146
  banner_title:
147
+ option_select:
148
+ found_single:
149
+ found_multiple:
150
+ selected:
147
151
  organisation_schema:
148
152
  all_content_search_description: Знайти весь вміст від %{organization}
149
153
  previous_and_next_navigation:
@@ -134,6 +134,10 @@ ur:
134
134
  close_modal: محدود موڈل ڈائیلاگ
135
135
  notice:
136
136
  banner_title:
137
+ option_select:
138
+ found_single:
139
+ found_multiple:
140
+ selected:
137
141
  organisation_schema:
138
142
  all_content_search_description: "%{organisation} کا تمام مواد تلاش کریں"
139
143
  previous_and_next_navigation:
@@ -139,6 +139,10 @@ uz:
139
139
  close_modal: Модал мулоқотни ёпиш
140
140
  notice:
141
141
  banner_title:
142
+ option_select:
143
+ found_single:
144
+ found_multiple:
145
+ selected:
142
146
  organisation_schema:
143
147
  all_content_search_description: "%{organization} дан бутун контентни топиш"
144
148
  previous_and_next_navigation:
@@ -136,6 +136,10 @@ vi:
136
136
  close_modal: Đóng đối thoại phương thức
137
137
  notice:
138
138
  banner_title:
139
+ option_select:
140
+ found_single:
141
+ found_multiple:
142
+ selected:
139
143
  organisation_schema:
140
144
  all_content_search_description: Tìm tất cả nội dung từ %{organisation}
141
145
  previous_and_next_navigation:
@@ -135,6 +135,10 @@ zh-hk:
135
135
  close_modal: 關閉互動視窗對話
136
136
  notice:
137
137
  banner_title:
138
+ option_select:
139
+ found_single:
140
+ found_multiple:
141
+ selected:
138
142
  organisation_schema:
139
143
  all_content_search_description: 從 %{organisation} 獲得更多內容
140
144
  previous_and_next_navigation:
@@ -135,6 +135,10 @@ zh-tw:
135
135
  close_modal: 關閉模態對話
136
136
  notice:
137
137
  banner_title:
138
+ option_select:
139
+ found_single:
140
+ found_multiple:
141
+ selected:
138
142
  organisation_schema:
139
143
  all_content_search_description: 從 %{organisation} 找到所有內容
140
144
  previous_and_next_navigation:
@@ -135,6 +135,10 @@ zh:
135
135
  close_modal: 关闭模态对话
136
136
  notice:
137
137
  banner_title:
138
+ option_select:
139
+ found_single:
140
+ found_multiple:
141
+ selected:
138
142
  organisation_schema:
139
143
  all_content_search_description: 查找 %{organisation} 的全部内容
140
144
  previous_and_next_navigation:
@@ -4,7 +4,7 @@ module GovukPublishingComponents
4
4
  include ActionView::Helpers
5
5
  include ActionView::Context
6
6
 
7
- attr_reader :href_data_attributes, :extra_details, :extra_details_no_indent, :heading_text, :metadata, :lang, :image_loading, :youtube_video_id, :image_src
7
+ attr_reader :href_data_attributes, :extra_details, :extra_details_no_indent, :heading_text, :metadata, :lang, :image_loading, :youtube_video_id, :image_src, :two_thirds
8
8
 
9
9
  def initialize(local_assigns, brand_helper)
10
10
  @href = local_assigns[:href]
@@ -20,6 +20,7 @@ module GovukPublishingComponents
20
20
  @context = local_assigns[:context]
21
21
  @description = local_assigns[:description]
22
22
  @large = local_assigns[:large]
23
+ @two_thirds = local_assigns[:two_thirds] || false
23
24
  @heading_text = local_assigns[:heading_text]
24
25
  @extra_details_no_indent = local_assigns[:extra_details_no_indent]
25
26
  @metadata = local_assigns[:metadata]
@@ -60,8 +61,11 @@ module GovukPublishingComponents
60
61
  end
61
62
 
62
63
  def image
64
+ classes = %w[gem-c-image-card__image-wrapper]
65
+ classes << "gem-c-image-card__image-wrapper--one-third" if @two_thirds
66
+
63
67
  if @image_src
64
- content_tag(:figure, class: "gem-c-image-card__image-wrapper") do
68
+ content_tag(:figure, class: classes) do
65
69
  image_tag(
66
70
  @image_src,
67
71
  class: "gem-c-image-card__image",
@@ -1,3 +1,3 @@
1
1
  module GovukPublishingComponents
2
- VERSION = "35.15.5".freeze
2
+ VERSION = "35.16.0".freeze
3
3
  end
@@ -1,4 +1,4 @@
1
- /*! axe v4.8.0
1
+ /*! axe v4.8.1
2
2
  * Copyright (c) 2015 - 2023 Deque Systems, Inc.
3
3
  *
4
4
  * Your use of this Source Code Form is subject to the terms of the Mozilla Public
@@ -22,7 +22,7 @@
22
22
  }, _typeof(obj);
23
23
  }
24
24
  var axe = axe || {};
25
- axe.version = '4.8.0';
25
+ axe.version = '4.8.1';
26
26
  if (typeof define === 'function' && define.amd) {
27
27
  define('axe-core', [], function() {
28
28
  return axe;
@@ -28321,11 +28321,11 @@
28321
28321
  'target-offset': {
28322
28322
  impact: 'serious',
28323
28323
  messages: {
28324
- pass: 'Target has sufficient space from its closest neighbors (${data.closestOffset}px should be at least ${data.minOffset}px)',
28325
- fail: 'Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of {$data.closestOffset}px instead of at least ${data.minOffset}px)',
28324
+ pass: 'Target has sufficient space from its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px which is at least ${data.minOffset}px.',
28325
+ fail: 'Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px.',
28326
28326
  incomplete: {
28327
- default: 'Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of {$data.closestOffset}px instead of at least ${data.minOffset}px). Is this a target?',
28328
- nonTabbableNeighbor: 'Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of {$data.closestOffset}px instead of at least ${data.minOffset}px). Is the neighbor a target?'
28327
+ default: 'Element with negative tabindex has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is this a target?',
28328
+ nonTabbableNeighbor: 'Target has insufficient space to its closest neighbors. Safe clickable space has a diameter of ${data.closestOffset}px instead of at least ${data.minOffset}px. Is the neighbor a target?'
28329
28329
  }
28330
28330
  }
28331
28331
  },