diff --git a/src/wp-admin/css/customize-nav-menus.css b/src/wp-admin/css/customize-nav-menus.css
index 7136825b56..a0b7909023 100644
--- a/src/wp-admin/css/customize-nav-menus.css
+++ b/src/wp-admin/css/customize-nav-menus.css
@@ -214,10 +214,8 @@
width: 30px;
height: 38px;
margin-right: 0 !important;
- text-indent: 100%;
outline: none;
overflow: hidden;
- white-space: nowrap;
cursor: pointer;
}
@@ -227,35 +225,25 @@
box-shadow: 0 0 0 1px #5b9dd9, 0 0 2px 1px rgba(30, 140, 190, .8);
}
-/* Duplicates `.nav-menus-php .item-edit:before {}` in common.css:2220. */
-.wp-customizer .menu-item .item-edit:before {
- top: -1px;
- right: 0;
+/* rework the arrow indicator implementation for NVDA bug same as #32715 */
+.wp-customizer .menu-item .item-edit .toggle-indicator {
+ display: inline-block;
+ font-size: 20px;
+ line-height: 1;
+}
+
+.wp-customizer .menu-item .item-edit .toggle-indicator:after {
content: '\f140';
- border: none;
- background: none;
font: normal 20px/1 dashicons;
+ color: #a0a5aa;
+ vertical-align: top;
speak: none;
- display: block;
- padding: 0;
- text-indent: 0;
- text-align: center;
- position: relative;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-decoration: none !important;
}
-.wp-customizer .menu-item.menu-item-edit-active .item-edit:before {
- content: '\f142';
-}
-
-.wp-customizer .menu-item .item-edit:before {
- line-height: 2;
-}
-
-/* Duplicates `.nav-menus-php .menu-item-edit-active .item-edit:before {}` in common.css:2271. */
-.wp-customizer .menu-item .menu-item-edit-active .item-edit:before {
+.wp-customizer .menu-item.menu-item-edit-active .item-edit .toggle-indicator:after {
content: '\f142';
}
diff --git a/src/wp-admin/js/customize-nav-menus.js b/src/wp-admin/js/customize-nav-menus.js
index 7d5e054cfb..3734a79b99 100644
--- a/src/wp-admin/js/customize-nav-menus.js
+++ b/src/wp-admin/js/customize-nav-menus.js
@@ -1364,6 +1364,7 @@
self.container.trigger( 'expanded' );
};
+ $menuitem.find( '.item-edit' ).attr( 'aria-expanded', 'true' );
$inside.slideDown( 'fast', complete );
self.container.trigger( 'expand' );
@@ -1377,6 +1378,7 @@
self.container.trigger( 'collapse' );
+ $menuitem.find( '.item-edit' ).attr( 'aria-expanded', 'false' );
$inside.slideUp( 'fast', complete );
}
},
diff --git a/src/wp-includes/class-wp-customize-control.php b/src/wp-includes/class-wp-customize-control.php
index 45904bff43..31ff482074 100644
--- a/src/wp-includes/class-wp-customize-control.php
+++ b/src/wp-includes/class-wp-customize-control.php
@@ -1685,10 +1685,10 @@ class WP_Customize_Nav_Menu_Item_Control extends WP_Customize_Control {
-
+ ?>