Summary
The NodeCard component displays agent node information with status icons and badges that lack proper ARIA labels, making them inaccessible to screen reader users.
Current State
- File:
control-plane/web/client/src/components/NodeCard.tsx
- Issue: State icons/badges have no screen reader text
Tasks
- Add
aria-label to status indicator icons
- Add screen reader text for status badges
- Ensure interactive elements have proper labels
- Add
role attributes where appropriate
Examples of Needed Changes
// Before
<StatusIcon status={node.status} />
// After
<StatusIcon
status={node.status}
aria-label={`Node status: ${node.status}`}
/>
// Before
<Badge variant="success">Online</Badge>
// After
<Badge variant="success" aria-label="Node is online">Online</Badge>
Acceptance Criteria
Files
control-plane/web/client/src/components/NodeCard.tsx
Using AI to solve this issue? Read our AI-Assisted Contributions guide for testing requirements, prompt strategies, and common pitfalls to avoid.
Summary
The
NodeCardcomponent displays agent node information with status icons and badges that lack proper ARIA labels, making them inaccessible to screen reader users.Current State
control-plane/web/client/src/components/NodeCard.tsxTasks
aria-labelto status indicator iconsroleattributes where appropriateExamples of Needed Changes
Acceptance Criteria
aria-labelattributesnpm run lint)Files
control-plane/web/client/src/components/NodeCard.tsx