From 7dcf3886808e5692599cc8ab54fef545773c7fff Mon Sep 17 00:00:00 2001 From: Julius Marminge Date: Wed, 11 Nov 2026 19:19:33 +0000 Subject: [PATCH] fix(web): name the branch picker after the current branch for screen readers The branch combobox trigger had no accessible name, so its text was its value. NVDA browse mode kept the previous thread's value after a thread switch and read middle-truncated names as two pieces. Label it with the current branch. Fixes pingdotgg/t3code#34436 AI-assisted; verified with the tests and tools listed above. --- apps/web/src/components/BranchToolbarBranchSelector.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/BranchToolbarBranchSelector.tsx b/apps/web/src/components/BranchToolbarBranchSelector.tsx index da845e95fc0b6..6ced50a7fa549 100644 --- a/apps/web/src/components/BranchToolbarBranchSelector.tsx +++ b/apps/web/src/components/BranchToolbarBranchSelector.tsx @@ -781,6 +781,7 @@ export function BranchToolbarBranchSelector({ ) } + aria-label={`Branch: ${triggerLabel}`} className="min-w-0 max-w-full active:scale-100" disabled={isInitialBranchesLoadPending || isBranchActionPending} >