Unclear How long announcements are held is not known.
What
With the CLAUDE_CODE_ACCESSIBILITY environment variable set, Claude Code handles announcement lines differently. Before, they were added again on every redraw of the screen. Now:
- Announcement lines are held for a set time and kept across redraws.
- They are dropped if they would grow too large or if the rest of the screen changes.
- They are placed after the main content.
Why
People using a screen reader should hear less repeated or flickering announcement text.
Names in the bundleCLAUDE_CODE_ACCESSIBILITY
Documented inclaude-code/accessibility
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Confirmed since
Anthropic's documentation has since written up CLAUDE_CODE_ACCESSIBILITY, on Use Claude Code with a screen reader.
Screen reader mode is opt-in. If you use a screen magnifier, reduced motion, or a colorblind-friendly theme instead of a screen reader, set `CLAUDE_CODE_ACCESSIBILITY`, `prefersReducedMotion`, or `theme` from the [Accessibility settings](#…accessibility see the edit
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubt
How long announcements are held is not known.
Anthropic's documentation agrees
Anthropic's documentation has since written up CLAUDE_CODE_ACCESSIBILITY, on Use Claude Code with a screen reader.