<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw" -->

---
title: Replacing Dashicons in the admin bar and menu | daily.dev
description: WordPress core is replacing Dashicons, the icon font used in the admin bar and sidebar, with SVG icons rendered via the wp_get_icon() function introduced in...
canonical: https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Replacing Dashicons in the admin bar and menu | daily.dev
og:description: WordPress core is replacing Dashicons, the icon font used in the admin bar and sidebar, with SVG icons rendered via the wp_get_icon() function introduced in...
og:url: https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw
og:image: https://api.daily.dev/og/posts/PcbeYaVXw.png
og:image:alt: Replacing Dashicons in the admin bar and menu
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Replacing Dashicons in the admin bar and menu

**[Make WordPress Core](https://daily.dev/sources/wordpresscore)** · 2 min read · 11 upvotes · 0 comments

## Summary

WordPress core is replacing Dashicons, the icon font used in the admin bar and sidebar, with SVG icons rendered via the wp_get_icon() function introduced in WordPress 7.1. The change addresses accessibility issues inherent to icon fonts: unpredictable screen reader announcements, breakage under forced-colours/high-contrast modes, and confusing failure states when webfonts don't load. Open questions remain about specific icon choices, such as the search icon's orientation and the Posts icon design, with feedback being collected on the Trac ticket and an open pull request.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://make.wordpress.org/core/2026/09/04/replacing-dashicons-in-the-admin-bar-and-menu>

## Questions this post answers

### Why is WordPress replacing Dashicons with SVG icons in the admin bar and menu?

Dashicons is an icon font, and icon fonts have accessibility drawbacks: screen readers announce the Unicode private-use-area glyphs inconsistently, forced-colours modes like Windows High Contrast can make font-based icons vanish or misrender, and failed font loads leave visible garbage like tofu boxes. SVG icons drawn with currentColor and explicit aria-labels avoid all three problems, using the wp_get_icon() function introduced in WordPress 7.1.

_daily.dev surfaces WordPress core changes like this for teams tracking admin UI accessibility work._

### What function does WordPress use to render the new SVG icons replacing Dashicons?

WordPress uses the wp_get_icon() function, introduced in WordPress 7.1, to render the new SVG icons that are replacing Dashicons in the admin bar and sidebar menu. A patch implementing this replacement has been in progress since June, with the pull request open for code review and discussion tracked on a Trac ticket.

_developers upgrading WordPress admin UI can follow daily.dev for core function changes like wp_get_icon()._

## Similar posts on daily.dev

- [SVG icons in the admin bar and menu in WordPress 7.2](https://daily.dev/posts/svg-icons-in-the-admin-bar-and-menu-in-wordpress-7-2-wmteol4im) · Make WordPress Core · 2 upvotes · 0 comments
- [Registering and rendering SVG icons in WordPress 7.1](https://daily.dev/posts/registering-and-rendering-svg-icons-in-wordpress-7-1-5vc0sqsrb) · Make WordPress Core · 9 upvotes · 3 comments
- [Call for feedback: the W and the site name in the Toolbar](https://daily.dev/posts/call-for-feedback-the-w-and-the-site-name-in-the-toolbar-0swhwrnar) · Make WordPress Core · 0 upvotes · 1 comments

---

Tags: [#wordpress](https://daily.dev/tags/wordpress), [#ui-design](https://daily.dev/tags/ui-design), [#accessibility](https://daily.dev/tags/accessibility), [#svg](https://daily.dev/tags/svg)

[View this post on daily.dev](https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Replacing Dashicons in the admin bar and menu","url":"https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw"},"datePublished":"2026-09-04T07:11:18.805Z","dateModified":"2026-09-13T19:34:56.425Z","description":"WordPress core is replacing Dashicons, the icon font used in the admin bar and sidebar, with SVG icons rendered via the wp_get_icon() function introduced in...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/07a6072aa4bfbc5ca550fcd0438535b3?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/07a6072aa4bfbc5ca550fcd0438535b3?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Make WordPress Core","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Make WordPress Core","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/892d1a79e30e4e8a911b5726c6fb1a06","url":"https://daily.dev/sources/wordpresscore"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":11},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"wordpress,ui-design,accessibility,svg","timeRequired":"PT2M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Make WordPress Core","item":"https://daily.dev/sources/wordpresscore"},{"@type":"ListItem","position":3,"name":"Replacing Dashicons in the admin bar and menu"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/replacing-dashicons-in-the-admin-bar-and-menu-pcbeyavxw#faq","mainEntity":[{"@type":"Question","name":"Why is WordPress replacing Dashicons with SVG icons in the admin bar and menu?","acceptedAnswer":{"@type":"Answer","text":"Dashicons is an icon font, and icon fonts have accessibility drawbacks: screen readers announce the Unicode private-use-area glyphs inconsistently, forced-colours modes like Windows High Contrast can make font-based icons vanish or misrender, and failed font loads leave visible garbage like tofu boxes. SVG icons drawn with currentColor and explicit aria-labels avoid all three problems, using the wp_get_icon() function introduced in WordPress 7.1. daily.dev surfaces WordPress core changes like this for teams tracking admin UI accessibility work."}},{"@type":"Question","name":"What function does WordPress use to render the new SVG icons replacing Dashicons?","acceptedAnswer":{"@type":"Answer","text":"WordPress uses the wp_get_icon() function, introduced in WordPress 7.1, to render the new SVG icons that are replacing Dashicons in the admin bar and sidebar menu. A patch implementing this replacement has been in progress since June, with the pull request open for code review and discussion tracked on a Trac ticket. developers upgrading WordPress admin UI can follow daily.dev for core function changes like wp_get_icon()."}}]}
```

