FA-7877 / Keyboard accessibility / Member archive
Modal focus restoration: Escape leaves the active focus scope installed · case 02
Escape leaves the active focus scope installed.
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 |
|---|---|---|---|
| escape one | ["outer", "inner"] | ["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 ↗