NoInlayHints
Plays a signal - sound (audio cue) and/or announcement (alert) - when trying to read a line with inlay hints that has no inlay hints.
{
"accessibility.signals.noInlayHints": {
"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 trying to read a line with inlay hints that has no inlay hints. |
"announcements" | string | "auto" | "auto", "off" | Announces when trying to read a line with inlay hints that has no inlay hints. |
Description
Controls if sound and announcement signals are played when a screen reader attempts to read Inlay Hints on a line that does not have them. You can force a screen reader to attempt to read Inlay Hints with the Read Line with Inlay Hints command. You can execute this command through the Command Pallete or by setting a custom keyboard Shortcut since it is not bound by default.
When "sound" is set to "auto", the sound signal will play whenever a screen reader attempts to read a line with Inlay Hints but none are available a screen reader is detected or "editor.accessibilitySettings": "on". When set to "off", the sound signal will never play even when a screen reader is detected or "editor.accessibiltySupport": "on". When set to "on", the sound signal will always play even when a screen reader is not detected or "editor.accessibilitySupport": "off".
When "announcement" is set to "auto", the screen reader will make the announcement whenever it attempts to read a line with Inlay Hints but none are available and a screen reader is detected. When set to "off", the screen reader will never make the announcement even when a screen reader is detected.