From ef11bef2bd38cbfce12545b036b13f7f174c3b97 Mon Sep 17 00:00:00 2001
From: Bubka <858858+Bubka@users.noreply.github.com>
Date: Fri, 7 Jun 2024 08:15:16 +0200
Subject: [PATCH] Remove alt text for icons & Set accessibility role
accordingly
---
resources/js/views/twofaccounts/Accounts.vue | 2 +-
resources/js/views/twofaccounts/Import.vue | 2 +-
resources/lang/en/twofaccounts.php | 1 -
3 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/resources/js/views/twofaccounts/Accounts.vue b/resources/js/views/twofaccounts/Accounts.vue
index 34aca1ff..46ee73b6 100644
--- a/resources/js/views/twofaccounts/Accounts.vue
+++ b/resources/js/views/twofaccounts/Accounts.vue
@@ -399,7 +399,7 @@
-
![]()
+
![]()
{{ account.service ? account.service : $t('twofaccounts.no_service') }}
{{ account.account }}
diff --git a/resources/js/views/twofaccounts/Import.vue b/resources/js/views/twofaccounts/Import.vue
index 32143ec3..f7d2a786 100644
--- a/resources/js/views/twofaccounts/Import.vue
+++ b/resources/js/views/twofaccounts/Import.vue
@@ -401,7 +401,7 @@
-
![]()
+
![]()
{{ account.account }}
{{ account.account }}
diff --git a/resources/lang/en/twofaccounts.php b/resources/lang/en/twofaccounts.php
index 086877e5..04673914 100644
--- a/resources/lang/en/twofaccounts.php
+++ b/resources/lang/en/twofaccounts.php
@@ -16,7 +16,6 @@ return [
'service' => 'Service',
'account' => 'Account',
'icon' => 'Icon',
- 'icon_for_account_x_at_service_y' => 'Icon of the :account account at :service',
'icon_to_illustrate_the_account' => 'Icon that illustrates the account',
'remove_icon' => 'Remove icon',
'no_account_here' => 'No 2FA here!',