Styla saysIcon fonts and (better) inline SVG provide scalable icons styled with CSS.
Icon fonts map glyphs to characters so icons inherit color and font-size like text. They're easy but have accessibility quirks. The modern preference is inline SVG icons — crisp, styleable with fill, and no extra font request. Lean SVG for new work.
Power-ups you unlock
Icon fonts: glyphs sized/colored like text
Inline SVG: crisp, styleable via fill, accessible
SVG avoids an extra font download
Add aria-hidden or a label for icon meaning
The Specificity Sphinx attacks — common mistakes
Icon fonts read as random glyphs by screen readers
Forgetting aria-hidden on decorative icons
Loading a 1000-icon font for three icons
Boss battleDrop in an inline SVG icon, color it with CSS fill, and size it.