From fd7d03417afe8e7607f5577bc8b2fc4a45e756f3 Mon Sep 17 00:00:00 2001 From: dezzy-music Date: Tue, 13 Oct 2026 10:54:13 -0600 Subject: [PATCH] fix(a11y): allow visible repo and issue to form pipeline card accessible name (#694) --- .../maintainer/PipelineBoard.test.tsx | 19 +++++++++++++++++++ .../dashboard/maintainer/PipelineBoard.tsx | 1 - 2 files changed, 19 insertions(+), 1 deletion(-) diff --git a/src/app/dashboard/maintainer/PipelineBoard.test.tsx b/src/app/dashboard/maintainer/PipelineBoard.test.tsx index b053b8ef..ae6e1cbc 100644 --- a/src/app/dashboard/maintainer/PipelineBoard.test.tsx +++ b/src/app/dashboard/maintainer/PipelineBoard.test.tsx @@ -107,4 +107,23 @@ describe("PipelineBoard / escrow-stat consistency (#88)", () => { expect(columnStatuses.has(status)).toBe(false); } }); + + it("does not override visible content with aria-label, allowing screen readers to announce repo and issue (#694)", () => { + const bounty = makeBounty({ + id: "bounty-42", + org: "StellarOrg", + repo: "stellar-core", + issueNumber: 99, + title: "Consensus round timeout fix", + reward: 1000, + asset: "USDC", + status: "open", + }); + render(); + + const link = screen.getByRole("link", { name: /stellarorg\/stellar-core #99/i }); + expect(link).toBeInTheDocument(); + expect(link).not.toHaveAttribute("aria-label"); + }); }); + diff --git a/src/app/dashboard/maintainer/PipelineBoard.tsx b/src/app/dashboard/maintainer/PipelineBoard.tsx index 331b44bd..7157b2b8 100644 --- a/src/app/dashboard/maintainer/PipelineBoard.tsx +++ b/src/app/dashboard/maintainer/PipelineBoard.tsx @@ -73,7 +73,6 @@ function PipelineColumn({ key={b.id} href={`/issues/${b.id}`} title={b.title} - aria-label={`${b.title}, ${formatCurrency(b.reward, b.asset)}`} className="block rounded-xl border border-slate-200 bg-white p-3 shadow-sm transition-colors hover:border-indigo-300 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-500 dark:border-slate-800 dark:bg-slate-900 dark:hover:border-indigo-700" >