Menus: Hide the "Remove selected item" from Menus screen when no item is selected.

This changeset removes the "Remove selected item" from the classic Navigation Menus screen when no item is selected, and makes it non focusable from assistive technologies.

Plus, this changeset fixes a small unrelated coding standard issue in `nav-menus.css`.

Props kebbet, joedolson, audrasjb.
Fixes #56942.


git-svn-id: https://develop.svn.wordpress.org/trunk@55109 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-01-20 22:04:12 +00:00
parent 9705e4e72e
commit d8368e7e0a

View File

@@ -169,7 +169,7 @@ label.bulk-select-button:focus-within {
color: #0a4b78;
}
input.bulk-select-switcher:focus + .bulk-select-button-label{
input.bulk-select-switcher:focus + .bulk-select-button-label {
color: #0a4b78;
}
@@ -191,9 +191,7 @@ input.bulk-select-switcher:focus + .bulk-select-button-label{
}
.bulk-actions input.menu-items-delete.disabled {
cursor: default;
color: #a7aaad;
box-shadow: none;
display: none;
}
.menu-settings {