Which keys are there for coding? (key help, screen reader, views)
In brief
The coding workspace can be operated entirely with the keyboard, also with a screen reader. It has two views, “Text” and “Sentences”. If you prefer to code sentence by sentence, take “Sentences”.
What is it?
A screen reader is a program that reads the screen aloud or shows it on a braille display, for example NVDA, JAWS or VoiceOver. It usually has two modes: in browse mode (NVDA) the keys control the program itself, in focus mode they go to the page. In the text field and in the sentence list NVDA switches to focus mode by itself; the keys below then work.
Keys in the view “Text” and the view “Sentences”
| Key | View “Text” | View “Sentences” |
|---|---|---|
| Arrow keys | Read and move the cursor | Sentence before or after |
| Shift+arrow | Mark a passage | Add sentences to the selection |
| Space bar | - | Select or deselect a sentence |
| S and A | Mark a sentence or paragraph, press again: add the next one | - |
| Enter or K | Go to the code bar for the marked passage | Go to the code bar for the chosen sentences |
| 1 to 9 | Give the code at this place of the quick bar | Give the code at this place |
| I | Announce the codes on the passage | Announce the codes on the sentence |
| M | Write a memo on the passage | Write a memo on the sentences |
| Ctrl+Z (Mac: Cmd+Z) | Undo | Undo |
| Delete | - | Clear the selection |
| Esc | Clear the marking | Clear the selection |
Code bar and code tree
| Key | Effect |
|---|---|
| Typing | The list of codes filters by parts of the name. |
| Arrow down, arrow up | Choose a code in the list |
| Enter | Give the code and return to the text or the sentence list |
| Shift+Tab | Back to the text without giving a code |
| Arrows in the code tree | Up and down, right opens, left closes |
| Enter or F2 in the code tree | Edit the code: name, colour, definition |
Notes for screen readers
- In NVDA browse mode you first have to go into the text field or the sentence list (Enter or Tab onto the field). NVDA then switches to focus mode and the keys above work.
- In NVDA, Esc switches back to browse mode. That is why Delete clears the selection, and Esc is never the only way.
- With VoiceOver on the Mac you move through the page with VO+arrow keys; in the sentence list and in the text field the keys above apply.
- On a braille display the texts appear in short form, the long name is spoken.
Not true - this is how it is
Take away
- Two views: “Text” for free marking, “Sentences” for coding sentence by sentence.
- Digits 1 to 9 give the codes of the quick bar, Enter opens the code bar, I names the codes, M opens a memo.
- In NVDA, Esc switches back to browse mode, so Delete clears the selection.