From 22b060b68fa01bc29f43cb2964cebca14836c8d4 Mon Sep 17 00:00:00 2001 From: nelee Date: Tue, 12 May 2026 22:35:00 +0900 Subject: [PATCH] =?UTF-8?q?fix(a11y):=20=ED=97=A4=EB=8D=94=20=EC=95=84?= =?UTF-8?q?=EC=9D=B4=EC=BD=98=20=EB=B2=84=ED=8A=BC=20aria-label=20?= =?UTF-8?q?=EC=B6=94=EA=B0=80=20(#28)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Header, KanbanHeader, CalendarHeader의 모든 아이콘 버튼에 aria-label 추가. 다크모드 토글은 현재 상태에 따라 동적으로 변경. Co-Authored-By: Claude Sonnet 4.6 --- .../calendarView/components/CalendarHeader.tsx | 4 ++++ .../features/kanban/components/KanbanHeader.tsx | 11 ++++++----- src/components/layout/Header.tsx | 4 ++++ 3 files changed, 14 insertions(+), 5 deletions(-) diff --git a/src/components/features/calendarView/components/CalendarHeader.tsx b/src/components/features/calendarView/components/CalendarHeader.tsx index fac43b3..e36a047 100644 --- a/src/components/features/calendarView/components/CalendarHeader.tsx +++ b/src/components/features/calendarView/components/CalendarHeader.tsx @@ -167,6 +167,7 @@ export default function CalendarHeader({ onClick={onProjectInfoClick} className="p-1 hover:bg-white/20 rounded-lg transition-colors" title="프로젝트 정보" + aria-label="프로젝트 정보" > + 새 작업 + @@ -257,6 +259,7 @@ export default function CalendarHeader({ showFilter ? "bg-white/20" : "" }`} title="필터" + aria-label="필터" >

{projectName}

-
@@ -144,7 +144,7 @@ export default function KanbanHeader({ placeholder="작업 검색..." className="w-32 sm:w-48 text-sm bg-transparent outline-none text-foreground placeholder:text-muted-foreground" /> - @@ -155,7 +155,7 @@ export default function KanbanHeader({
{format(new Date(), "M월 d일 (E)", { locale: ko })}
{onSearchChange && ( - )} @@ -165,19 +165,20 @@ export default function KanbanHeader({ - - diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 2c64270..c0337df 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -43,6 +43,7 @@ export function Header() { size={20} className="w-[42px] h-[42px] rounded-[10px] border border-border" onClick={handleLoginModal} + aria-label="프로필" /> @@ -51,6 +52,7 @@ export function Header() { icon="speakerphone" size={20} className="w-[42px] h-[42px] rounded-[10px] border border-border" + aria-label="공지사항" /> @@ -61,6 +63,7 @@ export function Header() { icon="crown" size={20} className="w-[42px] h-[42px] rounded-[10px] border border-border" + aria-label="관리자 페이지" /> )} @@ -68,6 +71,7 @@ export function Header() {