From 46582315a3f13167d9d55886dea18d8344139daf Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Sun, 21 Jun 2026 13:51:18 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Add=20aria-hidden=20t?= =?UTF-8?q?o=20decorative=20icons=20in=20workspace?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds `aria-hidden="true"` to strictly decorative icons within `RoleSwitcher`, `SectionRoadmap`, and `Workspace` features. This prevents screen readers from redundantly announcing these icons since descriptive text equivalents are immediately adjacent to them. --- apps/desktop/src/features/workspace/RoleSwitcher.tsx | 2 +- apps/desktop/src/features/workspace/SectionRoadmap.tsx | 6 +++--- apps/desktop/src/features/workspace/Workspace.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/desktop/src/features/workspace/RoleSwitcher.tsx b/apps/desktop/src/features/workspace/RoleSwitcher.tsx index d5a222b5..f5275964 100644 --- a/apps/desktop/src/features/workspace/RoleSwitcher.tsx +++ b/apps/desktop/src/features/workspace/RoleSwitcher.tsx @@ -43,7 +43,7 @@ export function RoleSwitcher({ roles, activeRole, onRoleChange }: RoleSwitcherPr return (
- +
- +
)} {role.simplification && (
- +
)} @@ -181,7 +181,7 @@ export function SectionRoadmap({ song, activeRole, onSongUpdate }: SectionRoadma
{role.overlapWarnings.map((warning, wIdx) => (
- +
))} diff --git a/apps/desktop/src/features/workspace/Workspace.tsx b/apps/desktop/src/features/workspace/Workspace.tsx index b4a98a06..0dbb306c 100644 --- a/apps/desktop/src/features/workspace/Workspace.tsx +++ b/apps/desktop/src/features/workspace/Workspace.tsx @@ -222,7 +222,7 @@ export function Workspace({ song, sourceBootstrap = null, onSongUpdate }: Worksp onClick={handleExportCueSheet} className="min-h-10 border-cyan-300/30 bg-cyan-300/10 font-semibold text-cyan-50 shadow-[0_10px_30px_rgba(34,211,238,0.16)] hover:bg-cyan-300/20 hover:text-white" > - +