Skip to content

Commit a145fbf

Browse files
committed
remove alert, aria-live will read the content even with no focus
fixes microsoft#41356
1 parent 210a72c commit a145fbf

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/vs/editor/contrib/gotoError/gotoErrorWidget.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import { basename } from 'vs/base/common/resources';
2525
import { IAction } from 'vs/base/common/actions';
2626
import { IActionBarOptions, ActionsOrientation } from 'vs/base/browser/ui/actionbar/actionbar';
2727
import { peekViewTitleForeground, peekViewTitleInfoForeground } from 'vs/editor/contrib/referenceSearch/referencesWidget';
28-
import * as aria from 'vs/base/browser/ui/aria/aria';
2928
import { SeverityIcon } from 'vs/platform/severityIcon/common/severityIcon';
3029

3130
class MessageWidget {
@@ -286,8 +285,6 @@ export class MarkerNavigationWidget extends PeekViewWidget {
286285
this._icon.className = SeverityIcon.className(MarkerSeverity.toSeverity(this._severity));
287286

288287
this.editor.revealPositionInCenter(position, ScrollType.Smooth);
289-
290-
aria.alert(marker.message);
291288
}
292289

293290
updateMarker(marker: IMarker): void {

0 commit comments

Comments
 (0)