Skip to content

Audit accessible iframe trees through axe traversal - #1606

Merged
max-sixty merged 5 commits into
mainfrom
codex/fix-ci-draft-contracts
Oct 2, 2026
Merged

max-sixty merged 5 commits into
mainfrom
codex/fix-ci-draft-contracts

Conversation

@max-sixty

Copy link
Copy Markdown
Owner

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

Keep the comment-to-thread handoff and geometry checks on the real carried frame introduced by #1587. Preserve exact passage tracking and reading alignment by arranging the viewport to leave room before it clamps; let intrinsic thread content grow within the shared minimum and preferred widths.

Let axe own recursive accessible-frame traversal after its library is installed in child documents. Positive controls distinguish nested visible faults, hidden and aria-hidden documents, and parent frame names. Hold only the first startup state read so declared post-presentation arrival work can settle.

The eleven originally failing cases and nearby growth controls pass locally; the runtime fold gate passes 192 tests. No runtime changes or new expected-failure markers.
@max-sixty
max-sixty merged commit 866dd30 into main Oct 2, 2026
4 checks passed
@max-sixty
max-sixty deleted the codex/fix-ci-draft-contracts branch October 2, 2026 19:56
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