Repository navigation
Read every authored page with axe in both schemes, and fix the seven it flags - #6695
Merged
Merged
Conversation
…it flags `test_page_fixture_renders` now takes an axe reading of each authored page in light and dark, after the journeys that hand the page back at its widest. The corpus lost its axe pass when #1136 removed the static export, and a run over all 49 pages at 1280px flagged seven: - alert-review, command-hub: the tally's Next On Me named its region with `aria-controls`, an id outside the widget's shadow root, which no browser resolves. The button steps through the region rather than controlling it, so the attribute goes. - deploy-config, file-tree, file-tree-input: @pierre/trees (beta.6, and still 1.0.0) puts `role="tree"` on the root that also holds the search field, and a tree may own only items and groups. A vendor seam moves the role to the scroller that holds the rows, and the root's layout rule from the role to the root's own attribute. Probed on the file-tree example, base and head lay out to the same pixel. - shadow-scale: the workshop's quiet text read 4.23:1 on its canvas and 3.84:1 on its wells, a row's labels used the faint disabled ink (2.17:1), the card eyebrow read 4.39:1, and the dark save button 3.25:1 under white. Quiet is now #66645d (5.29:1 and 4.79:1), the row labels take quiet, and the dark save is #2b8079 (4.70:1). - wt-merge: the film's flag checkboxes are 13px, and where the row wraps a flag sat 23px from the one above. Each label now stands at least 24px tall. The scheme switch that `unread_syntax` and the new reading share finished only the document's own transitions, so a search field's ground inside a shadow root was read mid-transition, light under dark ink (pr-walkthrough, worktree-diffs at 1.25:1). It now finishes every finite motion through the render checks' `finishMoving`. Checked: the eleven affected pages through `test_page_fixture_renders`, shadow-scale's unfixed copy failing its axe entry as a control, an axe-only sweep of all 49 authored pages, and the file-tree, tally, film and syntax-probe browser tests.
leaf-agent
approved these changes
Nov 22, 2026
This was referenced Nov 22, 2026
leaf-agent
added a commit
that referenced
this pull request
Nov 24, 2026
…ller (#6966) `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 on `target-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](https://github.com/max-sixty/leaf/actions/runs/45018312974)), and once on Linux in scheduled run [45014446027](https://github.com/max-sixty/leaf/actions/runs/45014446027). `axe_findings` now 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: - Locally I forced the scroll that CI hit, with the avatar 4 px below the header. Before the change, the test failed with the two `target-size` nodes, 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_renders` passes for `github-discoveries`, `rust-sort` and `pr-walkthrough`. - A 54-copy `flake` dispatch on the macOS runner is running on this head as [run 45342899769](https://github.com/max-sixty/leaf/actions/runs/45342899769). #6744's other tests are untouched: the shift-watch overshoot, the `application_boundary[Feed]` margin-marker teardown, the Firefox comment marks, and `reading_place` (#6303). Refs #6744 — automated triage
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 corpus journey (
test_page_fixture_renders) now takes an axe reading of every authored page in light and dark, which nothing has done since #1136 removed the static export's axe pass. This fixes the seven pages it flagged:aria-controlsnamed an id outside the widget's shadow root, which no browser resolves. The button steps through the region rather than controlling it, so the attribute is removed.role="tree"on the root that also holds the search field, and a tree may own only items and groups. A vendor seam moves the role to the scroller holding the rows, and moves the root's one[role="tree"]layout rule onto the root's own attribute. 1.0.0 still has this, so the seam outlives an upgrade. Base and head lay the tree out to the same pixel.The colour-scheme switch shared by
unread_syntaxand the new reading finished only the document's own transitions. It read a search field inside a shadow root mid-transition, as light under dark ink. It now finishes every finite motion throughfinishMoving.Max asked for this (#10 on the Gridlines page). Nobody else has read it yet. Checked by running the eleven affected pages through
test_page_fixture_renders, running an axe-only sweep of all 49 authored pages, running the file tree, tally, film and syntax-probe browser tests, and confirming that the unfixed shadow-scale fails the new entry.