govuk_publishing_components 31.2.0 → 32.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/images/govuk_publishing_components/action-link-arrow--blue.svg +8 -2
- data/app/assets/javascripts/component_guide/accessibility-test.js +0 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics/track-click.js +1 -1
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-ecommerce-tracker.js +10 -5
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-event-tracker.js +2 -2
- data/app/assets/javascripts/govuk_publishing_components/analytics-ga4/ga4-page-views.js +10 -3
- data/app/assets/javascripts/govuk_publishing_components/components/layout-super-navigation-header.js +13 -4
- data/app/assets/stylesheets/govuk_publishing_components/components/_share-links.scss +0 -6
- data/app/views/govuk_publishing_components/components/_layout_super_navigation_header.html.erb +25 -1
- data/app/views/govuk_publishing_components/components/_share_links.html.erb +7 -2
- data/app/views/govuk_publishing_components/components/feedback/_problem_form.html.erb +19 -12
- data/app/views/govuk_publishing_components/components/feedback/_survey_signup_form.html.erb +10 -2
- data/app/views/govuk_publishing_components/components/feedback/_yes_no_banner.html.erb +1 -2
- data/config/locales/ar.yml +4 -1
- data/config/locales/az.yml +4 -1
- data/config/locales/be.yml +4 -1
- data/config/locales/bg.yml +4 -1
- data/config/locales/bn.yml +4 -1
- data/config/locales/cs.yml +4 -1
- data/config/locales/cy.yml +4 -1
- data/config/locales/da.yml +4 -1
- data/config/locales/de.yml +4 -1
- data/config/locales/dr.yml +4 -1
- data/config/locales/el.yml +4 -1
- data/config/locales/en.yml +20 -17
- data/config/locales/es-419.yml +4 -1
- data/config/locales/es.yml +4 -1
- data/config/locales/et.yml +4 -1
- data/config/locales/fa.yml +4 -1
- data/config/locales/fi.yml +4 -1
- data/config/locales/fr.yml +4 -1
- data/config/locales/gd.yml +4 -1
- data/config/locales/gu.yml +4 -1
- data/config/locales/he.yml +4 -1
- data/config/locales/hi.yml +4 -1
- data/config/locales/hr.yml +4 -1
- data/config/locales/hu.yml +4 -1
- data/config/locales/hy.yml +4 -1
- data/config/locales/id.yml +4 -1
- data/config/locales/is.yml +4 -1
- data/config/locales/it.yml +4 -1
- data/config/locales/ja.yml +4 -1
- data/config/locales/ka.yml +4 -1
- data/config/locales/kk.yml +4 -1
- data/config/locales/ko.yml +4 -1
- data/config/locales/lt.yml +4 -1
- data/config/locales/lv.yml +4 -1
- data/config/locales/ms.yml +4 -1
- data/config/locales/mt.yml +4 -1
- data/config/locales/nl.yml +4 -1
- data/config/locales/no.yml +4 -1
- data/config/locales/pa-pk.yml +4 -1
- data/config/locales/pa.yml +4 -1
- data/config/locales/pl.yml +4 -1
- data/config/locales/ps.yml +4 -1
- data/config/locales/pt.yml +4 -1
- data/config/locales/ro.yml +4 -1
- data/config/locales/ru.yml +4 -1
- data/config/locales/si.yml +4 -1
- data/config/locales/sk.yml +4 -1
- data/config/locales/sl.yml +4 -1
- data/config/locales/so.yml +4 -1
- data/config/locales/sq.yml +4 -1
- data/config/locales/sr.yml +4 -1
- data/config/locales/sv.yml +4 -1
- data/config/locales/sw.yml +4 -1
- data/config/locales/ta.yml +4 -1
- data/config/locales/th.yml +4 -1
- data/config/locales/tk.yml +4 -1
- data/config/locales/tr.yml +4 -1
- data/config/locales/uk.yml +4 -1
- data/config/locales/ur.yml +4 -1
- data/config/locales/uz.yml +4 -1
- data/config/locales/vi.yml +4 -1
- data/config/locales/zh-hk.yml +4 -1
- data/config/locales/zh-tw.yml +4 -1
- data/config/locales/zh.yml +4 -1
- data/lib/govuk_publishing_components/version.rb +1 -1
- data/node_modules/axe-core/README.md +7 -6
- data/node_modules/axe-core/axe.d.ts +1 -0
- data/node_modules/axe-core/axe.js +8910 -7200
- data/node_modules/axe-core/axe.min.js +2 -2
- data/node_modules/axe-core/locales/_template.json +1067 -0
- data/node_modules/axe-core/locales/fr.json +1 -1
- data/node_modules/axe-core/locales/he.json +1015 -0
- data/node_modules/axe-core/locales/no_NB.json +797 -0
- data/node_modules/axe-core/package.json +57 -59
- data/node_modules/axe-core/sri-history.json +8 -0
- metadata +6 -3
data/config/locales/sq.yml
CHANGED
@@ -164,13 +164,16 @@ sq:
|
|
164
164
|
link_text: Kontrolloni se çfarë duhet të bëni
|
165
165
|
title: Brexit
|
166
166
|
ukraine:
|
167
|
-
title:
|
168
167
|
links:
|
168
|
+
title:
|
169
169
|
world_locations: Vendndodhjet globale
|
170
170
|
search_box:
|
171
171
|
input_title: Kërko
|
172
172
|
label: Kërko në GOV.UK
|
173
173
|
search_button: Kërko
|
174
|
+
share_links:
|
175
|
+
all_opens_in_new_tab:
|
176
|
+
opens_in_new_tab:
|
174
177
|
show_password:
|
175
178
|
announce_hide: Fjalëkalimi juaj është fshehur
|
176
179
|
announce_show: Fjalëkalimi juaj është treguar
|
data/config/locales/sr.yml
CHANGED
@@ -165,13 +165,16 @@ sr:
|
|
165
165
|
link_text: Proverite šta treba da uradite
|
166
166
|
title: Bregzit
|
167
167
|
ukraine:
|
168
|
-
title:
|
169
168
|
links:
|
169
|
+
title:
|
170
170
|
world_locations: Globalne lokacije
|
171
171
|
search_box:
|
172
172
|
input_title: Pretraži
|
173
173
|
label: Pretraži na GOV.UK
|
174
174
|
search_button: Pretraži
|
175
|
+
share_links:
|
176
|
+
all_opens_in_new_tab:
|
177
|
+
opens_in_new_tab:
|
175
178
|
show_password:
|
176
179
|
announce_hide: Lozinka je sakrivena
|
177
180
|
announce_show: Lozinka je prikazana
|
data/config/locales/sv.yml
CHANGED
@@ -164,13 +164,16 @@ sv:
|
|
164
164
|
link_text: Kontrollera vad du behöver göra
|
165
165
|
title: Brexit
|
166
166
|
ukraine:
|
167
|
-
title:
|
168
167
|
links:
|
168
|
+
title:
|
169
169
|
world_locations: Platser i världen
|
170
170
|
search_box:
|
171
171
|
input_title: Sök på
|
172
172
|
label: Sök på GOV.UK
|
173
173
|
search_button: Sök på
|
174
|
+
share_links:
|
175
|
+
all_opens_in_new_tab:
|
176
|
+
opens_in_new_tab:
|
174
177
|
show_password:
|
175
178
|
announce_hide: Ditt lösenord är dolt
|
176
179
|
announce_show: Ditt lösenord visas
|
data/config/locales/sw.yml
CHANGED
@@ -164,13 +164,16 @@ sw:
|
|
164
164
|
link_text: Angalia unachopaswa kufanya
|
165
165
|
title: Brexit
|
166
166
|
ukraine:
|
167
|
-
title:
|
168
167
|
links:
|
168
|
+
title:
|
169
169
|
world_locations: Maeneo ya kimataifa
|
170
170
|
search_box:
|
171
171
|
input_title: Tafuta
|
172
172
|
label: Tafuta kwenye tovuti ya GOV.UK
|
173
173
|
search_button: Tafuta
|
174
|
+
share_links:
|
175
|
+
all_opens_in_new_tab:
|
176
|
+
opens_in_new_tab:
|
174
177
|
show_password:
|
175
178
|
announce_hide: Nenosiri lako limefichwa
|
176
179
|
announce_show: Nenosiri lako limeonyeshwa
|
data/config/locales/ta.yml
CHANGED
@@ -165,13 +165,16 @@ ta:
|
|
165
165
|
link_text: நீங்கள் செய்யவேண்டியது என்ன என்று பாருங்கள்
|
166
166
|
title: பிரெக்சிட்
|
167
167
|
ukraine:
|
168
|
-
title:
|
169
168
|
links:
|
169
|
+
title:
|
170
170
|
world_locations: உலக இருப்பிடங்கள்
|
171
171
|
search_box:
|
172
172
|
input_title: தேடு
|
173
173
|
label: GOV.UK-யில் தேடுக
|
174
174
|
search_button: தேடு
|
175
|
+
share_links:
|
176
|
+
all_opens_in_new_tab:
|
177
|
+
opens_in_new_tab:
|
175
178
|
show_password:
|
176
179
|
announce_hide: உங்கள் கடவுச்சொல் மறைக்கப்பட்டுள்ளது
|
177
180
|
announce_show: உங்கள் கடவுச்சொல் காட்டப்படுகிறது
|
data/config/locales/th.yml
CHANGED
@@ -162,13 +162,16 @@ th:
|
|
162
162
|
link_text: ตรวจสอบสิ่งที่คุณต้องทำ
|
163
163
|
title: Brexit
|
164
164
|
ukraine:
|
165
|
-
title:
|
166
165
|
links:
|
166
|
+
title:
|
167
167
|
world_locations: สถานที่ทั่วโลก
|
168
168
|
search_box:
|
169
169
|
input_title: ค้นหา
|
170
170
|
label: ค้นหาใน GOV.UK
|
171
171
|
search_button: ค้นหา
|
172
|
+
share_links:
|
173
|
+
all_opens_in_new_tab:
|
174
|
+
opens_in_new_tab:
|
172
175
|
show_password:
|
173
176
|
announce_hide: รหัสผ่านของคุณถูกซ่อน
|
174
177
|
announce_show: รหัสผ่านของคุณถูกแสดง
|
data/config/locales/tk.yml
CHANGED
@@ -165,13 +165,16 @@ tk:
|
|
165
165
|
link_text: Näme etmelidigiňizi belläň
|
166
166
|
title: Brexit
|
167
167
|
ukraine:
|
168
|
-
title:
|
169
168
|
links:
|
169
|
+
title:
|
170
170
|
world_locations: Dünýä ýerleri
|
171
171
|
search_box:
|
172
172
|
input_title: Gözlemek
|
173
173
|
label: GOV.UK-de gözle
|
174
174
|
search_button: Gözlemek
|
175
|
+
share_links:
|
176
|
+
all_opens_in_new_tab:
|
177
|
+
opens_in_new_tab:
|
175
178
|
show_password:
|
176
179
|
announce_hide: Açar sözüňiz gizlenen
|
177
180
|
announce_show: Açar sözüňiz görkezilen
|
data/config/locales/tr.yml
CHANGED
@@ -165,13 +165,16 @@ tr:
|
|
165
165
|
link_text: Ne yapmaya ihtiyacınız olduğunu kontrol edin
|
166
166
|
title: Brexit
|
167
167
|
ukraine:
|
168
|
-
title:
|
169
168
|
links:
|
169
|
+
title:
|
170
170
|
world_locations: Dünya geneli konumlar
|
171
171
|
search_box:
|
172
172
|
input_title: Ara
|
173
173
|
label: GOV.UK adresini ara
|
174
174
|
search_button: Ara
|
175
|
+
share_links:
|
176
|
+
all_opens_in_new_tab:
|
177
|
+
opens_in_new_tab:
|
175
178
|
show_password:
|
176
179
|
announce_hide: Şifreniz gizli
|
177
180
|
announce_show: Şifreniz gösteriliyor
|
data/config/locales/uk.yml
CHANGED
@@ -171,13 +171,16 @@ uk:
|
|
171
171
|
link_text: Перевірте, що вам потрібно зробити
|
172
172
|
title: Brexit
|
173
173
|
ukraine:
|
174
|
-
title:
|
175
174
|
links:
|
175
|
+
title:
|
176
176
|
world_locations: Світові локації
|
177
177
|
search_box:
|
178
178
|
input_title: Пошук
|
179
179
|
label: Пошук на GOV.UK
|
180
180
|
search_button: Пошук
|
181
|
+
share_links:
|
182
|
+
all_opens_in_new_tab:
|
183
|
+
opens_in_new_tab:
|
181
184
|
show_password:
|
182
185
|
announce_hide: Ваш пароль приховано
|
183
186
|
announce_show: Ваш пароль показано
|
data/config/locales/ur.yml
CHANGED
@@ -161,13 +161,16 @@ ur:
|
|
161
161
|
link_text: پڑتال کریں کہ آپ کو کیا کرنے کی ضرورت ہے
|
162
162
|
title: Brexit
|
163
163
|
ukraine:
|
164
|
-
title:
|
165
164
|
links:
|
165
|
+
title:
|
166
166
|
world_locations: عالمی مقامات
|
167
167
|
search_box:
|
168
168
|
input_title: تلاش
|
169
169
|
label: GOV.UK پر تلاش کریں
|
170
170
|
search_button: تلاش
|
171
|
+
share_links:
|
172
|
+
all_opens_in_new_tab:
|
173
|
+
opens_in_new_tab:
|
171
174
|
show_password:
|
172
175
|
announce_hide: آپ کا پاس ورڈ پوشیدہ ہے
|
173
176
|
announce_show: آپ کا پاس ورڈ دکھائی دے رہا ہے
|
data/config/locales/uz.yml
CHANGED
@@ -166,13 +166,16 @@ uz:
|
|
166
166
|
link_text: Нима қилиш зарурлигини текшириш
|
167
167
|
title: Брексит
|
168
168
|
ukraine:
|
169
|
-
title:
|
170
169
|
links:
|
170
|
+
title:
|
171
171
|
world_locations: Жаҳондаги жойлашиш жойи
|
172
172
|
search_box:
|
173
173
|
input_title: Излаш
|
174
174
|
label: GOV.UKда излаш
|
175
175
|
search_button: Излаш
|
176
|
+
share_links:
|
177
|
+
all_opens_in_new_tab:
|
178
|
+
opens_in_new_tab:
|
176
179
|
show_password:
|
177
180
|
announce_hide: Сизнинг пароль яширилган
|
178
181
|
announce_show: Сизнинг пароль акс эттирилган
|
data/config/locales/vi.yml
CHANGED
@@ -163,13 +163,16 @@ vi:
|
|
163
163
|
link_text: Kiểm tra những gì bạn cần làm
|
164
164
|
title: Brexit
|
165
165
|
ukraine:
|
166
|
-
title:
|
167
166
|
links:
|
167
|
+
title:
|
168
168
|
world_locations: Các vị trí trên thế giới
|
169
169
|
search_box:
|
170
170
|
input_title: Tìm kiếm
|
171
171
|
label: Tìm kiếm trên GOV.UK
|
172
172
|
search_button: Tìm kiếm
|
173
|
+
share_links:
|
174
|
+
all_opens_in_new_tab:
|
175
|
+
opens_in_new_tab:
|
173
176
|
show_password:
|
174
177
|
announce_hide: Mật khẩu của bạn bị ẩn
|
175
178
|
announce_show: Mật khẩu của bạn được hiển thị
|
data/config/locales/zh-hk.yml
CHANGED
@@ -162,13 +162,16 @@ zh-hk:
|
|
162
162
|
link_text: 查看您需要做的事
|
163
163
|
title: 英國脫歐
|
164
164
|
ukraine:
|
165
|
-
title:
|
166
165
|
links:
|
166
|
+
title:
|
167
167
|
world_locations: 全世界之地點
|
168
168
|
search_box:
|
169
169
|
input_title: 搜尋
|
170
170
|
label: 搜尋 GOV.UK
|
171
171
|
search_button: 搜尋
|
172
|
+
share_links:
|
173
|
+
all_opens_in_new_tab:
|
174
|
+
opens_in_new_tab:
|
172
175
|
show_password:
|
173
176
|
announce_hide: 您的密碼已隱藏
|
174
177
|
announce_show: 您的密碼已顯示
|
data/config/locales/zh-tw.yml
CHANGED
@@ -162,13 +162,16 @@ zh-tw:
|
|
162
162
|
link_text: 確認你需要:
|
163
163
|
title: 脫歐
|
164
164
|
ukraine:
|
165
|
-
title:
|
166
165
|
links:
|
166
|
+
title:
|
167
167
|
world_locations: 世界地點
|
168
168
|
search_box:
|
169
169
|
input_title: 搜尋
|
170
170
|
label: 在英國政府網站上搜尋
|
171
171
|
search_button: 搜尋
|
172
|
+
share_links:
|
173
|
+
all_opens_in_new_tab:
|
174
|
+
opens_in_new_tab:
|
172
175
|
show_password:
|
173
176
|
announce_hide: 隱藏你的密碼
|
174
177
|
announce_show: 顯示你的密碼
|
data/config/locales/zh.yml
CHANGED
@@ -162,13 +162,16 @@ zh:
|
|
162
162
|
link_text: 检查您需要做的事情
|
163
163
|
title: 英国脱欧
|
164
164
|
ukraine:
|
165
|
-
title:
|
166
165
|
links:
|
166
|
+
title:
|
167
167
|
world_locations: 世界地点
|
168
168
|
search_box:
|
169
169
|
input_title: 搜索
|
170
170
|
label: 搜索GOV.UK
|
171
171
|
search_button: 搜索
|
172
|
+
share_links:
|
173
|
+
all_opens_in_new_tab:
|
174
|
+
opens_in_new_tab:
|
172
175
|
show_password:
|
173
176
|
announce_hide: 您的密码已隐藏
|
174
177
|
announce_show: 您的密码已显示
|
@@ -78,9 +78,9 @@ The [axe-core API](doc/API.md) fully supports the following browsers:
|
|
78
78
|
- Google Chrome v42 and above
|
79
79
|
- Mozilla Firefox v38 and above
|
80
80
|
- Apple Safari v7 and above
|
81
|
-
- Internet Explorer v11
|
81
|
+
- Internet Explorer v11 (DEPRECATED)
|
82
82
|
|
83
|
-
Support means that we will fix bugs and attempt to test each browser regularly. Only
|
83
|
+
Support means that we will fix bugs and attempt to test each browser regularly. Only Chrome and Firefox are currently tested on every pull request.
|
84
84
|
|
85
85
|
There is limited support for JSDOM. We will attempt to make all rules compatible with JSDOM but where this is not possible, we recommend turning those rules off. Currently the `color-contrast` rule is known not to work with JSDOM.
|
86
86
|
|
@@ -103,9 +103,9 @@ or equivalently:
|
|
103
103
|
|
104
104
|
`npm run build -- --lang=nl`
|
105
105
|
|
106
|
-
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of
|
106
|
+
This will create a new build for axe, called `axe.<lang>.js` and `axe.<lang>.min.js`. If you want to build localized versions, simply pass in `--all-lang` instead. If you want to build multiple localized versions (but not all of them), you can pass in a comma-separated list of languages to the `--lang` flag, like `--lang=nl,ja`.
|
107
107
|
|
108
|
-
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).
|
108
|
+
To create a new translation for axe, start by running `grunt translate --lang=<langcode>`. This will create a json file fin the `./locales` directory, with the default English text in it for you to translate. Alternatively, you could copy `./locales/_template.json`. We welcome any localization for axe-core. For details on how to contribute, see the Contributing section below. For details on the message syntax, see [Check Message Template](/docs/check-message-template.md).
|
109
109
|
|
110
110
|
To update existing translation file, re-run `grunt translate --lang=<langcode>`. This will add new messages used in English and remove messages which were not used in English.
|
111
111
|
|
@@ -127,8 +127,7 @@ axe.configure({
|
|
127
127
|
},
|
128
128
|
'aria-errormessage': {
|
129
129
|
// Note: doT (https://github.com/olado/dot) templates are supported here.
|
130
|
-
fail:
|
131
|
-
'Der Wert der aria-errormessage ${data.values}` muss eine Technik verwenden, um die Message anzukündigen (z. B., aria-live, aria-describedby, role=alert, etc.).'
|
130
|
+
fail: 'Der Wert der aria-errormessage ${data.values}` muss eine Technik verwenden, um die Message anzukündigen (z. B., aria-live, aria-describedby, role=alert, etc.).'
|
132
131
|
}
|
133
132
|
// ...
|
134
133
|
}
|
@@ -145,8 +144,10 @@ Axe-core supports the following locales. Do note that since locales are contribu
|
|
145
144
|
- Dutch
|
146
145
|
- French
|
147
146
|
- German
|
147
|
+
- Hebrew
|
148
148
|
- Japanese
|
149
149
|
- Korean
|
150
|
+
- Norwegian (Bokmål)
|
150
151
|
- Polish
|
151
152
|
- Portuguese (Brazilian)
|
152
153
|
- Spanish
|