Skip to content

Read every authored page with axe in both schemes, and fix the seven it flags - #6695

Merged
max-sixty merged 1 commit into
mainfrom
try-pritamux
Nov 22, 2026
Merged

max-sixty merged 1 commit into
mainfrom
try-pritamux

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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:

  • Tally (alert-review, command-hub): Next On Me's aria-controls named 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.
  • File tree (deploy-config, file-tree, file-tree-input): @pierre/trees 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 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.
  • shadow-scale: the example's quiet text, a row's labels, the card eyebrow and the dark Save button were 2.2–4.4:1. They are now 4.7:1 or better.
  • wt-merge: the film's 13px flag checkboxes sat 23px apart where the row wraps. Each label is now at least 24px tall.

The colour-scheme switch shared by unread_syntax and 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 through finishMoving.

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.

This was written by Claude Code on behalf of max-sixty

…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.
@max-sixty
max-sixty merged commit d44492b into main Nov 22, 2026
6 checks passed
@max-sixty
max-sixty deleted the try-pritamux branch November 22, 2026 01:21
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants