mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Admin menu: improve accessibility when collapsed.
Props afercia. Fixes #32346. git-svn-id: https://develop.svn.wordpress.org/trunk@32946 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -157,7 +157,7 @@ function _wp_menu_output( $menu, $submenu, $submenu_as_parent = true ) {
|
||||
|
||||
if ( ! empty( $submenu_items ) ) {
|
||||
echo "\n\t<ul class='wp-submenu wp-submenu-wrap'>";
|
||||
echo "<li class='wp-submenu-head'>{$item[0]}</li>";
|
||||
echo "<li class='wp-submenu-head' aria-hidden='true'>{$item[0]}</li>";
|
||||
|
||||
$first = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user