Trance views: canvas aria-hidden, keyboard access, intention textarea label - #59
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
brooksRoley
force-pushed
the
claude/trance-a11y-canvas-keyboard
branch
from
September 16, 2026 02:23
3c9bfc8 to
420f5fa
Compare
… label - SpiralView: aria-hidden on canvas, tabindex+keyboard handler on click container (Space/Enter advance trance words), aria-live on word overlay, progressbar role+attrs on reader progress bar - HypnoView: aria-hidden on canvas, role=application + aria-label on root div describing orb controls - ZeromindView: role=img + aria-label on interactive canvas (keyboard nav already wired via window keydown listener) - TranceCanvas: aria-hidden on canvas-layer - CheckInView: aria-label on intention textarea (no associated <label>) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018wmqcKohSvBvTS37mKnbiJ
brooksRoley
force-pushed
the
claude/trance-a11y-canvas-keyboard
branch
from
September 16, 2026 02:29
420f5fa to
4bebd5b
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Accessibility sweep: trance views + CheckInView
Five targeted WCAG fixes across the public-facing trance routes and the daily check-in view.
Changes
SpiralView.vue
aria-hidden="true"on the decorative canvas (was announced as an unlabeled image by screen readers)role="button" tabindex="0"+@keydown.space.prevent/@keydown.enter.preventon the clickable root div — the view was previously keyboard-inaccessible (click-only)aria-labeldescribing the interaction on the root divaria-live="polite" aria-atomic="true"on the word overlay so screen readers receive trance word updatesrole="progressbar"+aria-valuenow/min/maxon the reader progress barHypnoView.vue
aria-hidden="true"on canvasrole="application"+ descriptivearia-labelon root div naming the orb interaction (keyboard nav already handled byuseCosmicPhysics)ZeromindView.vue
role="img"+aria-labelon the interactive canvas — keyboard handling already wired viawindow.addEventListener('keydown', onKeyDown); this gives screen readers context on what the canvas isTranceCanvas.vue (
/tranceroute)aria-hidden="true"on the canvas-layer — purely decorative; the init overlay and text overlay provide the accessible contentCheckInView.vue
aria-label="Set your intention for today"on the intention<textarea>— was only relying onplaceholder, which WCAG 1.3.1 does not accept as a label replacementVerification
Build check blocked: no
node_modulesin this remote environment (vue-tscnot available). All changes are template-level HTML attribute additions — no new TS bindings, no new imports, no logic changes.readerProgress(used in the new:aria-valuenowbinding in SpiralView) is already destructured fromuseTextOverlay()in that file's existing script block.🤖 Generated with Claude Code
https://claude.ai/code/session_018wmqcKohSvBvTS37mKnbiJ
Generated by Claude Code