From 9feee07934713ae420f9511cad02b495d7f89a2c Mon Sep 17 00:00:00 2001 From: seonghobae <8172694+seonghobae@users.noreply.github.com> Date: Sun, 7 Jun 2026 21:24:00 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20Palette:=20Improve=20accessibili?= =?UTF-8?q?ty=20of=20Overview=20Stats=20help=20toggle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adds appropriate ARIA attributes (`aria-expanded`, `aria-controls`, `aria-hidden`) to the "What do these numbers mean?" disclosure button to properly communicate its purpose and state to screen reader users. Also introduces a visible focus ring for keyboard navigation usability. --- .../web/src/components/dashboard/overview-stats.tsx | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/packages/web/src/components/dashboard/overview-stats.tsx b/packages/web/src/components/dashboard/overview-stats.tsx index cce93b6..6063b39 100644 --- a/packages/web/src/components/dashboard/overview-stats.tsx +++ b/packages/web/src/components/dashboard/overview-stats.tsx @@ -1,6 +1,6 @@ 'use client' -import { useState } from 'react' +import { useState, useId } from 'react' import { cn } from '@/lib/utils' import { formatTokens, formatCost } from '@/lib/format' @@ -56,6 +56,7 @@ export function OverviewStats({ rangeSelector, }: OverviewStatsProps) { const [expanded, setExpanded] = useState(false) + const helpId = useId() return (
@@ -85,15 +86,17 @@ export function OverviewStats({ {expanded && ( -
+

Sessions — 팀원들이 시작한 Claude Code 세션 수.