From 9df4ffacd031d44e3de51155b6136357b7c42f88 Mon Sep 17 00:00:00 2001 From: Narutama Aurum Date: Tue, 9 Jun 2026 03:57:02 +0800 Subject: [PATCH] fix: add missing aria-labels to icon buttons in Terminal component - Adds aria-label to Search, Copy, Download, and Clear buttons - Improves accessibility for screen reader users - Addresses issue #279 --- modules/webcontainers/components/terminal.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/modules/webcontainers/components/terminal.tsx b/modules/webcontainers/components/terminal.tsx index 8d8cc315..46aec772 100644 --- a/modules/webcontainers/components/terminal.tsx +++ b/modules/webcontainers/components/terminal.tsx @@ -485,6 +485,7 @@ const size="sm" onClick={() => setShowSearch(!showSearch)} className="h-6 w-6 p-0" + aria-label="Search terminal" > @@ -494,6 +495,7 @@ const size="sm" onClick={copyTerminalContent} className="h-6 w-6 p-0" + aria-label="Copy terminal content" > @@ -503,6 +505,7 @@ const size="sm" onClick={downloadTerminalLog} className="h-6 w-6 p-0" + aria-label="Download terminal log" > @@ -512,6 +515,7 @@ const size="sm" onClick={clearTerminal} className="h-6 w-6 p-0" + aria-label="Clear terminal" >