Fix native Space scrolling in focus oracle#2073
Open
chubes4 wants to merge 1 commit into
Open
Conversation
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.
Summary
browser-focused-element-hiddenonly when bounded transition evidence proves an uncanceled generated document Space action retained focus on the same initially visible link and the element geometry moved exactly with the viewportBrowser Semantic
On a focused normal link, Chromium does not activate the link for Space. It scrolls the document down by roughly one viewport while retaining focus, which moves the link's viewport-relative box offscreen. Buttons instead activate on Space without page scrolling, and links activate on Enter.
Suppression Predicate
The collector records bounded key-transition context only for canonical generated document keyboard actions ending in Space. Suppression requires all of the following:
A bounded scan diagnostic records the action ID, normalized locator, scroll delta, and active-element continuity. Finding fingerprints remain unchanged because suppression context is not fingerprint input. Replay uses the same action instrumentation and predicate, including unrecorded minimization scans.
False-Negative Safeguards
Tests
Passing:
npm run buildnpm run test:browser-accessibility-oracles(32 tests)npm run test:adversarial-runtime(16 tests)npm run test:redactionnpm run test:runtime-command-artifact-boundsnpm run test:schema-paritynpm run test:runtime-contract-package-exportsCoverage includes desktop 1280x900 and mobile 390x844 Tab+Space behavior, replay, Enter activation, button Space activation, application concealment, inert focus loss, explicit script scrolling, and genuinely offscreen focus.
Unrelated Baselines
npm run test:public-api-contractfails because the expected dist module list omits the already-exportedbrowser-accessibility.js; this PR does not modify the export or contract test files.npm run checkpasses production-boundary enforcement and the initial smoke commands, then stops at the pre-existingcommand-registry-smokeassertion thatwordpress.collect-workload-resultshould mention an output schema ID; this PR does not modify command registry files.Fixes #2068