List which icons communicate an action on their own and which sit next to visible labels. That decision controls what assistive technology needs to hear.
Use the SVG URL encoder to turn a small icon into a CSS background image.
Give each action one name
| Pattern | Example |
|---|---|
| Icon-only button | Put aria-label="Close dialog" on the button and hide the decorative SVG from the accessibility tree. |
| Icon and text | A visible “Save” label names the button. Hide the SVG from assistive technology. |
| Informative standalone icon | Provide adjacent visible text or a descriptive accessible name. |
Confirm the implementation
Use the appropriate package in the Iconiverse developer playground, then test the button as a keyboard user. Check focus, hover and disabled states. Verify that color follows the button’s text where your design calls for it, and that toggles expose their state. See the Iconiverse design guide for choosing a consistent icon family before implementation.