Merge pull request #186551 from microsoft/merogge/broken-link

use correct help link
This commit is contained in:
Megan Rogge 2023-06-28 12:22:05 -07:00 committed by GitHub
commit 25f06e8384
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,18 +34,13 @@ class AccessibilityHelpProvider extends Disposable implements IAccessibleContent
this._editor.focus();
this.dispose();
}
options: IAccessibleViewOptions = { type: AccessibleViewType.HelpMenu, ariaLabel: localize('terminal-help-label', "terminal accessibility help") };
options: IAccessibleViewOptions = { type: AccessibleViewType.HelpMenu, ariaLabel: localize('editor-help', "editor accessibility help"), readMoreUrl: 'https://go.microsoft.com/fwlink/?linkid=851010' };
id: string = 'editor';
constructor(
private readonly _editor: ICodeEditor,
@IKeybindingService private readonly _keybindingService: IKeybindingService
) {
super();
let url = (this._editor.getRawOptions() as any).accessibilityHelpUrl;
if (typeof url === 'undefined') {
url = 'https://go.microsoft.com/fwlink/?linkid=852450';
}
this.options.readMoreUrl = url;
}
private _descriptionForCommand(commandId: string, msg: string, noKbMsg: string): string {