Repository navigation
Audit only visible gallery frames for accessibility - #1596
Merged
Merged
Conversation
leaf-agent
added a commit
that referenced
this pull request
Oct 2, 2026
The full [main CI run](https://github.com/max-sixty/leaf/actions/runs/37014203218) stalled in `test_opt_in_page_interface_joins_initial_widget_settlement` after the test released its first held `/api/state` request. The gallery can issue another parent state read during startup, and the route kept that read held forever. The test now releases every request it held and lets later requests through, so its original upgrade, visibility, and connecting-status assertions still run through final readiness. The focused test failed on main at the `arrived` readiness stage and passes after this change: `uv run pytest -q -n0 tests/test_render_startup.py::test_opt_in_page_interface_joins_initial_widget_settlement`. Refs #1592. The run's separate gallery WCAG test arrangement is addressed in #1596. Co-authored-by: leaf-agent <[email protected]>
leaf-agent
added a commit
that referenced
this pull request
Oct 2, 2026
The [full Linux main run](https://github.com/max-sixty/leaf/actions/runs/37029273867) found nine browser checks that still expected the comment and thread geometry from before #1587. The tests now read the carried frame, the shared transcript inset, the writer's visible field, and clearance from nearby controls. The compact send case checks its visible thread and typography; `test_send_grows_thread_around_the_words` continues to check word position through the handoff animation. No runtime code changes. All nine affected cases failed on the run's head and pass locally on this branch. A focused animated send-placement case and pinned pre-commit checks also pass. The run's gallery accessibility and startup failures were addressed separately by #1596 and #1597. Refs #1592. --------- Co-authored-by: leaf-agent <[email protected]>
max-sixty
added a commit
that referenced
this pull request
Oct 2, 2026
The gallery accessibility fix excluded visually hidden frames, but still audited an aria-hidden frame as an independent document. That produced button-name, document-title, and language findings for content outside the accessibility tree. Install axe in child documents and let its standard page-level traversal own frame exclusion and nested auditing. A positive-control case keeps unnamed buttons in hidden and aria-hidden frames, catches two unnamed buttons in exposed child and grandchild documents, verifies the parent frame-name failure, then verifies the clean result. Validation: the positive control fails with the helper landed in #1596 and passes with this change. The local gate passes 1,638 Python tests, 192 runtime tests, 74 browser framework tests, and 66 Worker tests; type checks, committed bundles, and pre-commit checks pass. The gallery and chrome accessibility audits pass after integrating latest main. No runtime changes or new expected-failure markers. Ref #1592. > _This was written by Codex on behalf of max-sixty_
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 full main CI run failed the gallery WCAG test because its Axe helper audited the gallery's hidden, unopened
about:blankiframe. That empty document has no title or language, although it is outside the visible page. The helper now audits the main document and frames whose full ancestor chain is visible, retaining coverage for frames a reader can reach.The unchanged focused WCAG test failed on main and passes after this change:
uv run pytest -q -n0 tests/test_render_controls.py::test_the_feature_gallery_has_no_serious_wcag_a_or_aa_violations.Refs #1592. The same run's startup settlement failure has a separate test arrangement fix in progress.