Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion apps/web/src/components/BranchToolbarBranchSelector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -786,6 +786,8 @@ export function BranchToolbarBranchSelector({
}
className="min-w-0 max-w-full active:scale-100"
disabled={isInitialBranchesLoadPending || isBranchActionPending}
// NVDA browse mode re-reads a combobox when its attributes change, not when its text does.
aria-label={`Branch: ${triggerLabel}`}
>
<GitBranchIcon
className={cn(
Expand All @@ -794,7 +796,12 @@ export function BranchToolbarBranchSelector({
)}
/>
<ComposerContextLabel displayMode={displayMode}>
<MiddleTruncate value={triggerLabel} variant="cap-aligned" className="w-full" />
<MiddleTruncate
value={triggerLabel}
variant="cap-aligned"
className="w-full"
aria-hidden
/>
</ComposerContextLabel>
</ComboboxTrigger>
</span>
Expand Down
Loading