From 34cc87db406aedea723dbd4771433e9934cbffcb Mon Sep 17 00:00:00 2001 From: Kris Date: Thu, 28 Sep 2023 13:30:19 -0400 Subject: [PATCH] A11Y: UI emoji are decorative, use `alt=""` (#23690) --- .../admin/addon/templates/admin-badges/index.hbs | 6 +----- .../admin/addon/templates/customize-themes-index.hbs | 5 +---- .../discourse/app/templates/account-created/index.hbs | 2 +- .../javascripts/discourse/app/templates/email-login.hbs | 6 +----- .../javascripts/discourse/app/templates/invites/show.hbs | 2 +- .../javascripts/discourse/app/templates/password-reset.hbs | 6 +----- config/locales/client.en.yml | 5 ----- 7 files changed, 6 insertions(+), 26 deletions(-) diff --git a/app/assets/javascripts/admin/addon/templates/admin-badges/index.hbs b/app/assets/javascripts/admin/addon/templates/admin-badges/index.hbs index 16c92c4b761..78107ee4eed 100644 --- a/app/assets/javascripts/admin/addon/templates/admin-badges/index.hbs +++ b/app/assets/javascripts/admin/addon/templates/admin-badges/index.hbs @@ -1,10 +1,6 @@
- {{i18n +

{{i18n "admin.badges.badge_intro.title"}}

diff --git a/app/assets/javascripts/admin/addon/templates/customize-themes-index.hbs b/app/assets/javascripts/admin/addon/templates/customize-themes-index.hbs index 1f8d26361a9..2de6f05bcb7 100644 --- a/app/assets/javascripts/admin/addon/templates/customize-themes-index.hbs +++ b/app/assets/javascripts/admin/addon/templates/customize-themes-index.hbs @@ -1,8 +1,5 @@
- {{i18n +

{{i18n "admin.customize.theme.themes_intro"}}

diff --git a/app/assets/javascripts/discourse/app/templates/account-created/index.hbs b/app/assets/javascripts/discourse/app/templates/account-created/index.hbs index 1d86900f3d0..ee781230c93 100644 --- a/app/assets/javascripts/discourse/app/templates/account-created/index.hbs +++ b/app/assets/javascripts/discourse/app/templates/account-created/index.hbs @@ -7,7 +7,7 @@
- {{i18n +
diff --git a/app/assets/javascripts/discourse/app/templates/email-login.hbs b/app/assets/javascripts/discourse/app/templates/email-login.hbs index c39af8dd47a..8498fba16e4 100644 --- a/app/assets/javascripts/discourse/app/templates/email-login.hbs +++ b/app/assets/javascripts/discourse/app/templates/email-login.hbs @@ -1,11 +1,7 @@