claude-code icon indicating copy to clipboard operation
claude-code copied to clipboard

[A11y feature request] Built-in option to speak Claude's responses aloud

Open DCA11Y opened this issue 6 months ago • 3 comments

Summary

Add a built-in option to have Claude's responses spoken aloud in the Claude Code desktop app. This benefits blind users, low-vision users, and anyone working hands-busy or hands-free.

Proposal

Two patterns, either or both:

  1. User setting (opt-in, off by default) — when enabled, completed Claude responses are read aloud automatically as soon as streaming finishes.
  2. Keyboard shortcut — a binding (e.g. cmd+shift+R) that reads the most recent Claude response on demand.

Either pattern is well-established in accessibility tooling: think VoiceOver's "speak the focused item" or screen reader "read from here" commands.

Why built-in beats a hook workaround

A hook-based version (Stop hook + say) is theoretically possible but has problems:

  • The Stop hook fires on /clear, /resume, /compact, etc., not just on actual response completion.
  • The hook payload likely does not contain the response text, so it has to scrape the transcript file.
  • Markdown and code blocks sound terrible when read by raw text-to-speech (literal asterisks, backticks, "hash hash hash" for headings) — would need clean message data and intelligent rendering.
  • No clean way to interrupt when the user starts typing the next prompt.

A built-in implementation would have access to clean message data, settings UI, proper interrupt handling on user input, and nicer voices than say.

Context

I submitted the same feedback via the in-app /feedback channel and to [email protected] so the team can dedupe.

I am Lead Accessibility Architect at Paramount Streaming, blind, daily VoiceOver user. Happy to help spec, test, or pilot.

DCA11Y avatar May 12 '26 17:05 DCA11Y

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/45251
  2. https://github.com/anthropics/claude-code/issues/45863
  3. https://github.com/anthropics/claude-code/issues/42700

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

github-actions[bot] avatar May 12 '26 17:05 github-actions[bot]

The three hook workaround problems you named are real, native is genuinely better. For macOS users who want something installable today, I just made Audio Recap https://github.com/leonidb/claude-code-audio-recap public. I've been using and tweaking it for several weeks and it's been useful in practice.

  1. It reads the transcript file - no way around it, not ideal but works
  2. Markdown sounding terrible - Audio Recap uses a Haiku call (using Claude Code) to generate a summarized one-sentence recap of the turn (e.g., "Edited auth.py and added the OAuth callback; tests passing") - a digest of what happened, not raw markdown read aloud. Long replied messages do get markdown rewrites too (code blocks announced rather than read literally)
  3. You can interrupt the narration by clicking escape

It's macOS-only for now (uses native say/afplay). Summaries go through your existing Claude Code Haiku auth. No additional dependencies.

None of this replaces a native solution. But it handles your complaints until native lands.

leonidb avatar May 16 '26 15:05 leonidb

Strong +1 from another disabled user with a different angle. I have cerebral palsy and I'm an auditory learner, and I'd add two things. First, please consider Cowork as well as Claude Code. The same gap exists in both. Second, the design point that matters most to me: voice output should be a playback layer that coexists with typing, not a hands-free voice mode that takes over input. In the chat app today, turning voice on disables typing, which makes it a voice conversation instead of "type normally and hear the replies." That tradeoff makes it much less useful for real work. My actual workflow, which your opt-in auto-read setting (pattern 1) would serve perfectly: I dictate my input with Mac's built-in dictation, because it handles my speech far better than in-app voice recognition; I mute my mic, and I just want Claude's responses read back automatically. I already do exactly this with another assistant by leaving its voice output on while I type by dictation. Clean input and automatic playback at the same time. Agree with you on code: in Claude Code, I'd only want prose and explanations read aloud, never source code read literally. I build things with these tools and think a lot about technology and disability from lived experience. Glad to test or share a user's perspective if useful.

Jamie-Jordan avatar May 31 '26 23:05 Jamie-Jordan