From b3574cc16b367f5b9b8362ca9b81e4872ebbdcda Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Sun, 18 Oct 2026 11:44:40 +0700 Subject: [PATCH] fix(app): keep the project icon out of Command Center row names The fallback project icon draws the project's initial as text, which became the first word of the row's accessible name ("C Command Center ..."), so screen readers announced it. The icon is decorative. The scroll spec now reads the newest seeded workspace: the empty query lists the most recent workspaces, so the first one seeded is no longer among them. --- packages/app/e2e/browser/command-center-scroll.spec.ts | 3 ++- packages/app/src/command-center/command-center.tsx | 8 +++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/packages/app/e2e/browser/command-center-scroll.spec.ts b/packages/app/e2e/browser/command-center-scroll.spec.ts index 598e35e592..f6762bb4cc 100644 --- a/packages/app/e2e/browser/command-center-scroll.spec.ts +++ b/packages/app/e2e/browser/command-center-scroll.spec.ts @@ -45,7 +45,8 @@ test("opening the command center keeps its first result fully visible", async ({ await expectCommandCenterToRemainAtTheTop(page); await expectPrimaryCommandCenterActions(panel); await expectVisibleKeyboardNavigationNotToScroll(page, panel); - await expectTightTwoLineResultSpacing(panel, "Command Center Scroll 00"); + // The empty query lists the most recent workspaces, so the last one seeded leads it. + await expectTightTwoLineResultSpacing(panel, "Command Center Scroll 08"); await expectWorkspaceResultsToBeLimitedUntilSearch(panel); } finally { await seeded.cleanup(); diff --git a/packages/app/src/command-center/command-center.tsx b/packages/app/src/command-center/command-center.tsx index 721e913811..febac60a14 100644 --- a/packages/app/src/command-center/command-center.tsx +++ b/packages/app/src/command-center/command-center.tsx @@ -559,7 +559,13 @@ function ResultContent({ result, query }: { result: CommandCenterResult; query: return ( - + {/* Decorative: the fallback icon's initial must not prefix the row's accessible name. */} +