Compare commits

...

1 Commits

Author SHA1 Message Date
core-fe a8d148bf92 fix(canvas/a11y): add accessible name to ConfirmDialog backdrop click area
Secret scan / Scan diff for credential-shaped strings (pull_request) Successful in 12s
sop-tier-check / tier-check (pull_request) Failing after 7s
audit-force-merge / audit (pull_request) Has been skipped
WCAG 2.4.6: interactive backdrop div now has aria-label="Dismiss dialog"
and cursor-pointer so screen reader users can identify the dismiss target.
Matches the same fix applied to KeyboardShortcutsDialog in PR #299.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-11 05:32:48 +00:00
+5 -1
View File
@@ -106,7 +106,11 @@ export function ConfirmDialog({
return createPortal(
<div className="fixed inset-0 z-[9999] flex items-center justify-center">
{/* Backdrop */}
<div className="absolute inset-0 bg-black/60 backdrop-blur-sm" onClick={onCancel} />
<div
className="absolute inset-0 bg-black/60 backdrop-blur-sm cursor-pointer"
onClick={onCancel}
aria-label="Dismiss dialog"
/>
{/* Dialog — role="dialog" + aria-modal prevent interaction with background */}
<div