From a49be25c9a5766e59067801830a89a2b1095d320 Mon Sep 17 00:00:00 2001 From: Alessandro Izzo Date: Wed, 7 Feb 2024 11:53:35 +0100 Subject: [PATCH] fix: [IOBP-460,IOBP-461,IOBP-463] A11y for list item info components into transaction detail screen (#5478) ## Short description This PR fixes the accessibility for the list item info components, removing the overwriting of the `accessibilityLabel`. ## List of changes proposed in this pull request - Removed the overwritten `accessibilityLabel` on the `ListItemInfo` components ## How to test - Enable the voiceover - Go to the wallet home page - Open the transactions list - Go into a transaction detail with the voiceover --- .../components/WalletTransactionInfoSection.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ts/features/walletV3/transaction/components/WalletTransactionInfoSection.tsx b/ts/features/walletV3/transaction/components/WalletTransactionInfoSection.tsx index b437782e97a..4d24aa3628f 100644 --- a/ts/features/walletV3/transaction/components/WalletTransactionInfoSection.tsx +++ b/ts/features/walletV3/transaction/components/WalletTransactionInfoSection.tsx @@ -72,9 +72,6 @@ const WalletTransactionInfoSection = ({ {psp?.businessName && ( <> @@ -82,9 +79,6 @@ const WalletTransactionInfoSection = ({ )} @@ -93,9 +87,9 @@ const WalletTransactionInfoSection = ({ onPress={() => clipboardSetStringWithFeedback(transaction.id.toString()) } - accessibilityLabel={I18n.t( + accessibilityLabel={`${I18n.t( "transaction.details.info.transactionId" - )} + )}: ${transaction.id.toString()}`} label={I18n.t("transaction.details.info.transactionId")} value={transaction.id.toString()} />