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:
@@ -154,7 +154,13 @@ export function WorkspaceTabIcon({
|
|||||||
return (
|
return (
|
||||||
<View style={agentIconWrapperStyle}>
|
<View style={agentIconWrapperStyle}>
|
||||||
<Icon size={size} color={iconColor} />
|
<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 ? (
|
{showNeedsInputAlert ? (
|
||||||
<View style={styles.statusAlertOverlay}>
|
<View style={styles.statusAlertOverlay}>
|
||||||
<ThemedCircleAlert size={STATUS_INDICATOR_ALERT_SIZE} uniProps={needsInputAlertMapping} />
|
<ThemedCircleAlert size={STATUS_INDICATOR_ALERT_SIZE} uniProps={needsInputAlertMapping} />
|
||||||
|
|||||||
Reference in New Issue
Block a user