molecule-core/canvas/src/components
Dev Lead Agent 5606b1031b fix(canvas): WCAG critical — ARIA live toasts, dialog focus trap, keyboard nav
Addresses the three release-blocking WCAG violations from the UX audit
(3rd consecutive cycle) and the new ChatTab ARIA gap from Audit #2.

Changes:
- Toaster: split into polite (success/info) + assertive (error) live
  regions, both always in DOM so screen readers register them before
  any toast fires. Adds x dismiss button on every toast. Errors no
  longer auto-expire after 4s — persist until explicitly dismissed.
- ConfirmDialog: on open, requestAnimationFrame focuses the first
  button inside the dialog. Tab/Shift-Tab is now trapped inside the
  dialog while open. Added role="dialog" aria-modal="true" and
  aria-labelledby pointing to the title h3.
- WorkspaceNode: outer div gains role="button", tabIndex={0},
  aria-label, aria-pressed, and onKeyDown (Enter/Space => selectNode,
  ContextMenu key => openContextMenu). Keyboard-only users can now
  reach and activate workspace nodes.
- ChatTab sub-tab bar: role="tablist" on wrapper, role="tab" +
  aria-selected + aria-controls on each button, matching
  role="tabpanel" + id on each panel div. Textarea gets
  aria-label="Message to agent".

453/453 Vitest tests pass. Production build clean (Next.js 15).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 08:31:06 +00:00
..
__tests__ feat(canvas): Z shortcut + help entry for double-click zoom-to-team 2026-04-14 11:36:41 +00:00
canvas initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
settings initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
tabs fix(canvas): WCAG critical — ARIA live toasts, dialog focus trap, keyboard nav 2026-04-15 08:31:06 +00:00
ui initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
ApprovalBanner.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
AuthGate.tsx feat(canvas): AuthGate — redirect anonymous users to cp login (Phase F close) 2026-04-14 20:37:26 -07:00
BundleDropZone.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
Canvas.tsx feat(canvas): Z shortcut + help entry for double-click zoom-to-team 2026-04-14 11:36:41 +00:00
CommunicationOverlay.tsx fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels 2026-04-15 07:56:53 +00:00
ConfirmDialog.tsx fix(canvas): WCAG critical — ARIA live toasts, dialog focus trap, keyboard nav 2026-04-15 08:31:06 +00:00
ContextMenu.tsx fix: keyboard navigation for ContextMenu (WCAG 2.1.1) and SearchDialog combobox pattern 2026-04-14 09:28:10 +00:00
ConversationTraceModal.tsx fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels 2026-04-15 07:56:53 +00:00
CreateWorkspaceDialog.tsx fix: Radix Dialog for create modal, ARIA tablist for side panel, aria-live for loading states (audit 11) 2026-04-14 10:31:34 +00:00
EmptyState.tsx fix: UX audit — dark theme buttons, input backgrounds, ReactFlow dark mode, contrast & a11y 2026-04-14 02:26:45 +00:00
ErrorBoundary.tsx test: 100% coverage of extracted helpers + ConfirmDialog singleButton 2026-04-13 17:08:33 -07:00
Legend.tsx fix(a11y): prefers-reduced-motion WCAG 2.3.3 compliance 2026-04-14 11:25:23 +00:00
MissingKeysModal.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
OnboardingWizard.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
ProvisioningTimeout.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
SearchDialog.tsx fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels 2026-04-15 07:56:53 +00:00
SidePanel.tsx Merge pull request #43 from Molecule-AI/fix/reduced-motion 2026-04-14 07:20:19 -07:00
StatusDot.tsx fix(a11y): prefers-reduced-motion WCAG 2.3.3 compliance 2026-04-14 11:25:23 +00:00
TemplatePalette.tsx fix(canvas): dark theme a11y — settings buttons, input fields, ReactFlow colorMode, zinc-400 contrast, aria-labels 2026-04-15 07:56:53 +00:00
Toaster.tsx fix(canvas): WCAG critical — ARIA live toasts, dialog focus trap, keyboard nav 2026-04-15 08:31:06 +00:00
Toolbar.tsx Merge pull request #43 from Molecule-AI/fix/reduced-motion 2026-04-14 07:20:19 -07:00
Tooltip.tsx initial commit — Molecule AI platform 2026-04-13 11:55:37 -07:00
WorkspaceNode.tsx fix(canvas): WCAG critical — ARIA live toasts, dialog focus trap, keyboard nav 2026-04-15 08:31:06 +00:00