FA-7864 / Keyboard accessibility / Member archive
Modal focus restoration: Closing a nested dialog discards the outer scope · case 04
Closing a nested dialog discards the outer scope.
Case contract
Opening pushes one return target; closing or Escape pops one scope; restoration chooses the newest connected target; clear empties the stack.
Why this case matters
A deterministic model of modal focus restoration; this isolates one interface invariant without requiring a browser.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| nested close | [] | ["outer"] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗