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, 06:00 UTC
fix(web): screen readers read a linked issue's key once in thread details (#38995)
Co-authored-by: Julius Marminge <julius0216@outlook.com>
tiliakoos committed
Nov 19, 2026 at 08:53 UTC
05e36746364bef7778ee9f2cc07dc2a3d4fe210b
2 files changed
+10
-1
apps/web/src/components/chat/ThreadDetailsIssueRows.tsx
+3
-1
@@ -123,7 +123,9 @@ function LinkedIssueRow({
123
</TooltipPopup>
124
</Tooltip>
125
<div className="flex h-5 min-w-0 items-center gap-1.5 ps-9 pe-2.5 text-xs text-muted-foreground">
126
- <span className="shrink-0 tabular-nums">{link.displayKey}</span>
126
+ <span aria-hidden className="shrink-0 tabular-nums">
127
+ {link.displayKey}
128
+ </span>
129
{trackerIcon}
130
{comments}
131
</div>
apps/web/src/components/chat/ThreadDetailsPrRow.browser.test.tsx
+7
@@ -421,6 +421,13 @@ it("names a linked issue row by its kind, number and title, not its URL", async
421
expect(name).toMatch(/issue/i);
422
expect(name).toContain("#123");
423
expect(name).toContain("Sidebar flickers on resize");
424
+ const exposedKeys = [...screen.container.querySelectorAll("span")].filter(
425
+ (span) =>
426
+ span.textContent?.trim() === "#123" &&
427
+ span.closest("a") === null &&
428
+ span.closest('[aria-hidden="true"]') === null,
429
+ );
430
+ expect(exposedKeys).toHaveLength(0);
431
const externalClick = new MouseEvent("click", { bubbles: true, cancelable: true });
432
await act(async () => {
433
row.dispatchEvent(externalClick);