From b7dbdec6fbb914699e6e36ddd12cd7f9faa22303 Mon Sep 17 00:00:00 2001 From: Joffrey JAFFEUX Date: Mon, 22 Feb 2021 12:10:51 +0100 Subject: [PATCH] A11Y: makes other and color, fieldset/legend elements (#12163) --- .../app/templates/preferences/interface.hbs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs index e14094c3a6f..7cba81b8196 100644 --- a/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs +++ b/app/assets/javascripts/discourse/app/templates/preferences/interface.hbs @@ -21,8 +21,8 @@ {{/if}} {{#if showColorSchemeSelector}} -
- +
+ {{i18n "user.color_scheme"}}
{{#if showDarkColorSchemeSelector}}
{{i18n "user.color_schemes.regular" }}
@@ -64,7 +64,7 @@ {{preference-checkbox labelKey="user.color_scheme_default_on_all_devices" checked=makeColorSchemeDefault}}
{{/if}} -
+ {{/if}} {{#if showDarkModeToggle}} @@ -127,8 +127,8 @@ -
- +
+ {{i18n "user.other_settings"}} {{preference-checkbox labelKey="user.external_links_in_new_tab" checked=model.user_option.external_links_in_new_tab class="pref-external-links"}} {{preference-checkbox labelKey="user.enable_quoting" checked=model.user_option.enable_quoting class="pref-enable-quoting"}} @@ -154,7 +154,7 @@ }}
{{preference-checkbox labelKey="user.skip_new_user_tips.description" checked=model.user_option.skip_new_user_tips class="pref-new-user-tips"}} - + {{plugin-outlet name="user-preferences-interface" args=(hash model=model save=(action "save"))}}