mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-19 18:14:50 +01:00
remove alert, aria-live will read the content even with no focus
fixes #41356
This commit is contained in:
@@ -25,7 +25,6 @@ import { basename } from 'vs/base/common/resources';
|
||||
import { IAction } from 'vs/base/common/actions';
|
||||
import { IActionBarOptions, ActionsOrientation } from 'vs/base/browser/ui/actionbar/actionbar';
|
||||
import { peekViewTitleForeground, peekViewTitleInfoForeground } from 'vs/editor/contrib/referenceSearch/referencesWidget';
|
||||
import * as aria from 'vs/base/browser/ui/aria/aria';
|
||||
import { SeverityIcon } from 'vs/platform/severityIcon/common/severityIcon';
|
||||
|
||||
class MessageWidget {
|
||||
@@ -286,8 +285,6 @@ export class MarkerNavigationWidget extends PeekViewWidget {
|
||||
this._icon.className = SeverityIcon.className(MarkerSeverity.toSeverity(this._severity));
|
||||
|
||||
this.editor.revealPositionInCenter(position, ScrollType.Smooth);
|
||||
|
||||
aria.alert(marker.message);
|
||||
}
|
||||
|
||||
updateMarker(marker: IMarker): void {
|
||||
|
||||
Reference in New Issue
Block a user