diff --git a/biome.json b/biome.json
index 44b819c..c72900a 100644
--- a/biome.json
+++ b/biome.json
@@ -34,13 +34,6 @@
},
"correctness": {
"useExhaustiveDependencies": "off"
- },
- "a11y": {
- "useAriaPropsSupportedByRole": "warn",
- "noStaticElementInteractions": "warn",
- "useKeyWithClickEvents": "warn",
- "useSemanticElements": "warn",
- "noSvgWithoutTitle": "warn"
}
}
},
diff --git a/src/components/ConsolePanel.tsx b/src/components/ConsolePanel.tsx
index 415fb3a..f98fb78 100644
--- a/src/components/ConsolePanel.tsx
+++ b/src/components/ConsolePanel.tsx
@@ -118,7 +118,8 @@ export function ConsolePanel({
"size-2 rounded-full",
error ? "bg-red-500" : live ? "bg-emerald-500" : "bg-muted-foreground/60",
)}
- aria-label={error ? "Error" : live ? "Live" : "Paused"}
+ // The adjacent meta line already states Live / Paused / Disconnected.
+ aria-hidden="true"
/>
diff --git a/src/components/ExecTerminal.tsx b/src/components/ExecTerminal.tsx
index 2fdef91..4793785 100644
--- a/src/components/ExecTerminal.tsx
+++ b/src/components/ExecTerminal.tsx
@@ -164,7 +164,9 @@ export function ExecTerminal({
? "bg-amber-500"
: "bg-red-500",
)}
- aria-label={statusLabel}
+ // The state is announced by the adjacent "{statusLabel} · {shell}" line;
+ // labelling the dot as well would read it out twice.
+ aria-hidden="true"
/>
@@ -200,6 +202,10 @@ export function ExecTerminal({
>
}
>
+ {/* xterm renders its own focusable textarea, which is how keyboard users reach the
+ terminal; this only forwards stray clicks on the surrounding padding. */}
+ {/* biome-ignore lint/a11y/noStaticElementInteractions: focus shim, not a control */}
+ {/* biome-ignore lint/a11y/useKeyWithClickEvents: keyboard path is xterm's own textarea, already tabbable */}
+
);
});
diff --git a/src/components/RowMenu.tsx b/src/components/RowMenu.tsx
index 48e6727..c31fa60 100644
--- a/src/components/RowMenu.tsx
+++ b/src/components/RowMenu.tsx
@@ -1,3 +1,9 @@
+// biome-ignore-all lint/a11y/noStaticElementInteractions: three sites, all correct.
+// The row itself gates role, tabIndex, onKeyDown and onClick on `selectable`
+// together, which the rule cannot correlate across separate ternaries. The two
+// inner wrappers exist only to stop the row click reaching their children — the
+// checkbox and the menu trigger are the actual controls.
+
import { MoreHorizontal } from "lucide-react";
import type { CSSProperties, ReactNode } from "react";
import { Button } from "@/components/ui/button";
@@ -64,7 +70,7 @@ export function RowMenu({
{
diff --git a/src/components/SegmentedControl.tsx b/src/components/SegmentedControl.tsx
index 2ea4ca9..f7e93bd 100644
--- a/src/components/SegmentedControl.tsx
+++ b/src/components/SegmentedControl.tsx
@@ -1,3 +1,7 @@
+// biome-ignore-all lint/a11y/useSemanticElements: a set of related buttons is
+// ARIA role="group"; the rule suggests