FAILURE MAP
← Case archive

FA-7865 / Keyboard accessibility / Member archive

Modal focus restoration: Closing a nested dialog discards the outer scope · case 05

Closing a nested dialog discards the outer scope.

Member previewVariant 5 · 3 implementations · 13 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
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 ↗