You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Navigation item with sub menu is missing wp-block-navigation-item__label span #57099
Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Block] NavigationAffects the Navigation Block[Type] BugAn existing feature does not function as intended
If a navigation item has a submenu, the item itself is missing the <span class="wp-block-navigation-item__label"> around the navigation item text, which makes it harder to style it.
Step-by-step reproduction instructions
Add a navigation block
Add a navigation item to this block
Add a second navigation item to this block
Add a submenu item to the second navigation block
Check the source code
Screenshots, screen recording, code snippet
Environment info
– WordPress 6.4
– No Gutenberg plugin
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Good First IssueAn issue that's suitable for someone looking to contribute for the first time[Block] NavigationAffects the Navigation Block[Type] BugAn existing feature does not function as intended
Activity
getdave commentedon Nov 20, 2024
The submenu block should reflect the same markup as the
core/navigation-link. This needs a fix.yogendradayal commentedon Jul 19, 2025
I'd like to work on this issue. Could you confirm if this still needs fixing and whether my approach below makes sense?
MatzeKitt commentedon Jul 21, 2025
It looks to me that this has been fixed within #67198. At least, my workaround is no more necessary.