fix: address review feedback - aria-modal, formatJson dedup, overlay close order

This commit is contained in:
lda
2026-07-03 05:38:41 +07:00 Verified
parent a148338199
commit 241897eaa3
7 changed files with 31 additions and 7 deletions
@@ -19,8 +19,8 @@ export const NodeSpotlight = ({ nodeId, close }: NodeSpotlightProps) => {
const node = presentationNodes.find((candidate) => candidate.id === nodeId);
if (!node) return null;
return (
<aside className="node-spotlight" role="dialog" aria-label={node.label}>
return (
<aside className="node-spotlight" role="dialog" aria-modal="true" aria-label={node.label}>
<button type="button" onClick={close}>Close</button>
<p>NodeUse</p>
<h2>{node.label}</h2>