diff --git a/.Jules/palette.md b/.Jules/palette.md index 104c1e4b..f6f1aea8 100644 --- a/.Jules/palette.md +++ b/.Jules/palette.md @@ -9,3 +9,7 @@ ## 2024-11-20 - CopyPromptButton 접근성 향상 (동적 텍스트 및 상태) **Learning:** `CopyPromptButton`과 같이 버튼을 클릭했을 때 시각적으로만 상태가 변하고(예: 복사 아이콘이 체크 아이콘으로 변경), 텍스트가 동적으로 변경되는 컴포넌트에서는 스크린 리더 사용자가 상태 변화를 알아채기 어렵습니다. 또한 스크린 리더가 순수 장식용 아이콘까지 불필요하게 읽을 수 있습니다. **Action:** 동적으로 변경되는 텍스트를 ``로 감싸 스크린 리더가 즉시 변경 사항을 읽어주도록 해야 합니다. ` + diff --git a/packages/web/src/components/layout/org-sidebar.tsx b/packages/web/src/components/layout/org-sidebar.tsx index fa133f88..9b8d17c7 100644 --- a/packages/web/src/components/layout/org-sidebar.tsx +++ b/packages/web/src/components/layout/org-sidebar.tsx @@ -6,6 +6,7 @@ import { useParams, usePathname } from 'next/navigation' import { useState } from 'react' import { signOut } from 'next-auth/react' import { cn } from '@/lib/utils' +import { Button } from '@/components/ui/button' import { OrgSwitcher } from './org-switcher' import { CreateOrgModal } from '@/components/org/create-org-modal' import { useOrgs } from '@/hooks/use-orgs' @@ -121,14 +122,15 @@ export function OrgSidebar() {
- +
@@ -149,14 +151,16 @@ export function OrgSidebar() {
setCreateOpen(true)} />
- +