From 5dd0cb53ef837ef6fb9a7347659fbb3dd6b0156a Mon Sep 17 00:00:00 2001 From: dxfareed Date: Sat, 5 Sep 2026 18:57:52 +0100 Subject: [PATCH 1/2] a11y(wallet): give icon-only buttons an accessible name Fifteen icon-only buttons announced as bare "button" to a screen reader. Seven had a title tooltip but no accessible name; eight had neither. Labelled: dashboard copy-address and its two dismiss buttons, the NFT refresh and detail close, agent clear-history and back, contacts delete, multisig remove-signer, the install banner dismiss, the contact picker close, and the back arrows on settings/agent, settings/profile and token/[code]. Labels follow the vocabulary already in the tree ("Back to settings", "Back") rather than a new one. The two dashboard dismiss buttons, both titled "Dismiss", get distinct labels so they are told apart out of context. The agent toggle also picks up role="switch" and aria-checked to match the Toggle in components/ui/primitives.tsx, which is the existing house pattern for a switch. Additive only: 18 lines, all ARIA attributes, no style, layout or copy changed. Buttons whose label is rendered text were left alone. --- frontend/wallet/app/InstallBanner.tsx | 1 + frontend/wallet/app/agent/page.tsx | 2 ++ frontend/wallet/app/contacts/page.tsx | 1 + frontend/wallet/app/dashboard/page.tsx | 3 +++ frontend/wallet/app/multisig/components/Wizard.tsx | 1 + frontend/wallet/app/nfts/page.tsx | 2 ++ frontend/wallet/app/settings/agent/page.tsx | 5 +++++ frontend/wallet/app/settings/profile/page.tsx | 1 + frontend/wallet/app/token/[code]/page.tsx | 1 + frontend/wallet/components/ContactPicker.tsx | 1 + 10 files changed, 18 insertions(+) diff --git a/frontend/wallet/app/InstallBanner.tsx b/frontend/wallet/app/InstallBanner.tsx index 92ff152ea..99638974c 100644 --- a/frontend/wallet/app/InstallBanner.tsx +++ b/frontend/wallet/app/InstallBanner.tsx @@ -103,6 +103,7 @@ export function InstallBanner() {