Repository navigation
fix: sample an existing disclosure in the focus ring sweep - #4405
Merged
Merged
Conversation
This was referenced Oct 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The focus-ring sweep still sampled a disclosure in the plan after #4198 deliberately replaced its short caveats with visible paragraphs. It now samples the PR walkthrough's path disclosure and credits the visual overlay that draws native content focus. The corpus Tab walk still includes the plan; no page behavior changes.
The isolated disclosure specimen reproduced the 120-second missing-locator timeout before this change and passes afterward, including focus and ring geometry assertions. Python compilation and diff checks pass. The full sweep passes the replacement specimen, then stops at the unrelated
#pr-flow-tabpaint-rule expectation, also reproduced on main before this change and tracked separately in #4412. All gating PR CI checks passed on the pushed head.Focused verification
A temporary pytest fixture restricted
RING_CASES,RING_EXAMPLESandRING_EXAMPLE_FILESto the native disclosure specimen, and replaced the independent corpus Tab walk with an empty result. The existing test still performs its focus, painted-rule and ring-geometry assertions. Before the change it waits for the absent plan summary and times out; afterward the walkthrough summary passes in 9.51 seconds. The unrestricted test was also run before and after and stops at#pr-flow-tab: its expected rule contains.lf-rendered:has(> :is(lf-tab, lf-part), while the browser's rule contains a newline after:has(.Closes #4241 — automated triage