Followup from #3615331: Invalid ARIA attribute aria-toolbar-link__labelledby on toolbar menus strips their accessible name.
We need to see if menu-region--middle.html.twig and menu-region--top.html.twig are ever in use. If not, we can remove them
Issue fork drupal-3619804
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
f0ns commentedThey seem to be unused.
All three came in with the Gin merge (
9fc3187d, #3556948) and were never wired up:default_admindeclares nohook_theme(), and itshook_theme_registry_alter()repoints onlytoolbarandmenu__toolbarattemplates/navigation.The navigation module's
hook_theme()registerstop_bar*,block__navigation,navigation_menu,navigation_content_topandnavigation__messages— nomenu_regionbase hook, so there's nothing formenu-region--top/middle/bottomto attach to.Nothing includes them from Twig either.
Worth adding
menu-region--bottom.html.twigto the scope, looks like that is the same situation.Comment #3
f0ns commentedComment #4
smustgrave commentedCan we update the issue summary to still follow the standard issue template please. To include your findings.
Since they're not used probably safe to go ahead and remove them.
Comment #7
longwaveLooks like these two are also unused?
Comment #8
longwave