mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
[#70573] Fix invalid HTML in top menu: use <nav>
Uses a semantic navigation section element. https://community.openproject.org/work_packages/70573
This commit is contained in:
@@ -36,7 +36,7 @@ module Redmine::MenuManager::TopMenuHelper
|
||||
include Redmine::MenuManager::TopMenu::ModuleMenu
|
||||
|
||||
def render_top_menu_left
|
||||
content_tag :ul, class: "op-app-menu op-app-menu_drop-left" do
|
||||
tag.nav class: "op-app-menu op-app-menu_drop-left" do
|
||||
safe_join top_menu_left_menu_items
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user