Skip to content

Commit 01b8192

Browse files
committed
feat: add accessibility labels and tooltips to network switcher
1 parent 944c64f commit 01b8192

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

components/header/header.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ export const Header = () => {
7575
<div
7676
className={`flex px-3 py-1 gap-2 h-[48px] rounded-3xl justify-center items-center ${isNetworkSupported ? 'bg-white/25' : 'bg-red-400/25'}`}
7777
onClick={networkClick}
78+
title="Switch between Tari Testnet and Ethereum Sepolia"
79+
aria-label="Network Switcher"
7880
>
7981
<div className="w-[24px] h-[24px] rounded-full overflow-hidden relative">
8082
<Image src="/eth.png" fill sizes="24px" alt="Tari icon" className="rounded-full object-cover" />

0 commit comments

Comments
 (0)