Skip to content

Add accessibility baseline: no-color and reduced motion - #219

Open
raiseCatError wants to merge 1 commit into
feature/167-form-controlsfrom
feature/170-accessibility-baseline
Open

raiseCatError wants to merge 1 commit into
feature/167-form-controlsfrom
feature/170-accessibility-baseline

Conversation

@raiseCatError

Copy link
Copy Markdown
Owner

Implements the delivery half of #170; the audit and acceptance criteria are in docs/accessibility/baseline.md.

Stacked on #218 (feature/167-form-controls), on #217, on #203. Merge order: #203, #217, #218, then this PR.

What changed

  • presentation/capabilities.ts: colorLevel(). NO_COLOR, TERM=dumb or NMSH_COLOR=none turn NMSh-owned color off. Without an explicit signal, behavior is unchanged (truecolor).
  • ui/palette foreground()/background() honor it. The remaining raw truecolor escapes in the transcript presenter and paste atoms now go through them.
  • NMSH_REDUCED_MOTION=1 (implied by deterministic presentation) freezes the shimmer/activity phase and the welcome blink. Measured durations are unaffected.
  • Docs record the acceptance criteria, audit result, known gaps and the screen-reader limitation.

Not included

Verification

tests/accessibilityBaseline.test.ts; full suite 636/636, typecheck, build and git diff --check clean.

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