From e6855a201e0ddc046c2ec95c923f30ea48c06750 Mon Sep 17 00:00:00 2001 From: Johannes Date: Thu, 27 Apr 2023 18:08:51 +0200 Subject: [PATCH] don't use role or aria-label attributes so that contents get read out fixes https://github.com/microsoft/vscode-internalbacklog/issues/4035 --- .../interactiveEditor/browser/interactiveEditorWidget.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorWidget.ts b/src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorWidget.ts index 47f9511518b..a5e012cdb91 100644 --- a/src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorWidget.ts +++ b/src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorWidget.ts @@ -227,11 +227,7 @@ class InteractiveEditorWidget { this._previewCreateEditor = this._store.add(_instantiationService.createInstance(EmbeddedCodeEditorWidget, this._elements.previewCreate, _previewEditorEditorOptions, codeEditorWidgetOptions, parentEditor)); this._elements.message.tabIndex = 0; - this._elements.message.setAttribute('aria-label', 'Copilot Inline Message'); - this._elements.message.setAttribute('role', 'alert'); this._elements.statusLabel.tabIndex = 0; - this._elements.statusLabel.setAttribute('aria-label', 'Copilot Status Update'); - this._elements.statusLabel.setAttribute('role', 'alert'); const markdownMessageToolbar = this._instantiationService.createInstance(MenuWorkbenchToolBar, this._elements.messageActions, MENU_INTERACTIVE_EDITOR_WIDGET_MARKDOWN_MESSAGE, workbenchToolbarOptions); this._historyStore.add(markdownMessageToolbar); }