Repository navigation
test: run the corpus gate's axe check from the top of the page's scroller - #6966
Merged
Merged
Conversation
…oller axe_findings ran wherever the earlier journeys in test_page_fixture_renders left the scroll. On github-discoveries that could leave the first card's avatar a few pixels below the sticky feed header, which axe counts as a target obscured to 34x3 px, and it then fails the 23 px heading link beside it on target-size. The page's targets pass with the card in view, so the finding measured the earlier journeys' timing, not the page. Axe now reads the page with its reading scroller at the top, keeping #6695's intent of reading every page in both schemes. Refs #6744
This was referenced Nov 24, 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.
test_page_fixture_renders[github-discoveries]fails its axe pass only when the earlier journeys on the shared page leave the first card's avatar just below the sticky feed header. Axe counts that avatar as a target obscured to 34×3 px. It then fails the 23 px heading link beside it ontarget-size, because the avatar's sliver is now the link's nearest neighbour. Where the scroll ends up depends on the earlier passes' timing, so the finding came and went: 11 of 18 copies on the macOS runner (run 45018312974), and once on Linux in scheduled run 45014446027.axe_findingsnow puts the page's reading scroller at its top before reading. At that position no sticky element covers any content. This keeps #6695's intent, an axe reading of every corpus page in both schemes, and makes it independent of where the earlier journeys left the scroll.Verification:
target-sizenodes, and the heading measured 596.1×23 px, the same as the Linux CI reading. With the change and the same forced scroll, it passes.test_page_fixture_renderspasses forgithub-discoveries,rust-sortandpr-walkthrough.flakedispatch on the macOS runner passed all 54 copies on this head (run 45342899769). Onmain, 11 of 18 copies had failed.#6744's other tests are untouched: the shift-watch overshoot, the
application_boundary[Feed]margin-marker teardown, the Firefox comment marks, andreading_place(#6303).Refs #6744 — automated triage