fix(app): preserve running tab accessibility

Keep the blue running dot while retaining the progressbar semantics used by assistive technology and browser-level running-state checks.
This commit is contained in:
Mohamed Boudra
2026-08-06 16:22:21 +02:00
parent deb5e5c729
commit a9034ec642
@@ -154,7 +154,13 @@ export function WorkspaceTabIcon({
return (
<View style={agentIconWrapperStyle}>
<Icon size={size} color={iconColor} />
{statusDotColor ? <View style={statusDotStyle} /> : null}
{statusDotColor ? (
<View
style={statusDotStyle}
accessibilityRole={bucket === "running" ? "progressbar" : undefined}
accessibilityLabel={bucket === "running" ? "Agent running" : undefined}
/>
) : null}
{showNeedsInputAlert ? (
<View style={styles.statusAlertOverlay}>
<ThemedCircleAlert size={STATUS_INDICATOR_ALERT_SIZE} uniProps={needsInputAlertMapping} />