Skip to content

Dead Keys Explained, and Why They Look Broken

Published: · 5 min reading time · Updated:

Press the circumflex key on a French AZERTY or German QWERTZ keyboard and nothing appears. Press the letter A straight after it and you get â. The first key was not broken. It was a dead key doing exactly what it was designed to do, and that behaviour is the single most common reason people conclude a working keyboard has a faulty switch.

What a dead key does

A dead key produces no character on its own. It arms a diacritical mark and waits for the next keystroke to decide what to do with it.

Two follow-up cases matter for diagnosis. Pressing space after a dead key prints the bare mark, so circumflex then space gives ^ on its own. Pressing a letter that has no accented form usually prints both characters, so circumflex then s gives ^s. Neither is a fault.

Where dead keys live

On a French AZERTY layout the circumflex and diaeresis share one key to the right of P. Plain press arms the circumflex, Shift arms the diaeresis, which covers every accented vowel French needs beyond é, è and ç.

On a German QWERTZ layout there are two. The caret key at the far top left of the board, left of the digit 1, arms a circumflex. The key to the right of ß arms an acute on a plain press and a grave with Shift. German text needs those marks rarely, which is why many German typists never notice the keys are dead until they try to type a lone accent.

Polish takes the opposite route: the programmer layout most Polish users run has no dead keys at all, because every accented letter is reached by holding AltGr, and this is precisely why it behaves so predictably.

Why a key test can make a dead key look faulty

Browsers report two separate things about every keystroke. The physical position of the key is reported as a code, such as Backquote or BracketRight, and it arrives the moment the switch closes. The character is reported separately, and for a dead key the browser reports the literal value Dead instead of a letter.

So a page that only watches characters sees nothing useful and appears to ignore the key. A page that watches physical positions registers the press immediately and highlights the correct cell. Keys&Type reads the physical position first and the character second, which is why a dead key lights up here even though a text field would stay empty.

The role of AltGr

AltGr is the right Alt key on almost every layout outside the United States, and it opens a third level of characters on keys that already carry two. On a German board it produces @ from Q, € from E and the curly braces from 7, 8, 9 and 0. On a Polish programmer layout it produces ą, ć, ę, ł, ń, ó, ś, ź and ż from the matching base letters.

AltGr also produces dead keys of its own on several layouts, and it is not the same as left Alt. On Windows it behaves as Ctrl plus Alt held together, which is why holding left Ctrl and left Alt can substitute for it, and also why some old software fires an unwanted shortcut when you reach for a brace.

US against US International

The plain US layout has no dead keys whatsoever. Every key prints immediately, and accented letters are unavailable without a character picker.

The United States International layout keeps the same physical positions and turns five punctuation keys into dead keys: apostrophe, quotation mark, grave, tilde and circumflex. The gain is that é, ñ, ü and ô become two-keystroke sequences. The cost catches everyone at least once. Typing an apostrophe inside a contraction now waits for the next letter, so don't comes out as doń unless you press space after the apostrophe or use the variant that keeps punctuation live.

Anyone who suddenly finds their apostrophes and quotation marks misbehaving has almost certainly been switched to this layout, often by an accidental Windows shortcut rather than a deliberate choice.

How to diagnose a suspect key

1. Press the suspect key in the keyboard test. If its cell highlights, the switch and the cable are fine, and the behaviour you are chasing belongs to the layout. 2. Press the key and then space. A bare accent mark proves it is a dead key. 3. Check which layout the operating system has active, and compare the character produced against the layout you believe you are using. 4. If the cell does not highlight at all, the problem is genuinely the key. Clean it, then retest. A dead key stays silent in a text box but never silent in a physical key test.

Punctuation and accents are easier to trust once you have written a passage that leans on them. Aesop's The Milkmaid and Her Pail, in the English wording George Fyler Townsend printed in 1867, opens with an apostrophe inside its very first word and then holds a long quotation, so its 449 characters ask the apostrophe and the double quote to behave in the same run. Robert Browning's April in England, from Home-Thoughts, from Abroad of 1845, fits an apostrophe or a hyphen into almost every line of its 251 characters. George Gordon Byron wrote She walks in beauty for Hebrew Melodies in 1815, and its 441 characters spell mellow'd and o'er in full, so the apostrophe key works on its own rather than inside a contraction. All three are waiting in the typing test, each with its author, year and source on its own page.

Pick a text

Every passage is in the public domain. Author, year and source stand on its page.

The Milkmaid and Her Pail

Aesop · 1867

Townsend calls this fable The Milkmaid and Her Pail, and it is the source of the warning about counting chickens before they hatch. The girl's arithmetic is part of the joke: three hundred eggs, then two hundred and fifty chickens, then the gown. The story is missing from the oldest Greek collections and reached Europe through medieval Latin and French retellings. Jean de La Fontaine put it into verse in 1678 as La Laitière et le Pot au lait.

Type this text

Home-Thoughts, from Abroad, April in England

Robert Browning · 1845

Robert Browning printed this poem in 1845 in Bells and Pomegranates, the cheap pamphlet series in which most of his early work appeared. He wrote it while travelling in Italy, which is why the title says abroad. The poem became one of the most quoted pictures of the English spring. Wikisource carries the 1845 printing.

Type this text

She walks in beauty, like the night

George Gordon Byron · 1815

Byron wrote this lyric for Hebrew Melodies, published in 1815 with musical settings by Isaac Nathan. The poems were meant to be sung, which explains the short regular stanzas. The section numbers printed between the stanzas belong to that first edition. Wikisource carries the 1815 text.

Type this text

More from the blog

The US International Layout, and Its Five Dead Keys

US International trades five punctuation marks for accents. The dead key pairs, the space bar escape, and when plain US is better.

Read the article

Dvorak and Colemak Compared With QWERTY

Colemak changes 17 keys from QWERTY, Dvorak rearranges nearly all. Home row contents, relearning cost, and when neither layout is worth it.

Read the article

How to Change and Check the Keyboard Layout in Windows

Two shortcuts change the layout in Windows, and one fires by accident. How to add, remove and confirm a layout before blaming the hardware.

Read the article

ISO vs ANSI Keyboard Layout Differences Explained

Enter shape, left Shift width, one extra key and the backslash position: 105 keys against 104, and what that costs at the keycap shop.

Read the article

Tools

Keyboard test

Press a key and watch it light up. It shows keys that stay silent, keys that fire twice, and how many keys your board reads at once.

Check your keyboard

Typing test

A hundred short texts, from Aesop to the US Constitution. You get speed, accuracy and a map of the keys you keep missing.

Measure your speed