summaryrefslogtreecommitdiff
path: root/internal/template
diff options
context:
space:
mode:
Diffstat (limited to 'internal/template')
-rw-r--r--internal/template/templates/common/feed_menu.html4
-rw-r--r--internal/template/templates/common/settings_menu.html44
2 files changed, 25 insertions, 23 deletions
diff --git a/internal/template/templates/common/feed_menu.html b/internal/template/templates/common/feed_menu.html
index bbbdcf04..c0b96a42 100644
--- a/internal/template/templates/common/feed_menu.html
+++ b/internal/template/templates/common/feed_menu.html
@@ -1,5 +1,5 @@
{{ define "feed_menu" }}
-<ul>
+<nav aria-label="{{ t "page.feeds.title" }} {{ t "menu.title" }}"><ul>
<li>
<a href="{{ route "feeds" }}">{{ icon "feeds" }}{{ t "menu.feeds" }}</a>
</li>
@@ -15,5 +15,5 @@
<li>
<a href="{{ route "refreshAllFeeds" }}">{{ icon "refresh" }}{{ t "menu.refresh_all_feeds" }}</a>
</li>
-</ul>
+</ul></nav>
{{ end }}
diff --git a/internal/template/templates/common/settings_menu.html b/internal/template/templates/common/settings_menu.html
index a664f3f8..1118483a 100644
--- a/internal/template/templates/common/settings_menu.html
+++ b/internal/template/templates/common/settings_menu.html
@@ -1,24 +1,26 @@
{{ define "settings_menu" }}
-<ul>
- <li>
- <a href="{{ route "settings" }}">{{ icon "settings" }}{{ t "menu.settings" }}</a>
- </li>
- <li>
- <a href="{{ route "integrations" }}">{{ icon "third-party-services" }}{{ t "menu.integrations" }}</a>
- </li>
- <li>
- <a href="{{ route "apiKeys" }}">{{ icon "api" }}{{ t "menu.api_keys" }}</a>
- </li>
- <li>
- <a href="{{ route "sessions" }}">{{ icon "sessions" }}{{ t "menu.sessions" }}</a>
- </li>
- {{ if .user.IsAdmin }}
+<nav aria-label="{{ t "page.settings.title" }} {{ t "menu.title" }}">
+ <ul>
<li>
- <a href="{{ route "users" }}">{{ icon "users" }}{{ t "menu.users" }}</a>
+ <a href="{{ route "settings" }}">{{ icon "settings" }}{{ t "menu.settings" }}</a>
</li>
- {{ end }}
- <li>
- <a href="{{ route "about" }}">{{ icon "about" }}{{ t "menu.about" }}</a>
- </li>
-</ul>
-{{ end }} \ No newline at end of file
+ <li>
+ <a href="{{ route "integrations" }}">{{ icon "third-party-services" }}{{ t "menu.integrations" }}</a>
+ </li>
+ <li>
+ <a href="{{ route "apiKeys" }}">{{ icon "api" }}{{ t "menu.api_keys" }}</a>
+ </li>
+ <li>
+ <a href="{{ route "sessions" }}">{{ icon "sessions" }}{{ t "menu.sessions" }}</a>
+ </li>
+ {{ if .user.IsAdmin }}
+ <li>
+ <a href="{{ route "users" }}">{{ icon "users" }}{{ t "menu.users" }}</a>
+ </li>
+ {{ end }}
+ <li>
+ <a href="{{ route "about" }}">{{ icon "about" }}{{ t "menu.about" }}</a>
+ </li>
+ </ul>
+</nav>
+{{ end }}