Security Modal Traps Focus After Layout Refresh
Med.ModalsLocators
Mission
- Incident
Dialog regressions are easy to miss visually and often ship as focus traps or broken submit paths
- Goal
Operate the modal through a user-visible control and prove the intended flow completes without relying on structural selectors
- Pass condition
Trigger the primary confirm path once the dialog flow starts
What counts
- Trigger the primary confirm path once the dialog flow starts
- idle before action
- running during modal processing
Constraints1 rules + 1 mutation note
Rules
- Do not use fixed sleeps as completion proof
Mutation
- Modal internals can shift while the business lifecycle stays constant
Hint 1
• Action: Trigger the primary confirm path once the dialog flow starts. • Assertion: Assert idle before action.
Hint 2
• Assertion: Assert running during modal processing.
Hint 3
• Assertion: Assert done when flow is committed.
