Illustration
Upgrade now
Illustration
Upgrade now

Keyboard

Summary:

The keyboard is the input device most products take for granted and most designs quietly break. Every text field decides which keyboard a phone shows, every custom component decides whether Tab can reach it, and every shortcut decides how fast an expert can work. Keyboard behavior is where a product's accessibility and its power-user experience are decided at the same time, usually by defaults nobody chose on purpose.

Keyboard

What is a keyboard?

A keyboard is the primary text-entry device for most digital systems. It consists of keys arranged in a defined layout, allowing users to input characters, trigger commands, and navigate interfaces. Keyboards exist in two main forms: physical hardware peripherals connected to computers and consoles, and virtual on-screen keyboards that appear on touchscreen devices.

For designers and product teams, the keyboard matters in two distinct ways. First, as the physical input method most users rely on for sustained text entry. Second, as the navigation mechanism for users who cannot or choose not to use a pointer device. These two roles have different implications: the first shapes decisions about form fields, text inputs, and input handling; the second is a foundational accessibility requirement that affects every interactive element in a product.

What are the main keyboard layouts?

The keyboard layout most people in Western markets encounter is QWERTY, named for the first 6 keys on the top letter row. It was developed for typewriters in the 1870s and became the default layout for computers through historical momentum rather than typing efficiency.

Alternative layouts exist for specific purposes. AZERTY is standard in France and Belgium, reflecting different letter-frequency patterns in French. QWERTZ is common in Germany and Central Europe. Dvorak and Colemak were designed to improve typing efficiency by placing the most commonly used letters on the home row, reducing finger travel. Adoption of these alternatives has been limited despite their ergonomic claims, largely because the cost of relearning outweighs the benefit for most users.

For product teams building multilingual or global products, keyboard layout is a practical consideration. Users typing in Arabic, Hebrew, Chinese, Japanese, Korean, or other languages with non-Latin scripts require either hardware keyboards designed for those scripts or input method editors (IMEs) that translate keystroke sequences into the correct characters. Designing forms and text input fields that behave correctly for users across these input methods requires testing that goes beyond the Latin-script defaults most teams design against.

Why does keyboard navigation matter for accessibility?

Keyboard navigation is a foundational accessibility requirement. Users with motor impairments who cannot operate a mouse, users who rely on screen readers, and users who simply prefer keyboard-driven workflows all depend on being able to navigate a product entirely through keyboard input. The Designing for Motor Disabilities lesson covers what that takes in practice.

WCAG 2.1 specifies that all functionality available through a mouse must also be available through a keyboard. This means every interactive element: links, buttons, form fields, dropdowns, modals, tabs, and custom components, must be reachable by pressing Tab, operable with Enter or Space, and navigable with arrow keys where appropriate. The focus indicator, the visible outline that appears on the currently focused element, must be visible so keyboard users know where they are at any given moment.

Common keyboard navigation failures include focus traps, where pressing Tab moves focus into a component like a modal but provides no way to exit without a mouse. Another is focus order that doesn't match the visual layout, so a user tabbing through a page encounters elements in a sequence that doesn't correspond to their visual position. Custom interactive components like date pickers, sliders, and autocomplete fields require explicit keyboard interaction design because they don't automatically inherit the keyboard behavior of native HTML elements.

What are keyboard shortcuts and why do they matter?

Keyboard shortcuts are key combinations that trigger actions without requiring the user to navigate through menus or interface elements. They're one of the most significant factors in the efficiency of power users in any software product.

In design tools like Figma, keyboard shortcuts are central to the workflow. Experienced designers rarely lift their hands from the keyboard to reach for menu items when they can press a key combination instead. The same is true in code editors, project management tools, and any product where users perform repeated actions frequently. Well-implemented shortcuts compress multi-step actions into single inputs and significantly reduce task time.

Discoverability is the challenge with shortcuts. Users who don't know a shortcut exists won't use it. Products address this through shortcut reference panels, tooltips that display the shortcut alongside the action name, and keyboard shortcut hints in menus. An onboarding approach that progressively surfaces shortcuts as users become more familiar with core workflows is more effective than front-loading all shortcuts at first use.

For product managers and designers evaluating whether to invest in keyboard shortcuts, the case is strongest in tools where users perform high-frequency, repeatable actions: editing, navigation, applying formatting, and similar tasks. Adding shortcuts to actions that are rare or non-repeatable has less impact and adds cognitive overhead for users who have to learn which shortcuts exist.

What does a keyboard look like in practice?

On a phone, the keyboard is a component the product summons rather than a device the user owns. Which keyboard appears, and how much of the screen it covers, is decided by the field that requested it.

A numeric keypad on a phone, summoned by an age field asking how old the user is, covering the lower half of the screen

A numeric keypad summoned by an age field: the field's input type decides which keyboard appears, and the open keyboard covers half the screen, which is the layout every mobile form has to be designed around. From the lesson Mobile Navigation and Input Components.

How do virtual keyboards on mobile differ from physical keyboards?

Virtual keyboards on mobile touchscreens present a distinct set of design considerations from physical keyboards.

The most significant is screen real estate. A virtual keyboard on a phone occupies roughly half the screen when open, covering the lower portion of the interface. Form fields, labels, and error messages that appear near the bottom of the screen may be hidden when the keyboard is open, and interfaces that don't account for this behavior can trap users with partially obscured forms. On iOS, the keyboard dismisses on a downward swipe or a tap outside the field; on Android, the back button dismisses it. Designing for the keyboard-open state requires explicitly considering which elements remain visible and accessible.

Mobile keyboards also offer context-specific layouts that physical keyboards don't. Setting inputmode or type attributes on HTML form fields, or the equivalent in native app frameworks, tells the operating system which keyboard variant to show: a numeric keypad for phone number fields, an email-optimized keyboard for email fields, a URL keyboard for web address inputs. Using the wrong keyboard type for a field creates friction: presenting a full QWERTY keyboard to a user entering a 5-digit ZIP code is a small but unnecessary obstacle.

Autocorrect, autocomplete, and predictive text on virtual keyboards reduce typing effort but can introduce unexpected changes to text users have entered. Form fields that contain proper nouns, identifiers, codes, or other text that shouldn't be altered need autocorrect disabled appropriately, since unexpected corrections to passwords, account numbers, or similar inputs are a meaningful usability problem.

Frequently Asked Questions

How should designers handle keyboard focus states?
What should pressing Enter do in a form?
How do keyboard shortcuts interact with browser and OS shortcuts?
What is the role of the keyboard in gaming and specialized contexts?
How should products handle international keyboard input?
Avatars

Join 500,000+ product professionals leveling up with Uxcel

Interactive learning built for busy professionals. Advance your UX design or product management career in just 5 minutes a day.
Icon

Over 60 courses

Icon

Recognized certificates

Icon

Career paths & more

Company logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logoCompany logo
Stars

Successfully transforming people’s careers & lives

4.8/5
Avatars

10,000+ verified public & course reviews

Photo

With Uxcel, I've gained so much confidence talking with clients.

Blake Feldman
Product Designer · 15+ years in design
Photo

Uxcel helped me level up from a junior to a senior designer

Chieri Wada
UX/UI Designer · 8+ years in design
Photo

Uxcel really helped me during my career change.

Ryan Blackwell
UX Designer & Writer · 5+ years in design
Photo

Uxcel is in my browser favorites, I use it for a ton of stuff.

Matt Salik
UX designer · 20+ years in design
Photo

Love the certifications, love the price. Thumbs up Uxcel.

Phil Campbell
Information Architect · 1 year in design