8000 Fix release image build; visible keyboard focus on the canvas by adeelahmad · Pull Request #31 · adeelahmad/gadgetcast · GitHub
[go: up one dir, main page]

Skip to content

Fix release image build; visible keyboard focus on the canvas - #31

Merged
adeelahmad merged 2 commits into
masterfrom
claude/project-thread-65265y
Oct 18, 2026
Merged

adeelahmad merged 2 commits into
masterfrom
claude/project-thread-65265y

Conversation

@adeelahmad
@adeelahmad adeelahmad commented Oct 18, 2026 •
Copy link
Copy Markdown
Owner

Before: both Pi image jobs in the Release workflow fail at pi-gen-action's "Removing runner components to increase disk build space" step (/usr/bin/sudo exit code 100 from apt), so no image reaches the release. On the Studio canvas, Tab moves focus onto nodes and cables but nothing is drawn, so a keyboard user can't see where they are (WCAG 2.4.7).

After: the image build frees disk in its own non-fatal step. A focused node gets a 2px brand outline and a focused cable a brand halo.

How:

  • increase-runner-disk-size: false plus a "Free runner disk space" step (dotnet, Android SDK, GHC, CodeQL, boost, docker images, all || true). Validated by a manual Pi image run on this branch.
  • studio.css focus-visible rules; the node rule carries an extra .react-flow because React Flow's own .react-flow__node.selectable:focus-visible{outline:none} loads later. focus.test.ts pins both rules (red without the CSS). Checked with a Playwright Tab walkthrough of gadgetcast -dev in Chromium: outline solid 2px rgb(8,112,143) on the node, halo on the cable; Enter selects and opens the inspector, arrows move. No screen-reader test.

🤖 Generated with Claude Code

https://claude.ai/code/session_01K4B4YKMC6fT9oWCCwWgt9S

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K4B4YKMC6fT9oWCCwWgt9S
A Playwright keyboard walkthrough found nodes and cables took Tab focus
with nothing drawn (WCAG 2.4.7): studio.css and React Flow's
.selectable:focus-visible both set outline:none.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K4B4YKMC6fT9oWCCwWgt9S
@adeelahmad adeelahmad changed the title ci(pi-image): free runner disk ourselves Fix release image build; visible keyboard focus on the canvas Oct 18, 2026
@adeelahmad
adeelahmad merged commit 32f5da1 into master Oct 18, 2026
3 checks passed
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

0