Skip to content

Commit 9a3ddb3

Browse files
committed
more content
1 parent 9b1b19a commit 9a3ddb3

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

src/vs/workbench/contrib/notebook/browser/notebookAccessibilityHelp.ts

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,22 @@ export function getAccessibilityHelpText(accessor: ServicesAccessor): string {
1414
const keybindingService = accessor.get(IKeybindingService);
1515
const content = [];
1616
content.push(localize('notebook.overview', 'The notebook view is a collection of code and markdown cells. Code cells can be executed and will produce output directly below the cell.'));
17-
content.push(descriptionForCommand('notebook.execute', localize('notebook.cell.executeAndFocusContainer', 'The Execute Cell command ({0}) executes the cell that currently has focus.',), localize('notebook.cell.executeAndFocusContainerNoKb', 'The Execute Cell command executes the cell that currently has focus and is currently not triggerable by a keybinding.'), keybindingService));
17+
content.push(descriptionForCommand('notebook.cell.edit',
18+
localize('notebook.cell.edit', 'The Edit Cell command ({0}) will focus on the cell input.'),
19+
localize('notebook.cell.editNoKb', 'The Edit Cell command will focus on the cell input and is currently not triggerable by a keybinding.'), keybindingService));
20+
content.push(descriptionForCommand('notebook.cell.quitEdit',
21+
localize('notebook.cell.quitEdit', 'The Quit Edit command ({0}) will set focus on the cell container.'), // pressing escape twice may be necessary for screen reader users
22+
localize('notebook.cell.quitEditNoKb', 'The Quit Edit command will set focus on the cell container and is currently not triggerable by a keybinding.'), keybindingService));
23+
content.push(descriptionForCommand('notebook.cell.focusInOutput',
24+
localize('notebook.cell.focusInOutput', 'The Focus Output command ({0}) will set focus in the cell\'s output.'),
25+
localize('notebook.cell.focusInOutputNoKb', 'The Quit Edit command will set focus in the cell\'s output and is currently not triggerable by a keybinding.'), keybindingService));
26+
content.push(localize('notebook.cellNavigation', 'The up and down arrows will move focus between cells while focused on the outer cell container'));
27+
content.push(descriptionForCommand('notebook.cell.executeAndFocusContainer',
28+
localize('notebook.cell.executeAndFocusContainer', 'The Execute Cell command ({0}) executes the cell that currently has focus.',),
29+
localize('notebook.cell.executeAndFocusContainerNoKb', 'The Execute Cell command executes the cell that currently has focus and is currently not triggerable by a keybinding.'), keybindingService));
30+
content.push(localize('notebook.cell.insertCodeCellBelowAndFocusContainer', 'The Insert Cell Above/Below commands will create new empty code cells'));
31+
content.push(localize('notebook.changeCellType', 'The Change Cell to Code/Markdown commands are used to switch between cell types.'));
32+
1833

1934
return content.join('\n');
2035
}

0 commit comments

Comments
 (0)