fix(canvas): WCAG 1.1.1 + 2.4.7 scattered accessibility fixes #1457

Closed
core-uiux wants to merge 1 commits from fix/tabs-a11y-scattered into main
4 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ export function WorkspaceNode({ id, data }: NodeProps<Node<WorkspaceNodeData>>)
}}
className="flex items-center gap-1.5 mt-1 w-full bg-accent/10 px-2 py-1 rounded-md border border-accent/40 hover:bg-accent/20 transition-colors text-left focus-visible:ring-2 focus-visible:ring-accent/70 focus-visible:outline-none"
>
<span className="text-[10px] text-accent"></span>
<span aria-hidden="true" className="text-[10px] text-accent"></span>
<span className="text-[10px] text-accent">Restart to apply changes</span>
</button>
)}
@@ -184,6 +184,7 @@ function SegmentedRow({
fontSize: 13,
fontWeight: 600,
}}
className="focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-offset-1"
>
{o.label}
</button>
+2 -2
View File
@@ -274,7 +274,7 @@ function ActivityRow({
{formatTime(entry.created_at)}
</span>
<span className="text-[9px] text-ink-mid">
<span aria-hidden="true" className="text-[9px] text-ink-mid">
{expanded ? "▼" : "▶"}
</span>
</div>
@@ -296,7 +296,7 @@ function ActivityRow({
{resolveName(entry.source_id)}
</span>
)}
<span className="text-[9px] text-ink-mid"></span>
<span aria-hidden="true" className="text-[9px] text-ink-mid"></span>
{entry.target_id && (
<span className="text-[9px] text-accent/80 truncate max-w-[140px]" title={entry.target_id}>
{resolveName(entry.target_id)}
+1 -1
View File
@@ -368,7 +368,7 @@ export function MemoryTab({ workspaceId }: Props) {
TTL {new Date(entry.expires_at).toLocaleString()}
</span>
)}
<span className="text-[10px] text-ink-mid">
<span aria-hidden="true" className="text-[10px] text-ink-mid">
{expanded === entry.key ? "▼" : "▶"}
</span>
</div>