mirror of
https://github.com/Egonex-AI/Understand-Anything.git
synced 2026-06-22 10:58:03 +08:00
ContainerNode (Task 8 quality review): - Add accessibility: role="button", tabIndex, aria-expanded, aria-label with item count + state, focus-ring on focus, Enter/Space keyboard activation. Containers are the primary lazy-load interaction so keyboard support shouldn't be a regression. - Use var(--color-diff-changed) and the font-serif Tailwind class instead of literals so theme switching still works. - Replace the 🔍 emoji with a typographic "N hits" pill matching the badge pattern used by LayerClusterNode. - Add a displayName so React DevTools shows "ContainerNode" rather than "Memo(Anonymous)". elk-layout.test.ts (Task 6 quality review): - Drop the (c as { x?: number }).x casts now that ElkChild declares x?/y? directly. Tests now exercise the typed contract. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>