Skip to content

WCAG 2.2 and WAI-ARIA 1.2 measured in full (ST-01) - #115

Merged
afflom merged 1 commit into
mainfrom
claude/project-thread-mbov4w
Nov 15, 2026
Merged

afflom merged 1 commit into
mainfrom
claude/project-thread-mbov4w

Conversation

@afflom

@afflom afflom commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Requested by Alex · project thread

Alex's rule from 09:29Z: every part fully implements its standard and is verified to enforce it. This PR moves the front end's two W3C standards from "not measured" to measured in full.

WCAG 2.2, level AA: 55 requirements, 51 enforced, 4 failing in the frame

  • The requirements are all 55 success criteria at A and AA, from W3C's machine-readable wcag.json, pinned by SHA-256 and read by tools/standards/extract/wcag_json.py.
  • Each one names the check that holds it in enforcedBy:
    • 26 by axe-core 4.10.3 rules
    • 10 by a verified not-applicable: an absent: selector that nothing on any screen matches, the frame's shadow root included
    • 18 by probes that follow W3C's own test procedures: keyboard walk, focus ring, focus not obscured, single-key shortcuts, reflow at 320 px, text spacing, 200% text, non-text contrast, pointer cancellation, error identification, consistent navigation, redundant entry, reading order, live status
    • 1 by the review-before-send suite
  • Four criteria fail only in the canonical frame or the template-locked site/app.mjs. They are listed under failing, with the reason for each, and kept as debt. Frame meets WCAG 2.2 AA on four criteria it failed UOR-Foundation/template#93 fixes all four, and only Alex can merge it there.

WAI-ARIA 1.2: 142 requirements, all enforced

  • The requirements are every role, state and property from the Recommendation's own HTML, read by aria_html.py.
  • The page meets them all. Abstract roles are enforced as never used, and the other kinds by the axe-core ARIA rules.
  • Each kind is enforced the same way, through a new enforcedByKind fallback in gate.py, as agreed with the gates thread.

What else changes

  • test/page/standards.test.mjs now runs exactly the checks the register names, so the register and the suite can't drift apart. Requirements it finds failing must match the standard's failing list exactly, so a fixed requirement leaves the debt.
  • gate.py treats a requirement listed under failing as not enforced. It stays in the debt with its reason.

These pass locally: tools/standards/gate.py --check --base origin/main (193 of 999 requirements enforced), the standards suite on the assembled page in all four views, the product gate and the parts gate.


Generated by Claude Code

…ata, each enforced as the register says

WCAG 2.2: all 55 success criteria at A and AA from W3C's wcag.json
(pinned by SHA-256), each mapped to the check that holds it: axe-core
4.10.3 rules, a verified not-applicable (nothing on any screen matches),
a probe following W3C's test procedure, or the review-before-send
suite. WAI-ARIA 1.2: all 142 roles, states and properties from the
Recommendation, each kind enforced alike (enforcedByKind, a fallback the
gate now reads). test/page/standards.test.mjs runs exactly the
register's checks. Four criteria fail only in the canonical frame and
are listed as failing with why: UOR-Foundation/template#93 fixes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3LnihjghMFtJj7tkWm
@afflom
afflom enabled auto-merge November 15, 2026 10:13
@afflom
afflom merged commit 17c80ca into main Nov 15, 2026
7 checks passed
afflom pushed a commit that referenced this pull request Nov 15, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NUuCezYRx8MGGY3Ss
afflom pushed a commit that referenced this pull request Nov 15, 2026
…MANCE.md

Main's ST-01 refused site/person/icf.mjs (ICF's module, #115) as answering to no
standard; its register entry who-icf now governs it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Asa3NUuCezYRx8MGGY3Ss
@github-actions

Copy link
Copy Markdown
Contributor

Merging this pull request made main 17c80ca4c5339a73f09d982a17b506341d47b44d, and main's deploy refused it, so the live page is not this change.

Refused by page / gates / Check that every part fully implements its standards: https://github.com/afflom/me/actions/runs/43705349574/job/132785116602

These are the same gates this pull request passed. If its checks ran on the same merge result, the refusal comes from a check that does not decide the same way every run: make that check deterministic in a new pull request.

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