Skip to content

Commit e6855a2

Browse files
committed
don't use role or aria-label attributes so that contents get read out
fixes microsoft/vscode-internalbacklog#4035
1 parent 726b7f5 commit e6855a2

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vs/workbench/contrib/interactiveEditor/browser/interactiveEditorWidget.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -227,11 +227,7 @@ class InteractiveEditorWidget {
227227
this._previewCreateEditor = this._store.add(_instantiationService.createInstance(EmbeddedCodeEditorWidget, this._elements.previewCreate, _previewEditorEditorOptions, codeEditorWidgetOptions, parentEditor));
228228

229229
this._elements.message.tabIndex = 0;
230-
this._elements.message.setAttribute('aria-label', 'Copilot Inline Message');
231-
this._elements.message.setAttribute('role', 'alert');
232230
this._elements.statusLabel.tabIndex = 0;
233-
this._elements.statusLabel.setAttribute('aria-label', 'Copilot Status Update');
234-
this._elements.statusLabel.setAttribute('role', 'alert');
235231
const markdownMessageToolbar = this._instantiationService.createInstance(MenuWorkbenchToolBar, this._elements.messageActions, MENU_INTERACTIVE_EDITOR_WIDGET_MARKDOWN_MESSAGE, workbenchToolbarOptions);
236232
this._historyStore.add(markdownMessageToolbar);
237233
}

0 commit comments

Comments
 (0)