The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 16:00 UTC
fix(web): Narrator highlights the sidebar thread title where it is drawn (#25269)
Co-authored-by: maria-rcks <maria@kuuro.net> Co-authored-by: Julius Marminge <julius0216@outlook.com>
Dara Adedeji committed
Nov 14, 2026 at 05:20 UTC
df8c1a1fd48e6969ae85aaef6c9486e56f072066
2 files changed
+1
-8
apps/web/src/components/sidebar/SidebarDraftBlock.tsx
+1
-4
@@ -99,7 +99,6 @@ const SidebarDraftRow = memo(function SidebarDraftRow(props: {
99
onContextMenu={handleContextMenu}
100
onKeyDown={handleKeyDown}
101
>
102
- <span className="sr-only">{preview}</span>
102
<div className="relative z-10 h-[4.875rem] px-(--sidebar-row-content-inset) py-(--sidebar-content-inset)">
103
<div className="flex h-5 min-w-0 items-center gap-1.5">
104
<SquarePenIcon aria-hidden className={draftPenClassName} />
@@ -127,9 +126,7 @@ const SidebarDraftRow = memo(function SidebarDraftRow(props: {
126
</Tooltip>
127
</span>
128
</div>
130
- <div aria-hidden className="mt-0.5 truncate text-sm font-medium text-foreground/90">
131
- {preview}
132
- </div>
129
+ <div className="mt-0.5 truncate text-sm font-medium text-foreground/90">{preview}</div>
130
</div>
131
</div>
132
</li>
apps/web/src/components/sidebar/SidebarThreadRow.tsx
-4
@@ -1042,7 +1042,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
1042
/>
1043
) : (
1044
<span
1045
- aria-hidden
1045
className={cn(
1046
"min-w-0 flex-1 text-start text-sm transition-opacity motion-reduce:transition-none",
1047
shouldRecede ? "font-normal" : "font-medium",
@@ -1072,7 +1071,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
1071
{thread.title}
1072
</span>
1073
);
1075
- const accessibleTitle = isRenaming ? null : <span className="sr-only">{thread.title}</span>;
1074
1075
const prBadgeShape = supportsMultiplePullRequests
1076
? resolveThreadPullRequestBadge(thread.pullRequests)
@@ -1262,7 +1260,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
1260
>
1261
{/* `contents` keeps one-line rows a single flex row. */}
1262
<div className={multiline ? "flex h-6 min-w-0 items-center gap-2.5" : "contents"}>
1265
- {accessibleTitle}
1263
{inFolder ? null : (
1264
<span
1265
className={cn(
@@ -1449,7 +1446,6 @@ const SidebarThreadRow = memo(function SidebarThreadRow(props: SidebarThreadRowP
1446
/>
1447
}
1448
>
1452
- {accessibleTitle}
1449
<div
1450
className={cn(
1451
"relative z-10 h-[4.875rem] px-(--sidebar-row-content-inset) py-(--sidebar-content-inset)",