Skip to content

spec(overlay-dismissal): a returning focus reveals a hidden Tab stop that fits the view, never another target (FR9, DEC-3) - #12360

Merged
cixzhang merged 11 commits into
mainfrom
specs/overlay-dismissal-fr9-reveal
Nov 26, 2026
Merged

cixzhang merged 11 commits into
mainfrom
specs/overlay-dismissal-fr9-reveal

Conversation

@cixzhang

@cixzhang cixzhang commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Exact decision needed

Whether a focus return scrolls an off-screen return target into view.

Existing authority searched

family:overlay-dismissal FR9 (focus returns in the opener's document, with no scroll) and AV1; architecture:interaction-modality INV1; spec:AST-020 FR1 (WCAG 2.4.11 is about focus hidden by content, not by scroll position, so it does not settle this).

Decision

Decider: cixzhang, 2026-11-17 08:02 PT

A return target that is a Tab stop, fits the visible area of its scrollers, and is not wholly inside it is scrolled just into view at its nearest edge; a larger Tab stop (such as a scrollable table viewport taller than the screen) is not scrolled. A return target that is not a Tab stop (such as the tabindex="-1" region WebKit records in place of a tapped button) is never scrolled to. FR9 and AV1 are amended and DEC-3 records the reason.

Rejected alternatives

Never scrolling on return; revealing every return target.

Claim scope and non-goals

Focus-return scrolling only. Which element is the return target stays each member's (AV1).

Evidence and implementation relationship

Core and design-system implementations follow in separate pull requests, red-first against the amended FR9. The FR9 verification row names the new reveal case.

Writing rubric results

  • R1 narration: none.
  • R2 research in the record: none.
  • R3 evidence naming a change: none.
  • R4 rejected alternatives over one line or outside a decision: one line, inside DEC-3.
  • R5 pull request or issue references remaining: none.
  • R6 ruled open questions still listing options: none.
  • R7 project status: none.

Scope

Components: overlay-dismissal family (Dialog, BottomSheet, Popover, DropdownMenu and the other members' focus return).

  • This PR contains specification records only.
  • It records observable behavior and preserves equivalent internal implementations.
  • Any named internal mechanism is intentionally public, names its dependent caller/system, and explains why an equivalent implementation would not satisfy the contract.
  • Verification states the evidence layer and failure signal without prescribing CI job/workflow topology.
  • It records one intentional durable decision, not a rescue for a separable tagalong.
  • The canonical knowledge owner, affected current claims, and overlapping open work are named; any ownership collision is resolved or called out for human decision.
  • Adjacent API, visual, accessibility, composition, and implementation facts remain outside scope unless this exact decision depends on them.
  • Public text and artifacts contain no internal Meta context.

Validation

  • pnpm check:knowledge: aligned
  • Prettier: clean
  • git diff --check: clean

Overlap checked: #11999, #11611, #11112, #10095 (each edits other overlay-dismissal clauses: Lightbox membership, the scrim press, Popover anchoring, page shortcuts; none changes FR9 focus-return scrolling)

Number checked: #10095 renumbers

@vercel

vercel Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
astryx Ready Ready Preview Nov 26, 2026 8:04am UTC

Request Review

@astracat-bot

astracat-bot Bot commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

AI review status for this pull request.

Review status Updated
🟢 Reviewed (for maintainers only) Nov 26, 2026, 8:13 AM UTC

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Nov 17, 2026
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 17, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 00d56b5

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 17, 2026

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The FR9 change itself carries an engineering owner's approval at this head, but docs/families/overlay-dismissal.md needs four fixes before it lands:

  • The Open questions section (line 382) still says FR9 fixes "that the return does not scroll", which contradicts the amended FR9 and AV1; reword it to "and when the return scrolls".
  • The FR9 verification row (line 322) keeps the failure signal "The page's scroll offset or the trigger's place on screen changes across the close", which the new reveal case trips by design, so give that case its own signal, such as the Tab-stop opener left out of view or scrolled past its nearest edge.
  • The same row credits the reveal case to DialogCloseScroll.a11y.browser.spec.ts, which has no such test, while Dialog, BottomSheet, Lightbox and DropdownMenu still return focus with preventScroll: true, so mark the case as an implementation gap as the second-document rows do and add an FR9 gap: line under Adoption and exceptions.
  • FR9 and DEC-3 justify the reveal for keyboard users only, but the rule applies to every input, so a pointer or touch user who scrolled a non-modal layer's opener away and then closes the layer is scrolled back to it; either limit the reveal to returns after keyboard input or state the pointer and touch case and why it is wanted in DEC-3.

Two smaller points: "sits outside the visible area" does not say whether a partly clipped Tab stop is revealed, and the DEC-3 heading's "never a region" is broader than FR9's test, which reveals a region that is a Tab stop.

Claims and files checked

Review mode: same-head; reason: none

  • Claim: the existing FR9 and AV1 forbid any scroll on return: verified in the current record (FR9 and AV1).
  • Claim: the WCAG focus-not-obscured criterion concerns focus hidden by content, so it does not settle this: verified against the accessibility baseline record's 2.4.11 row.
  • Claim: FR9 and AV1 are amended and DEC-3 records the decision and its reason: verified (lines 224-230, 254-255, 364-376); DEC-3 is a new decision and no existing approval line changes.
  • Claim: the FR9 verification row names the new reveal case: verified that it names it; the test it credits has no such case (finding above).
  • Claim: the pull request contains records only, changes no public API, and the implementations follow separately: verified; one record changes and no package source.
  • Claim: writing rubric R1 to R7 find nothing: verified on the added lines; the one rejected-alternatives line sits inside DEC-3.
  • Claim: the knowledge check is aligned, Prettier is clean and the whitespace check is clean: verified by re-running all three on this head.
  • Claim: four other open overlay-dismissal pull requests leave FR9's return scroll alone: verified from their diffs.
  • Claim: public text holds no internal context: verified.
  • File: docs/families/overlay-dismissal.md: four blocking findings and two non-blocking notes, above.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
…den Tab stops; own verification row and FR9 gap
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 5f1d2db

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The four earlier requested fixes are in, and the FR9 amendment carries an engineering owner's approval at this head; one record fix remains in docs/families/overlay-dismissal.md:

  • FR9 reveals a Tab stop that "is not wholly inside the visible area of its scrollers" (line 224), so any Tab-stop return target taller than that area is scrolled on every return, and a scrollable Table viewport that WebKit records in place of a tapped button (a Tab stop under spec:AST-025 FR12) then makes the page jump to its edge, the jump DEC-3 rejects; limit the reveal to a return target that fits inside the visible area, say that a larger one is not scrolled, and add that case to the FR9 reveal row (line 328).

Two smaller points: the FR9 gap: line also applies to BottomSheetSwitcher, which returns focus with preventScroll: true, and "after any input" reads more clearly as "whichever input closed the surface".

Claims and files checked

Review mode: same-head; reason: none

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 224-231.
  • Existing authority searched (FR9's no-scroll rule, AV1, the modality rule for the ring, and the accessibility record's 2.4.11 row, which does not settle it): verified against the current records.
  • The decider and time match DEC-3: verified, line 372.
  • A Tab stop outside the visible area is scrolled just into view at its nearest edge, and a target that is not a Tab stop never is: verified, lines 224-231; the record also covers a partly hidden Tab stop.
  • FR9 and AV1 are amended, DEC-3 records the reason and the two rejected alternatives: verified, lines 254-256 and 370-383.
  • Which element is the return target stays each member's: verified, AV1 line 254.
  • The verification map names the new reveal case: verified, its own row at line 328.
  • Implementations follow separately, red-first: stated intent; the record carries the gap at lines 303-305.
  • Writing rubric results R1 to R7, none: verified; the record has no narration, research, pull request references or status beyond the gap form.
  • Records only, with no internal context: verified, one record and nothing internal.
  • Prettier and the whitespace check are clean: verified.
  • The knowledge check is aligned: verified.
  • The four overlapping open pull requests change other overlay-dismissal clauses only: verified from their diffs.
  • The title's "never a region": false for a region that is a Tab stop (the finding above).
  • docs/families/overlay-dismissal.md: one blocking finding (line 224, with the reveal row at line 328) and two non-blocking notes.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 259728f

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The larger-target fix from the last review is in, and the FR9 amendment carries an engineering owner's approval at this head, but two places still describe the earlier rule that every hidden Tab stop is revealed:

  • DEC-3's heading (docs/families/overlay-dismissal.md line 371) says "A returning focus reveals a hidden Tab stop, never another target", while FR9 (lines 224-228) and DEC-3's own body now never scroll a Tab stop larger than the visible area, so the heading needs the fit condition, for example "A returning focus reveals a hidden Tab stop that fits the view, never another target".
  • The title ("a returning focus reveals a hidden Tab stop") and the description's Decision ("A return target that is a Tab stop and sits outside the visible area of its scrollers is scrolled just into view") are false for a Tab stop larger than the visible area, so both need the fit condition and the sentence that a larger target is not scrolled.

The heading fix is a new commit and needs a fresh exact-head approval; the title and description edits do not. Two smaller wording points are on the lines they concern.

Claims and files checked

Review mode: full; reason: spec-record

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 224-232.
  • Existing authority searched (FR9's no-scroll rule, AV1, the modality rule for the ring, and the accessibility baseline's 2.4.11 row, which does not settle it): verified against the current records.
  • The decider and time match DEC-3: verified, line 373.
  • A Tab stop outside the visible area is scrolled just into view at its nearest edge: false for a Tab stop larger than the visible area, which FR9 never scrolls (lines 227-228).
  • A return target that is not a Tab stop is never scrolled to: verified, lines 228-232.
  • FR9 and AV1 are amended and DEC-3 records the reason: verified, lines 219-232, 255-257 and 371-384.
  • The rejected alternatives, never scrolling and revealing every return target: verified, line 383.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 255-256; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap at lines 304-306 and the row's implementation gap at line 329.
  • The verification map names the new reveal case: verified, its own row at line 329, the larger-than-view case included.
  • Writing rubric results R1 to R7, none: verified; the only gap statements use the allowed gap form (lines 304 and 329).
  • Records only, with no internal context: verified, one record and nothing internal.
  • The knowledge check is aligned: verified at this head.
  • Prettier is clean: verified at this head with the repository's settings.
  • The whitespace check is clean: verified at this head.
  • The four overlapping open pull requests change other overlay-dismissal clauses only: verified from their current diffs; none touches FR9 or scrolling.
  • The title's "reveals a hidden Tab stop": false for a Tab stop larger than the visible area (the second finding above).
  • docs/families/overlay-dismissal.md: two blocking findings (line 371; the title and description against lines 224-228) and three non-blocking notes.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
@cixzhang cixzhang changed the title spec(overlay-dismissal): a returning focus reveals a hidden Tab stop, never a region (FR9, DEC-3) spec(overlay-dismissal): a returning focus reveals a hidden Tab stop that fits the view, never another target (FR9, DEC-3) Nov 17, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec f5e8801

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved pending CI: CI has not finished on this head yet. The DEC-3 heading, the title and the Decision now state the fit condition, and the FR9 amendment carries an engineering owner's approval at this head. Two non-blocking points, also on their lines:

  • Draft #10095 also adds a DEC-3 to this record (page shortcuts), so whichever of the two lands second needs to renumber its decision.
  • Popover and the members built on it restore focus with a plain focus(), which lets the browser scroll to targets FR9 never scrolls; the FR9 gap: line and the reveal row do not name it.
Claims and files checked

Review mode: full; reason: spec-record

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 224-232.
  • Existing authority searched (FR9's no-scroll rule and AV1, the modality rule for the ring, and the accessibility baseline's 2.4.11 row, which does not settle it): verified against the current records.
  • The decider and time match DEC-3: verified, line 373.
  • A Tab stop that fits its scrollers' visible area and is not wholly inside it is scrolled just into view at its nearest edge, and a larger Tab stop is not: verified, lines 224-228.
  • A return target that is not a Tab stop is never scrolled to: verified, lines 228-232.
  • FR9 and AV1 are amended and DEC-3 records the reason: verified, lines 219-232, 255-257 and 371-384.
  • The rejected alternatives, never scrolling and revealing every return target: verified, lines 383-384.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 255-256; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap at lines 304-306 and the reveal row's implementation gap at line 329.
  • The verification map names the new reveal case: verified, its own row at line 329, with the larger-than-view and non-Tab-stop cases.
  • Writing rubric results R1 to R7, none: verified; the only gap statements use the allowed gap form (lines 304 and 329).
  • Records only, with no internal context: verified, one record and nothing internal.
  • The knowledge check is aligned, Prettier is clean and the whitespace check is clean: verified at this head.
  • The four overlapping open pull requests change other overlay-dismissal clauses and none changes FR9 scrolling: verified from their current diffs; the page-shortcuts draft also numbers its new decision DEC-3 (the first point above).
  • The title's rule, a returning focus reveals a hidden Tab stop that fits the view and never another target: verified, FR9 lines 224-232 and DEC-3 line 371.
  • docs/families/overlay-dismissal.md: clear, with two non-blocking notes.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
Comment thread docs/families/overlay-dismissal.md Resolved
@cixzhang
cixzhang marked this pull request as draft November 17, 2026 22:09
@cixzhang
cixzhang marked this pull request as ready for review November 17, 2026 22:09
@cixzhang
cixzhang marked this pull request as draft November 17, 2026 23:50
@cixzhang
cixzhang marked this pull request as ready for review November 17, 2026 23:50
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec e47eca5

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested. The FR9 amendment carries an engineering owner's approval at this head, but merging main brought in a gap line that now contradicts it.

  • Regression: docs/families/overlay-dismissal.md lines 265-266 still list Popover's plain-focus return, which "can scroll the control into view", as an FR9 gap, although the amended FR9 now requires that scroll for a fitting Tab stop; restate it as the real mismatch (Popover's and ContextMenu's plain focus also scrolls to a return target that is not a Tab stop, such as a tabindex="-1" region) and fold it into the gap line at line 321.

The fix is a new commit, so it needs a fresh /approve-spec for that head. One non-blocking point: FR9's "is a Tab stop" test should say whether a fallback target that the popover spec (AST-116 FR20) gives a temporary tab stop counts.

Claims and files checked

Review mode: full; reason: spec-record

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 233-241.
  • Existing authority searched (FR9's no-scroll rule and AV1, the modality rule for the focus ring, and the accessibility baseline's focus-not-obscured row, which does not settle it): verified against the current records.
  • The decider and time match the new decision: verified, DEC-4 line 390.
  • A Tab stop that fits its scrollers' visible area and is not wholly inside it is scrolled just into view at its nearest edge, and a larger Tab stop is not: verified, lines 233-237.
  • A return target that is not a Tab stop is never scrolled to: verified, lines 237-241.
  • FR9 and AV1 are amended and DEC-4 records the reason: verified, lines 233-241, 270-272 and 388-401.
  • The rejected alternatives, never scrolling and revealing every return target: verified, lines 400-401.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 270-271; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap at lines 321-323 and the reveal row's implementation gap at line 346.
  • The verification map names the new reveal case: verified, its own row at line 346.
  • Writing rubric results (no narration, research, change evidence, pull request references, open options or project status; the rejected alternatives sit in one sentence inside DEC-4): verified against the changed lines.
  • Records only, observable behavior, no internal context: verified; one record changes and no added line carries internal context.
  • The affected current claims are named: not met at this head; the Popover gap line merged from main is an affected claim the record leaves stale (the regression above).
  • The knowledge check is aligned: verified by CI's spec-record validation at this head.
  • Prettier is clean: verified by CI's formatting check at this head. The whitespace check is clean: verified.
  • The four overlapping pull requests edit other clauses of this record and none changes focus-return scrolling: verified from their diffs; two have landed and two are open drafts, and the page-shortcuts draft keeps DEC-3. The landed shared focus-return change, not listed, added the Popover gap line above.
  • The title's rule, a returning focus reveals a hidden Tab stop that fits the view and never another target, with its "(FR9, DEC-4)": verified against FR9 lines 233-241 and DEC-4 at line 388.

Files:

  • docs/families/overlay-dismissal.md: the regression above and one non-blocking point; otherwise clear.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
… return into the FR9 gap the amended FR9 leaves
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 019150d

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The FR9 amendment carries an engineering owner's approval at this head, CI passed, and the stale Popover gap line from the last review is now folded into the FR9 gap paragraph.

Two non-blocking wording points remain: FR9's "is a Tab stop" test should say whether a fallback target that the popover spec (AST-116 FR20) gives a temporary tab stop counts, and the gap paragraph could say whether Popover's and ContextMenu's plain focus stops a fitting Tab stop at its nearest edge, as FR9 requires (inline).

Claims and files checked

Review mode: full; reason: spec-record

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 233-241.
  • Existing authority searched (FR9's no-scroll rule and AV1, the modality rule for the focus ring, and the accessibility baseline's focus-not-obscured row, which is about content rather than scroll position): verified against the current records.
  • The decider and time match the new decision: verified, DEC-4 line 391.
  • A Tab stop that fits its scrollers' visible area and is not wholly inside it is scrolled just into view at its nearest edge, and a larger Tab stop is not: verified, lines 233-237.
  • A return target that is not a Tab stop is never scrolled to: verified, lines 237-241.
  • FR9 and AV1 are amended and DEC-4 records the reason: verified, lines 233-241, 268-270 and 389-402.
  • The rejected alternatives, never scrolling and revealing every return target: verified, lines 401-402.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 268-269; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap paragraph at lines 319-324 and the reveal row's implementation gap at line 347.
  • The verification map names the new reveal case: verified, its own row at line 347.
  • Writing rubric results (no narration, research, change evidence, pull request references, open options or project status; the rejected alternatives sit in one sentence inside DEC-4): verified against the changed lines.
  • Records only, observable behavior, no internal context: verified; one record changes and no added line, commit message, title or body carries internal context.
  • The affected current claims are named: verified; the Popover gap line merged from main is now restated in the gap paragraph at lines 321-324, and it matches Popover's and ContextMenu's focus return in the code at this head.
  • The knowledge check is aligned: verified by CI's spec-record validation at this head.
  • Prettier is clean: verified by CI's formatting check at this head. The whitespace check is clean: verified.
  • The four overlapping pull requests edit other clauses of this record and none changes focus-return scrolling: verified; two have landed and two are open drafts. Two other open drafts (#12736, #12891) also edit this record, in the Escape-presence and Tour clauses, and neither touches FR9.
  • The title's rule, a returning focus reveals a hidden Tab stop that fits the view and never another target, with its "(FR9, DEC-4)": verified against FR9 lines 233-241 and DEC-4 at line 389.

Files:

  • docs/families/overlay-dismissal.md: clear; two non-blocking wording points.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
…in-focus return into the FR9 gap the amended FR9 leaves"

This reverts commit 019150d.
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 2814f2b

@cixzhang cixzhang changed the title spec(overlay-dismissal): a returning focus reveals a hidden Tab stop that fits the view, never another target (FR9, DEC-4) spec(overlay-dismissal): a returning focus reveals a hidden Tab stop that fits the view, never another target (FR9, DEC-3) Nov 26, 2026
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec 23786f0

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026

@astracat-bot astracat-bot Bot left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes requested for one record line. The FR9 amendment carries an engineering owner's approval at this head and CI passed, but the Popover gap line that the revert of the previous fold restored still contradicts it.

  • docs/families/overlay-dismissal.md:265-266 lists Popover's plain focus, which scrolls a control into view, as an FR9 gap, while the amended FR9 (lines 233-237) requires that scroll for a fitting, hidden Tab stop; restate it as Popover's actual mismatch (its default return also scrolls to a tabindex="-1" region or a target larger than the view), as suggested in the open thread at line 321, or fold it into the gap paragraph there.

Non-blocking: DEC-3 shares its number with the open draft #10095's DEC-3, so whichever lands second renumbers; FR9's "is a Tab stop" test could say whether a fallback target that the popover spec (AST-116 FR20) gives a temporary tab stop counts; and the FR9 reveal row has no Popover case.

Claims and files checked

Review mode: same-head; reason: none

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 233-241.
  • Existing authority searched (FR9's no-scroll rule and AV1, the modality rule for the focus ring, and the accessibility baseline's focus-not-obscured row, which is about content rather than scroll position): verified against the current records.
  • The decider and time match the new decision: verified, DEC-3 line 390.
  • A Tab stop that fits its scrollers' visible area and is not wholly inside it is scrolled just into view at its nearest edge, and a larger Tab stop is not: verified, lines 233-237.
  • A return target that is not a Tab stop is never scrolled to: verified, lines 237-241.
  • FR9 and AV1 are amended and DEC-3 records the reason: verified, lines 233-241, 270-272 and 388-401.
  • The rejected alternatives, never scrolling and revealing every return target: verified, lines 400-401.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 270-271; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap paragraph at lines 321-323 and the reveal row's implementation gap at line 346.
  • The verification map names the new reveal case: verified, its own row at line 346.
  • Writing rubric results (no narration, research, change evidence, pull request references, open options or project status; the rejected alternatives sit in one sentence inside DEC-3): verified against the changed lines.
  • Records only, observable behavior, no internal context: verified; one record changes and no added line, commit message, title or body carries internal context.
  • The affected current claims are named: false; the Popover gap line at lines 265-266 now contradicts the amended FR9 and is left unamended (the blocking finding).
  • Overlapping work and any collision are called out: partly; the open draft #10095 also adds a DEC-3 to this record (non-blocking).
  • The knowledge check is aligned: verified by CI's record validation at this head.
  • Prettier is clean: verified by CI's formatting check at this head. The whitespace check is clean: verified.
  • The four overlapping pull requests edit other clauses of this record and none changes focus-return scrolling: verified for focus-return scrolling; the open draft #10095 adds its own DEC-3 elsewhere in the record.
  • The title's rule, a returning focus reveals a hidden Tab stop that fits the view and never another target, with its "(FR9, DEC-3)": verified against FR9 lines 233-241 and DEC-3 at line 388.

Files:

  • docs/families/overlay-dismissal.md: one blocking finding (lines 265-266); three non-blocking points.

Automated review (maintainer link)

Comment thread docs/families/overlay-dismissal.md Resolved
@github-actions github-actions Bot added the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026
@cixzhang

Copy link
Copy Markdown
Contributor Author

/approve-spec b91be53

@github-actions github-actions Bot removed the needs:spec-owner-review Current knowledge records await owner approval label Nov 26, 2026

@astracat-bot astracat-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved. The FR9, AV1 and DEC-3 amendment carries an engineering owner's approval at this head and CI passed, and after the merge of main the Popover and ContextMenu gap line that held the last review names behavior the amended FR9 forbids.

Non-blocking: DEC-3 shares its number with the open draft #10095's DEC-3, so whichever lands second renumbers; FR9's "is a Tab stop" test could say whether a fallback target that the popover spec (AST-116 FR20) gives a temporary tab stop counts; and the FR9 reveal row has no Popover or ContextMenu case.

Claims and files checked

Review mode: full; reason: merge-touches-pr-files

  • The decision is whether a focus return scrolls an off-screen return target into view: verified, FR9 lines 233-241.
  • Existing authority searched (FR9's no-scroll rule and AV1, the modality rule for the focus ring, and the accessibility baseline's focus-not-obscured row, which is about content rather than scroll position): verified against the current records.
  • The decider and time match the new decision: verified, DEC-3 line 390.
  • A Tab stop that fits its scrollers' visible area and is not wholly inside it is scrolled just into view at its nearest edge, and a larger Tab stop is not: verified, lines 233-237.
  • A return target that is not a Tab stop is never scrolled to: verified, lines 237-241.
  • FR9 and AV1 are amended and DEC-3 records the reason: verified, lines 233-241, 270-272 and 388-401.
  • The rejected alternatives, never scrolling and revealing every return target: verified, lines 400-401.
  • The scope is focus-return scrolling only, and the return target stays each member's: verified, AV1 lines 270-271; every changed line concerns focus-return scrolling.
  • Implementations follow separately, red-first: stated intent; the record carries the gap paragraph at lines 321-323 and the reveal row's implementation gap at line 346.
  • The verification map names the new reveal case: verified, its own row at line 346.
  • The members named in the new gap paragraph return focus with no scroll today: verified against the Dialog, BottomSheet, BottomSheetSwitcher, Lightbox and DropdownMenu sources.
  • Writing rubric results (no narration, research, change evidence, pull request references, open options or project status; the rejected alternatives sit in one sentence inside DEC-3): verified against the changed lines.
  • Records only, observable behavior, no internal context: verified; one record changes and no added line, commit message, title or body carries internal context.
  • The affected current claims are named: verified; no other current record states the no-scroll return, and the Popover and ContextMenu gap line from main (lines 265-266) is consistent with the amended FR9.
  • Overlapping work and any collision are called out: partly; the open draft #10095 also adds a DEC-3 to this record (non-blocking).
  • The knowledge check is aligned: verified by CI's record validation at this head.
  • Prettier is clean: verified by CI's formatting check at this head. The whitespace check is clean: verified.
  • The four overlapping pull requests edit other clauses of this record and none changes focus-return scrolling: verified; the open draft #10095 adds its own DEC-3 elsewhere in the record.
  • The title's rule, a returning focus reveals a hidden Tab stop that fits the view and never another target, with its "(FR9, DEC-3)": verified against FR9 lines 233-241 and DEC-3 at line 388.

Files:

  • docs/families/overlay-dismissal.md: clear; three non-blocking points.

Automated review (maintainer link)

@cixzhang
cixzhang merged commit 8dd2287 into main Nov 26, 2026
84 checks passed
@github-actions
github-actions Bot deleted the specs/overlay-dismissal-fr9-reveal branch November 27, 2026 06:04

This branch was successfully deployed

1 active deployment
Preview — b91be53b Deployed Nov 26, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant