The Role of Iconography in Web Design

How to Use Icons in Web Design

Icons can make a menu or toolbar quicker to scan, especially when the same actions recur. Their meaning depends on context. A heart could save an item or mark it as a favourite, while an unfamiliar symbol may need a visible label before people know what it does.

Pair icons with words where meaning matters

Use short labels for primary actions such as “Request a quote” and “Save item”. Keep the same icon for the same action across the site. When a button already has visible text, treat the icon as decorative so assistive technology avoids announcing the same idea twice.

Give icon-only controls a usable name

Use a real button for an action and a link for navigation. For a standalone icon button, supply an accessible name that describes its action, such as “Close menu”. Give it a visible focus state and enough room to tap without hitting a neighbouring control. Check contrast against the background in both normal and hover states.

Test the unfamiliar icons first

Ask someone to use the control without explaining it. Then complete the same task with a keyboard and check what a screen reader announces. A decorative flourish should stay out of that reading order. A meaningful status icon should also have text so its message does not depend on colour or shape.

W3C guidance on functional images