We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5740559 commit 8949642Copy full SHA for 8949642
src/vs/workbench/contrib/chat/browser/chatInputPart.ts
@@ -157,6 +157,9 @@ export class ChatInputPart extends Disposable implements IHistoryNavigationWidge
157
if (!domNode) {
158
return;
159
}
160
+ // Remove the input editor from the DOM temporarily to avoid the screen reader
161
+ // from reading the cleared text (the request) to the user. On Windows, we don't need to do this
162
+ // and it could cause issues.
163
const handleDom = this.accessibilityService.isScreenReaderOptimized() && !isWindows;
164
if (handleDom) {
165
this._inputEditorElement.removeChild(domNode);
0 commit comments