Clear
Plays a signal - sound (audio cue) and/or announcement (alert) - when a feature is cleared (for example, the terminal, Debug Console, or Output channel).
{
"accessibility.signals.clear": {
"sound": "auto",
"announcement": "auto"
} // default
}
Type: object
Default:
{
"sound": "auto",
"announcement": "auto"
}
Object Properties:
Key | Type | Default | Range | Description |
---|---|---|---|---|
“sound” | string | “auto” | “auto”, “off”, “on” | Plays a sound when a feature is cleared. |
“announcement” | string | “auto” | “auto”, “off” | Announces when a feature is cleared. |
Description: Controls if signals and announcements are made when a contextual clear command is exectuted. For sound
, auto
will only play a sound signal when a screen reader is attached or when "editor.accessibilitySupport": "on"
, off
will never play the sound signal, on
will always play the sound signal even when there is no screen reader or if "editor.accessibilitySupport": "off"
. For announcement
, auto
will only signal the screen reader to make an announcement when a screen reader is detected, off
will never send the signal even when a screen reader is detected.