diff --git a/core/modules/toolbar/css/toolbar.theme.css b/core/modules/toolbar/css/toolbar.theme.css
index 0416c056adb9ba321055c16a1c0997a1a9feb220..bdc6c3f18309d3d576a68836ecc24912eea55959 100644
--- a/core/modules/toolbar/css/toolbar.theme.css
+++ b/core/modules/toolbar/css/toolbar.theme.css
@@ -85,7 +85,8 @@
 .toolbar .toolbar-tray-horizontal .toolbar-tray {
   background-color: #f5f5f5;
 }
-.toolbar-tray a {
+.toolbar-tray a,
+.toolbar-tray a:visited {
   padding: 1em 1.3333em;
   cursor: pointer;
   text-decoration: none;
diff --git a/core/themes/claro/css/theme/toolbar.theme.css b/core/themes/claro/css/theme/toolbar.theme.css
index 3fc152aeea2e0f58dffd608b64b27e3d2c26cb14..87342e4b8be5cb50521bbb0748ded53b1095277a 100644
--- a/core/themes/claro/css/theme/toolbar.theme.css
+++ b/core/themes/claro/css/theme/toolbar.theme.css
@@ -90,7 +90,8 @@
 .toolbar .toolbar-tray-horizontal .toolbar-tray {
   background-color: #f5f5f5;
 }
-.toolbar-tray a {
+.toolbar-tray a,
+.toolbar-tray a:visited {
   padding: 1em 1.3333em;
   cursor: pointer;
   text-decoration: none;
diff --git a/core/themes/claro/css/theme/toolbar.theme.pcss.css b/core/themes/claro/css/theme/toolbar.theme.pcss.css
index 578d98eeb0067efeb4a10521b41d67913dd91943..d7986a07a2b5e5bd943a5f04e17d45e9b3ab5658 100644
--- a/core/themes/claro/css/theme/toolbar.theme.pcss.css
+++ b/core/themes/claro/css/theme/toolbar.theme.pcss.css
@@ -88,7 +88,8 @@
 .toolbar .toolbar-tray-horizontal .toolbar-tray {
   background-color: #f5f5f5;
 }
-.toolbar-tray a {
+.toolbar-tray a,
+.toolbar-tray a:visited {
   padding: 1em 1.3333em;
   cursor: pointer;
   text-decoration: none;
diff --git a/core/themes/stable9/css/toolbar/toolbar.theme.css b/core/themes/stable9/css/toolbar/toolbar.theme.css
index 0416c056adb9ba321055c16a1c0997a1a9feb220..bdc6c3f18309d3d576a68836ecc24912eea55959 100644
--- a/core/themes/stable9/css/toolbar/toolbar.theme.css
+++ b/core/themes/stable9/css/toolbar/toolbar.theme.css
@@ -85,7 +85,8 @@
 .toolbar .toolbar-tray-horizontal .toolbar-tray {
   background-color: #f5f5f5;
 }
-.toolbar-tray a {
+.toolbar-tray a,
+.toolbar-tray a:visited {
   padding: 1em 1.3333em;
   cursor: pointer;
   text-decoration: none;