Skip to content

Commit b82d045

Browse files
committed
Remove status caption element and keep aria label
1 parent 2a91244 commit b82d045

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

components/StatusBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -238,15 +238,15 @@ const StatusBar: React.FC<StatusBarProps> = ({
238238
<div className="flex flex-1 items-center gap-2 whitespace-nowrap min-w-0">
239239
<div
240240
ref={statusTriggerRef}
241-
className="flex items-center gap-1.5 cursor-default focus:outline-none"
241+
className="flex items-center cursor-default focus:outline-none"
242242
onMouseEnter={() => setShowStatusTooltip(true)}
243243
onMouseLeave={() => setShowStatusTooltip(false)}
244244
onFocus={() => setShowStatusTooltip(true)}
245245
onBlur={() => setShowStatusTooltip(false)}
246246
tabIndex={0}
247+
aria-label={text}
247248
>
248249
<div className={`w-2 h-2 rounded-full ${color}`}></div>
249-
<span className="font-medium">{text}</span>
250250
</div>
251251
{showStatusTooltip && statusTriggerRef.current && (
252252
<Tooltip

0 commit comments

Comments
 (0)