Browse Source

Default screen reader mode on terminals to false, as it causes troubles
with scrollbar behavior. Can still be enabled in the settings editor.

Ian Rose 5 years ago
parent
commit
ba1de9ab33
2 changed files with 7 additions and 1 deletions
  1. 6 0
      packages/terminal-extension/schema/plugin.json
  2. 1 1
      packages/terminal/src/tokens.ts

+ 6 - 0
packages/terminal-extension/schema/plugin.json

@@ -51,6 +51,12 @@
       "$ref": "#/definitions/theme",
       "default": "inherit"
     },
+    "screenReaderMode": {
+      "title": "Screen Reader Mod3",
+      "description": "Whether add accessibility elements for use with screen readers.",
+      "type": "boolean",
+      "default": false
+    },
     "scrollback": {
       "title": "Scrollback Buffer",
       "description": "The amount of scrollback beyond initial viewport",

+ 1 - 1
packages/terminal/src/tokens.ts

@@ -122,7 +122,7 @@ export namespace ITerminal {
     shutdownOnClose: false,
     cursorBlink: true,
     initialCommand: '',
-    screenReaderMode: true,
+    screenReaderMode: false, // False by default, can cause scrollbar rendering issues.
     pasteWithCtrlV: true
   };