Reviews
LNUI-909fix(dialog): title id collision with multiple instances [LNUI-909]+69-12

fix(dialog): title id collision with multiple instances [LNUI-909]

lndev-ui#409·mainfix/lnui-909-dialog-title-id
Description

Summary

  • Two dialogs mounted at the same time shared the hard-coded dialog-title id, so screen readers announced the wrong title for the second instance.
  • The id is now derived from React useId through a small useStableId hook, keeping SSR and client ids in sync.
  • aria-labelledby and aria-describedby always point at the ids of their own instance.

Test plan

ProjectDeploymentActions
lndev-ui-docsReady
Leave a reply...
Atlas committed via LNDev Agent d1905be test(dialog): two dialogs mounted at once keep distinct ids (LNUI-909) · 6h ago
Atlas6h ago

Review results

✅ GO — Passed after one fix round: the logic HIGH found in round one was fixed in-branch and re-verified.

Profile computed on the real diff (dev-flow Phase 4.5): logic + architecture. Performance and security skipped (leaf UI change).

ReviewVerdictCriticalHighMedium
Logic✅ PASS (was BLOCKED, fixed)01 → fixed1 (fixed)
Architecture✅ PASS001 (deferred)
Performance⏭️ SKIPPED
Security⏭️ SKIPPED

Round-two diff was re-profiled from scratch: the fix did not widen the review surface.