Complex products · Step 4 · 7 min read
Fast entry from the keyboard
Experts who enter data all day count keystrokes, not clicks. A tab order that follows the work, type-ahead pickers instead of long dropdowns, arrow keys inside grids, shortcuts that don't clash or trap anyone, the right keyboard on a phone, and pasting from the spreadsheet people already use.
The speed of someone who enters data all day is set by how often they have to reach for the mouse. A planner entering forty steps and their parts, or a technician typing twelve readings with cold fingers, feels every extra click. The good news is that most of what makes entry fast also makes it accessible: a sensible tab order, keys that do what people expect, and labels for every shortcut. Design it once and both groups win.
What you'll be able to do after reading:
- Make the tab order follow the work, with one stop per widget
- Replace long dropdowns with type-ahead pickers
- Add keyboard shortcuts that don't clash with the browser or trap anyone
- Get the right on-screen keyboard on phones and tablets, and accept pasted data
1. Why the keyboard matters here
Jakob Nielsen's seventh heuristic, flexibility and efficiency of use, says that "shortcuts — hidden from novice users — may speed up the interaction for the expert user" (in this course's words, a daily user with advanced skill), and advises: "provide accelerators like keyboard shortcuts and touch gestures" (Nielsen, 10 Usability Heuristics for User Interface Design, NN/g). An accelerator is a faster second way to do something that already has a normal way. The normal way stays; daily users get a shortcut on top.
Keyboard support is also an accessibility requirement: people who can't use a mouse depend on it entirely (see Accessibility fundamentals). So the work in this lesson serves two groups, and the rules below never help one by hurting the other.
2. A tab order that follows the work
The tab order is the sequence in which the Tab key moves focus from one control to the next. It should follow the order people do the job, which is usually the visual order. On Gale's Steps part, that means: step description, duration, then the parts for that step, then the next step.
For grids and lists, one Tab stop per widget, not one per cell. The W3C's ARIA Authoring Practices Guide (APG) says "the tab sequence should include only one focusable element of a composite UI component", and that "other keys, primarily the arrow keys, move focus inside" it (W3C, Developing a Keyboard Interface). A composite widget is one control made of many focusable parts, like a grid of readings.
- Tab stop 1: type part of the ID; Down Arrow and Enter pick a match.
- Tab stop 2: the whole grid. Arrow keys move between cells; typing replaces the value.
- Tab stop 3: Save. Its shortcut is printed next to it.
In Gale Field's readings grid, Tab enters the grid, arrow keys move between cells, typing replaces a cell's value, and Tab leaves the grid for the next control. Twelve readings take twelve numbers and some arrow presses, not twenty-four Tabs.
3. Type, don't scroll
TurbineDesk had a dropdown with all 1,760 turbines. Planners scrolled it, or typed the first letter and hoped. Replace long lists with a combobox: "an input widget that has an associated popup" that lets people "choose a value for the input from a collection" (W3C APG, Combobox pattern). In practice it's a text field that filters a list as you type.
- Match on everything people might type: the ID (
07-T14), part of it, or the turbine's name. - Down Arrow moves into the list, Enter accepts, Escape closes. That's the APG's keyboard pattern; people already know it.
- Show the most likely matches first (turbines at the planner's sites, recent ones), then the rest.
Same for parts, by part number or name, and for people, by name or employee number.
4. Shortcuts that don't clash
For the actions people repeat dozens of times a day, add a keyboard shortcut (a key or key combination that runs a command). In Gale Console: add a step, save the part, go to the next part. Three rules keep them safe:
- Don't take keys the browser or system already uses. The APG warns "it is essential to avoid conflicts with keys that perform system level functions" (W3C APG). Ctrl+S in a browser saves the web page; if your app uses it, be sure that's what people want.
- Single-key shortcuts must be switchable. WCAG requires that a shortcut made of one letter, number or symbol can be turned off, remapped to include a key like Ctrl or Alt, or be "only active when that component has focus" (W3C, Understanding SC 2.1.4 Character Key Shortcuts). Speech-input users can trigger them by accident.
- Show them where the action is. The APG suggests "revealing key assignments on the element itself": the shortcut in the button's tooltip and next to the command in menus. A shortcut nobody can discover only helps the person who built it.
5. On phones and tablets: the right keyboard
In Gale Field, the "keyboard" is on screen, and the wrong one costs a technician in gloves two extra taps per field. HTML's inputmode attribute "hints at the type of data that might be entered by the user", so the device shows a suitable keyboard; decimal gives "digits and decimal separator for the user's locale" (MDN, inputmode).
- Readings get
inputmode="decimal", with the unit printed next to the field (°C, bar, mm), not typed. - The decimal separator follows the person's locale: a Portuguese technician types 61,5, an Irish one 61.5. Accept both; store one.
- Make the Next key on the keyboard move to the next reading, in the same order as the grid.
6. Paste from the spreadsheet
Daily users moving from an old system arrive with spreadsheets. TurbineDesk users kept readings in Excel and retyped them. Let people paste a block of cells into a grid: a column of twelve values lands in twelve rows. Check the values like typed ones (see Validation and errors at scale), mark any that fail, and keep the rest.
7. Common mistakes
- One Tab stop per cell, so a 12-row grid takes 24 presses to cross.
- Long dropdowns for long lists: turbines, parts, people.
- Shortcuts that override browser keys without asking.
- Single-letter shortcuts that can't be turned off.
- Shortcuts that exist only in a help page.
- A text keyboard for numbers on a tablet.
- Refusing pasted data, or accepting it without checking.
8. Vocabulary
| Term | Meaning |
|---|---|
| Accelerator | A faster second way to do something that already has a normal way |
| Tab order | The sequence in which the Tab key moves focus between controls |
| Composite widget | One control made of many focusable parts, such as a grid; one Tab stop, arrows inside |
| Combobox | A text field with a list that filters as you type |
| Keyboard shortcut | A key or key combination that runs a command |
| inputmode | An HTML attribute that tells phones and tablets which on-screen keyboard to show |
9. Try it (no tools needed)
Pick a form you fill at least weekly, on a computer.
- Fill it once using only the keyboard. On paper, make a tally mark for every key press, and a circle each time you had to give up and use the mouse.
- Next to each circle, write what stopped you: a dropdown, a date picker, a button you couldn't reach.
- Choose the three most repeated actions in the form. For each, write a shortcut, check it isn't a browser shortcut you use (Ctrl+T, Ctrl+W, Ctrl+L, Ctrl+S), and write where you'd show it.
It's good when you can name the one change that removes most circles, and none of your shortcuts is a single letter that would fire while typing.
Reflection questions: Where did Tab take you somewhere you didn't expect? Which of your shortcuts would a new user ever find?
10. If you already practise
- Time a daily user doing a real task with and without the shortcuts, on the same day. That's the number that justifies the work (see Time on task and errors).
- Keep one shortcut list for the whole product, owned by the design system, so two teams don't give the same key two meanings.
- Test the grid with a screen reader: each cell should announce its row and column header.
Checklist
Learn more
- W3C WAI-ARIA Authoring Practices: Developing a Keyboard Interface · Combobox pattern
- W3C WAI: Understanding SC 2.1.4 Character Key Shortcuts
- Jakob Nielsen: 10 Usability Heuristics for User Interface Design (NN/g)
- MDN: inputmode
Books, courses and videos to go deeper
- Usability EngineeringJakob NielsenBook · Academic Press, 1993 · on accelerators for people who use a product every day (Amazon)
- About Face: The Essentials of Interaction DesignAlan Cooper, Robert Reimann, David Cronin and Christopher NoesselBook · 4th edition, Wiley, 2014 · on designing for "perpetual intermediates" (Amazon)
Book links go to Amazon. As an Amazon Associate I earn from qualifying purchases, at no extra cost to you.
Related
Experts who use it all day · Accessibility fundamentals · Accessible components · Validation and errors at scale · Time on task and errors