Merge pull request #183965 from microsoft/merogge/switch-default

enable inline suggestions to be read by screen readers by default
This commit is contained in:
Megan Rogge 2023-05-31 10:44:39 -05:00 committed by GitHub
commit b9a77b3c7b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5093,7 +5093,7 @@ export const EditorOptions = {
EditorOption.ariaLabel, 'ariaLabel', nls.localize('editorViewAccessibleLabel', "Editor content")
)),
screenReaderAnnounceInlineSuggestion: register(new EditorBooleanOption(
EditorOption.screenReaderAnnounceInlineSuggestion, 'screenReaderAnnounceInlineSuggestion', false,
EditorOption.screenReaderAnnounceInlineSuggestion, 'screenReaderAnnounceInlineSuggestion', true,
{
description: nls.localize('screenReaderAnnounceInlineSuggestion', "Control whether inline suggestions are announced by a screen reader."),
tags: ['accessibility']