Skip to content

Commit

Permalink
fix(IT Wallet): [SIW-1902] Wallet accessibility improvements (#6543)
Browse files Browse the repository at this point in the history
## Short description
This PR fixes a small accessibility issue.

> [!NOTE]
> The other accessibility issues mentioned in the Jira ticket must be
addressed at the Design System level, in shared components. To speed up
the fix, only issues that can be fixed in IO app are included here.

## List of changes proposed in this pull request
- Added proper accessibility label

## How to test
Use a screen reader to navigate the wallet screen with an active wallet
instance. The "Cos'è" label should not be announced as "undefined".

Co-authored-by: Federico Mastrini <[email protected]>
  • Loading branch information
gispada and mastro993 authored Dec 13, 2024
1 parent a6a7134 commit b4f9164
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ts/features/wallet/components/WalletCardsContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ const ItwWalletCardsContainer = () => {
endElement: {
type: "buttonLink",
componentProps: {
accessibilityLabel: I18n.t(
"features.itWallet.presentation.bottomSheets.eidInfo.triggerLabel"
),
label: I18n.t(
"features.itWallet.presentation.bottomSheets.eidInfo.triggerLabel"
),
Expand Down

0 comments on commit b4f9164

Please sign in to comment.