Skip to content

Commit 5fa055d

Browse files
🎨 Palette: Add accessible labels to icon-only buttons
Co-authored-by: jmbish04 <26469722+jmbish04@users.noreply.github.com>
1 parent 69cc392 commit 5fa055d

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

‎src/frontend/src/components/LiveOpsConsole.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ export function LiveOpsConsole({ operationId }: LiveOpsConsoleProps) {
186186
placeholder="Ask Supervisor..."
187187
className="h-8 text-xs bg-zinc-950 border-zinc-700"
188188
/>
189-
<Button type="submit" size="icon" className="h-8 w-8">
189+
<Button type="submit" size="icon" className="h-8 w-8" aria-label="Send message" title="Send message">
190190
<Send className="w-3 h-3" />
191191
</Button>
192192
</form>

‎src/frontend/src/components/PlanningCenter.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ function PlanningRoom({ requestId, onBack }: { requestId: string; onBack: () =>
225225
{/* Header */}
226226
<div className="flex items-center justify-between p-4 border-b border-[#1f2937] bg-black/20 backdrop-blur-md">
227227
<div className="flex items-center gap-4">
228-
<Button variant="ghost" size="icon" onClick={onBack} className="md:hidden">
228+
<Button variant="ghost" size="icon" onClick={onBack} className="md:hidden" aria-label="Go back" title="Go back">
229229
<ChevronRight className="w-5 h-5 rotate-180" />
230230
</Button>
231231
<div className="flex flex-col">

‎src/frontend/src/components/chat/chat-interface.tsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ export const ChatInterface: React.FC<ChatInterfaceProps> = ({ apiKey, agentId, r
163163
<div className="w-80 border-r bg-muted/10 flex flex-col">
164164
<div className="p-4 border-b flex items-center justify-between bg-background/50 backdrop-blur">
165165
<span className="font-semibold text-sm">Discussions</span>
166-
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={handleCreateThread}>
166+
<Button variant="ghost" size="icon" className="h-8 w-8" onClick={handleCreateThread} aria-label="New thread" title="New thread">
167167
<Plus className="h-4 w-4" />
168168
</Button>
169169
</div>

0 commit comments

Comments
 (0)