mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-11-15 09:24:01 +01:00
a11y: dashboard and navigation semantics (navbar, cards, sync, switchers) (#3468)
* Label new-UI dashboard navigation and sync status for screen readers Each bottom-nav tab becomes one button node carrying its localized name, its selected state and mutual exclusion; the pill text no longer duplicates the selected tab. The assets/history tabs gain selected state, the Bitcoin/Lightning switcher becomes a labeled toggle, and the sync bar becomes a single button whose label is the localized status (plus Tor/MWEB/Silent Payments badges) with a hint pointing at node management. Compact mode's pulsing dot and the chain icon's progress ring now have text equivalents, and the invisible pointer-absorbing strip behind the nav bar is excluded from traversal. * Make new-UI dashboard cards, lists and menus operable by screen readers Collapse the wallet-name row into one labeled button (hardware-wallet glyph folded into the label, inner accounts button no longer a second stop) and give balance cards a labeled, selectable node with a long-press action for show/hide balance. Balances hidden behind AnimatedOpacity, card artwork and decorative glyphs leave the semantics tree; the 3-dots customize target and the card action buttons are now named buttons. Assets/history rows, the history header, the MWEB promo, long-press menu items, the account cards and the add-account and generate-name controls become single button nodes, the phantom action chip in the assets header is built conditionally instead of drawn at opacity 0, and app cards get a close tooltip plus an 'opens externally' hint. * Use expression bodies for the new a11y helpers * Restore untouched expressions in cards_view * Address review: state-aware balance hint, tooltip-free close label * Address review: keep header height without the chip, name the selected index
This commit is contained in:
@@ -528,6 +528,7 @@
|
||||
"got_it": "Got it",
|
||||
"gross_balance": "Gross Balance",
|
||||
"group_by_type": "Group by type",
|
||||
"hardware_wallet": "Hardware wallet",
|
||||
"haven_app": "Haven by Cake Wallet",
|
||||
"haven_app_wallet_text": "Awesome wallet for Haven",
|
||||
"help": "help",
|
||||
@@ -588,6 +589,7 @@
|
||||
"lightning_deposit_desc": "When you deposit to Lightning, you are swapping your on-chain Bitcoin from this wallet to your Lightning account.",
|
||||
"lightning_deposit_disclaimer": "The new Lightning balance will not be available until the Bitcoin transaction is fully confirmed.",
|
||||
"lightning_external_disclaimer": "Don't close this page until you send the funds, or else the deposit won't proceed.",
|
||||
"lightning_mode": "Lightning mode",
|
||||
"lightning_username_desc": "Easily receive Lightning payments with a Lightning username by choosing a custom name or using a randomly generated one below.",
|
||||
"lightning_username_desc_completed": "You can use this username to receive payments from any Lightning wallet.",
|
||||
"lightning_username_setup_later": "If you skip now, you can set this up later in the Settings.",
|
||||
@@ -618,6 +620,7 @@
|
||||
"login": "Login",
|
||||
"logout": "Logout",
|
||||
"long_press_edit_address": "Long press to edit address",
|
||||
"long_press_hide_balance": "Long press card to hide balance",
|
||||
"long_press_show_balance": "Long press card to show balance",
|
||||
"low_fee": "Low fee",
|
||||
"low_fee_alert": "You currently are using a low network fee priority. This could cause long waits, different rates, or canceled trades. We recommend setting a higher fee for a better experience.",
|
||||
@@ -726,6 +729,7 @@
|
||||
"onramper_option_description": "Quickly buy crypto with many payment methods. Available in most countries. Spreads and fees vary.",
|
||||
"open_gift_card": "Open Gift Card",
|
||||
"open_wallet": "Open Wallet",
|
||||
"opens_externally": "Opens externally",
|
||||
"optional_description": "Optional description",
|
||||
"optional_email_hint": "Optional payee notification email",
|
||||
"optional_name": "Optional recipient name",
|
||||
|
||||
Reference in New Issue
Block a user