Skip to content

Commit def43e0

Browse files
authored
Merge pull request microsoft#187603 from microsoft/merogge/acc-hint
alert when verbosity setting changes
2 parents 1bbf7dd + aab7d04 commit def43e0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/contrib/accessibility/browser/accessibleView.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import { IInstantiationService, createDecorator } from 'vs/platform/instantiatio
2222
import { IOpenerService } from 'vs/platform/opener/common/opener';
2323
import { SelectionClipboardContributionID } from 'vs/workbench/contrib/codeEditor/browser/selectionClipboard';
2424
import { getSimpleEditorOptions } from 'vs/workbench/contrib/codeEditor/browser/simpleEditorOptions';
25+
import { alert } from 'vs/base/browser/ui/aria/aria';
2526

2627
const enum DEFAULT {
2728
WIDTH = 800,
@@ -142,6 +143,7 @@ class AccessibleView extends Disposable {
142143
// Delay to allow the context view to hide #186514
143144
setTimeout(() => provider.onClose(), 100);
144145
} else if (e.keyCode === KeyCode.KeyD && this._configurationService.getValue(settingKey)) {
146+
alert(localize('disableAccessibilityHelp', '{0} accessibility verbosity is now disabled', provider.id));
145147
this._configurationService.updateValue(settingKey, false);
146148
}
147149
e.stopPropagation();

0 commit comments

Comments
 (0)