Delete all {files.filter((f) => !f.dir).length} files? This cannot be undone.
+ // role=alertdialog so SR users hear this destructive prompt
+ // immediately. Delete-All hovers DARKER (bg-red-700) — same AA
+ // contrast trap that bit ConfirmDialog/ApprovalBanner. Cancel
+ // lifts to surface-elevated instead of the prior no-op hover.
+
+
Delete all {files.filter((f) => !f.dir).length} files? This cannot be undone.
-
-
+
+
)}
{error && (
-
{error}
+
{error}
)}
{confirmDelete && (
-
-
Delete {confirmDelete}{files.find((f) => f.path === confirmDelete && f.dir) ? " and all its contents" : ""}?
+
+
Delete {confirmDelete}{files.find((f) => f.path === confirmDelete && f.dir) ? " and all its contents" : ""}?