Design glossaryAn ascender is the part of a lowercase letter that rises above the x-height, as in b, d, h, k, and l.
An ascender is the stroke that climbs above the main body of a lowercase letter. Compare the letters a, c, and e, which sit entirely within the x-height, with b, d, f, h, k, and l, whose stems rise above it. The opposite part, the stroke that drops below the baseline in g, j, p, q, and y, is a descender.
The top of the tallest ascenders defines the ascender line. In many typefaces it sits a little above the cap height, so a lowercase h stands slightly taller than a capital H. The letter t usually has a short ascender that stops below the others.
Why it matters
Ascenders and descenders make letters easier to tell apart: b, d, h, and l differ from n, a, and o partly by how far they rise. Typefaces with very short ascenders and a large x-height look big and open at small sizes, which suits interfaces and body text. Long, elegant ascenders read as more classical and suit headings, books, and editorial design.
Ascender length also affects spacing. Tall ascenders and long descenders need more leading, or the strokes on one line start to crowd the line above.
Ascenders on the web
Every font file also stores an "ascent" metric, which is not quite the same thing as the drawn ascenders. It tells the browser how much room to reserve above the baseline, including space for accents on capitals. Because fonts set these metrics differently, two fonts at the same size and line-height can sit at different heights in a button or a heading.
This is why swapping a fallback font for a web font can nudge text and cause layout shift. The CSS @font-face descriptors ascent-override, descent-override, and size-adjust let you match a fallback font's metrics to the web font, so text barely moves when the real font loads.
Source: MDN, ascent-override.