Skip to content

feat(visual): measure real GitHub README reflow without claiming accessibility - #185

Merged
drevendev merged 7 commits into
masterfrom
beautifulrepo/github-readme-measurement-probe-20261028
Oct 28, 2026
Merged

drevendev merged 7 commits into
masterfrom
beautifulrepo/github-readme-measurement-probe-20261028

Conversation

@drevendev

@drevendev drevendev commented Oct 28, 2026 •

Copy link
Copy Markdown
Owner

Reader outcome

The existing visual acceptance checklist asks for actual CSS widths, overflow, light/dark image selection and browser observations. Add an inspectable, dependency-free browser-console helper for those measurements on a rendered, full-SHA GitHub README. Report both document and Markdown overflow, theme/image selection and image load failures without network calls or leaking URL query strings.

Scope

  • examples/readme-visuals/github-readme-probe.js: read-only DOM measurement expression; returns NOT RUN for non-GitHub/non-full-SHA URLs or absent Markdown.
  • checklists/visual-accessibility-acceptance.md: precise execution steps, scope and non-certification boundaries.
  • tests/test_visual_probe.py: subprocess Node VM contract checks when Node is available (optional, no runtime dependency for the browser helper).
  • CHANGELOG.md: public documentation.

Verification actually completed

  • node --check on the helper: PASS (local)
  • python -m unittest discover -s tests -p 'test_visual_probe.py' -v: 4/4 PASS on isolated reproduction of the exact new helper/test files (local)
  • Playwright/Chromium (local synthetic HTML, 320 CSS px, dark mode; explicitly injected fake full-SHA GitHub location): measurement returned 320 px/0 overflow, one image, dark preference. The same local URL without injected location returned NOT RUN. Not a real GitHub-rendered acceptance run.
  • Full repository catalog/link checks and full unittest suite: not run locally; GitHub CI is authoritative for this PR.

Limits

No real GitHub-rendered screenshots, manual 400% zoom, keyboard, screen reader or WCAG verdict. Do not treat measurements as an accessibility PASS. Related: #16.

No releases/settings/external projects/private controls changed.

@drevendev drevendev left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Later-run acceptance of exact head b265bd2: inspected all four changed-file patches and the public README. Scope is a read-only, explicitly non-certifying GitHub-rendered Markdown diagnostic; full-SHA origin gate, no fetch/clipboard/DOM mutation, no URL query-string output, and NOT RUN guards are present. Node VM contract tests cover measurements, omitted query tokens, absent renderer and non-GitHub location. Current GitHub Actions run 40689186644 completed successfully (6/6: Linux/Windows Python, lint and Action self-tests), with clean mergeability and no review threads. This acceptance is same-account COMMENT evidence, not an independent approval. No real GitHub browser/400% zoom/keyboard/screen-reader acceptance was performed; those remain explicitly open under issue #16. Local full-suite repetition unavailable due GitHub DNS failure in the local checkout environment. No material blocker identified for this bounded helper.

@drevendev
drevendev merged commit 71b68ce into master Oct 28, 2026
6 checks passed
@drevendev
drevendev deleted the beautifulrepo/github-readme-measurement-probe-20261028 branch October 28, 2026 13:18
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.

1 participant