@codingame/monaco-vscode-accessibility-service-override 1.83.4 → 1.83.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-accessibility-service-override",
3
- "version": "1.83.4",
3
+ "version": "1.83.6",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.83.4",
21
+ "vscode": "npm:@codingame/monaco-vscode-api@1.83.6",
22
22
  "monaco-editor": "0.44.0"
23
23
  }
24
24
  }
@@ -29,13 +29,25 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
29
29
  this.updateScreenReaderModeElement(this._accessibilityService.isScreenReaderOptimized());
30
30
  }
31
31
  showScreenReaderNotification() {
32
- this.screenReaderNotification = this.notificationService.prompt(Severity.Info, localizeWithPath('vs/workbench/contrib/accessibility/browser/accessibilityStatus', 'screenReaderDetectedExplanation.question', "Are you using a screen reader to operate VS Code?"), [{
33
- label: localizeWithPath('vs/workbench/contrib/accessibility/browser/accessibilityStatus', 'screenReaderDetectedExplanation.answerYes', "Yes"),
32
+ this.screenReaderNotification = this.notificationService.prompt(Severity.Info, ( localizeWithPath(
33
+ 'vs/workbench/contrib/accessibility/browser/accessibilityStatus',
34
+ 'screenReaderDetectedExplanation.question',
35
+ "Are you using a screen reader to operate VS Code?"
36
+ )), [{
37
+ label: ( localizeWithPath(
38
+ 'vs/workbench/contrib/accessibility/browser/accessibilityStatus',
39
+ 'screenReaderDetectedExplanation.answerYes',
40
+ "Yes"
41
+ )),
34
42
  run: () => {
35
43
  this.configurationService.updateValue('editor.accessibilitySupport', 'on', 2 );
36
44
  }
37
45
  }, {
38
- label: localizeWithPath('vs/workbench/contrib/accessibility/browser/accessibilityStatus', 'screenReaderDetectedExplanation.answerNo', "No"),
46
+ label: ( localizeWithPath(
47
+ 'vs/workbench/contrib/accessibility/browser/accessibilityStatus',
48
+ 'screenReaderDetectedExplanation.answerNo',
49
+ "No"
50
+ )),
39
51
  run: () => {
40
52
  this.configurationService.updateValue('editor.accessibilitySupport', 'off', 2 );
41
53
  }
@@ -48,9 +60,17 @@ let AccessibilityStatus = class AccessibilityStatus extends Disposable {
48
60
  updateScreenReaderModeElement(visible) {
49
61
  if (visible) {
50
62
  if (!this.screenReaderModeElement.value) {
51
- const text = localizeWithPath('vs/workbench/contrib/accessibility/browser/accessibilityStatus', 'screenReaderDetected', "Screen Reader Optimized");
63
+ const text = ( localizeWithPath(
64
+ 'vs/workbench/contrib/accessibility/browser/accessibilityStatus',
65
+ 'screenReaderDetected',
66
+ "Screen Reader Optimized"
67
+ ));
52
68
  this.screenReaderModeElement.value = this.statusbarService.addEntry({
53
- name: localizeWithPath('vs/workbench/contrib/accessibility/browser/accessibilityStatus', 'status.editor.screenReaderMode', "Screen Reader Mode"),
69
+ name: ( localizeWithPath(
70
+ 'vs/workbench/contrib/accessibility/browser/accessibilityStatus',
71
+ 'status.editor.screenReaderMode',
72
+ "Screen Reader Mode"
73
+ )),
54
74
  text,
55
75
  ariaLabel: text,
56
76
  command: 'showEditorScreenReaderNotification',
@@ -11,7 +11,11 @@ class ToggleScreenReaderMode extends Action2 {
11
11
  constructor() {
12
12
  super({
13
13
  id: 'editor.action.toggleScreenReaderAccessibilityMode',
14
- title: { value: nls.localizeWithPath('vs/workbench/contrib/codeEditor/browser/accessibility/accessibility', 'toggleScreenReaderMode', "Toggle Screen Reader Accessibility Mode"), original: 'Toggle Screen Reader Accessibility Mode' },
14
+ title: { value: ( nls.localizeWithPath(
15
+ 'vs/workbench/contrib/codeEditor/browser/accessibility/accessibility',
16
+ 'toggleScreenReaderMode',
17
+ "Toggle Screen Reader Accessibility Mode"
18
+ )), original: 'Toggle Screen Reader Accessibility Mode' },
15
19
  f1: true,
16
20
  keybinding: [{
17
21
  primary: 2048 | 35 ,