github / github/copilot-cli

Accessibility: Screen reader reads premium requests status bar on every keypress instead of typed character

オープン
#1,642 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:theming-accessibility
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

## Summary

When typing in the Copilot CLI input prompt, the screen reader announces the **premium requests status bar value** (e.g. `36.03333333333333 %`) on every single keypress, instead of echoing the character that was typed. This makes the CLI unusable for blind users.

## Root cause

The premium requests / quota status bar at the bottom of the UI is being re-rendered on every keypress. Screen readers (VoiceOver, NVDA, etc.) intercept that terminal output update and read it aloud, suppressing the expected character echo.

## Expected behavior

Typing `a` → screen reader says "a". The status bar should be invisible to the accessibility tree / screen reader during active text input.

## Actual behavior

Typing any character → screen reader announces the premium requests percentage (e.g. `36.03333333333333 %`) every single time. The user receives no feedback about what they are actually typing.

## Impact

**Critical accessibility regression for blind users.** The CLI is completely unusable with a screen reader because there is no way to know what you are typing.

## Steps to reproduce

1. Enable VoiceOver (macOS) or NVDA (Windows)
2. Launch Copilot CLI
3. Type any character in the input prompt
4. Screen reader announces the premium requests percentage instead of the typed character

## Suggested fix

- Mark the status bar region as `aria-hidden` or equivalent for terminal accessibility
- Only update the status bar when the user is **not** actively typing, or throttle updates
- Ensure the terminal input line has proper focus so character echo reaches the screen reader first
- Do not re-render the status bar on every single keystroke

## Reported by

A blind user relying on VoiceOver for all terminal interaction.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。