Skip to content

docs: record a rendered keyboard, contrast and reflow check of Pocket Board - #123

Merged
drevendev merged 1 commit into
masterfrom
beautifulrepo/pocket-board-rendered-check-20261023
Oct 23, 2026
Merged

drevendev merged 1 commit into
masterfrom
beautifulrepo/pocket-board-rendered-check-20261023

Conversation

@drevendev

Copy link
Copy Markdown
Owner

Reader problem and change

#28 kept one open question: does the Pocket Board example, presented as accessible teaching code, hold up when it is actually rendered? So far only source-level colour tokens had been tested. This PR records a dated check of the running app and extends the palette test to the pairs that check measured.

  • examples/application-starter/README.md gains "Rendered keyboard, contrast and reflow check (2026-10-23)":
    • the select border, focus outline and text contrast in light and dark themes;
    • no sideways page scroll at 375 and 320 px;
    • the Tab order and keyboard operation of the filter;
    • the selected state surviving a reload;
    • what was not checked.
  • tests/test_workshop_hardening.py::test_control_border_palette_contrast now also keeps --focus at 3:1, and --ink and --muted at 4.5:1, against --bg and --panel in both themes.

Closes #28

Evidence

Measured in Chrome 152.0.7977.167, the browser built into the Claude desktop app, against python examples/application-starter/app.py --port 8765. Widths and colour schemes were set by viewport emulation.

Check Light Dark
Select border vs panel (WCAG 1.4.11 needs 3:1) 4.49:1 4.87:1
Focus outline vs background 5.27–5.78:1 8.94–10.43:1
Body / muted text 14.95 / 7.04:1 15.13 / 9.33:1
scrollWidth at 375 and 320 px equals the viewport equals the viewport

The keyboard path: Tab reaches the skip link, which moves on screen, then the "Pocket Board" link, the select and the button, each with :focus-visible and a solid outline. ArrowDown then Enter on the button loads ?status=open with "Open" still selected and 3 tasks; ?status=done shows "Done" and 2 tasks.

Verification

  • The five local checks passed on Windows 11 with Python 3.14.7: docs links 199; HTML navigation 210; 293 tests OK, 7 skipped; repo audit 0 findings.
  • Accessibility checks actually performed are listed above. Not performed: screen readers, forced-colours or high-contrast modes, real devices, other browsers, real 400% zoom. 320 px stands in for it. The drawing of the native dropdown arrow was not measured.

🤖 Generated with Claude Code

… Board

The example claimed accessible defaults, but only source-level colour tokens
were tested. A dated check of the running app in Chrome 152 (light and dark,
375 and 320 px) measured the select border, focus outline and text contrast,
walked the Tab order and operated the filter by keyboard; the README records
the results and what was not checked (screen readers, forced colours, real
devices, real 400% zoom). The palette test now also keeps the focus outline
(3:1) and body and muted text (4.5:1) against both backgrounds.

Closes #28

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@drevendev
drevendev merged commit 96f6f2b into master Oct 23, 2026
5 checks passed
@drevendev
drevendev deleted the beautifulrepo/pocket-board-rendered-check-20261023 branch October 23, 2026 09:04
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.

Accessibility: strengthen Pocket Board control contrast and document a scoped visual check

1 participant