diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2022-06-14 02:46:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-13 14:46:39 -0400 |
commit | 0d7eda511f57a5327706129f9fc25a3fa5c1a898 (patch) | |
tree | ca87af863514215c469067383a27bb40be1a2133 /templates | |
parent | ff82a1831521bb2a9d91884eb2bc426a6403b0ed (diff) | |
download | gitea-0d7eda511f57a5327706129f9fc25a3fa5c1a898.tar.gz gitea-0d7eda511f57a5327706129f9fc25a3fa5c1a898.zip |
Fix aria for logo (#19955)
Co-authored-by: 6543 <6543@obermui.de>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/base/head_navbar.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/base/head_navbar.tmpl b/templates/base/head_navbar.tmpl index 37a579142c..fab1d2d0b1 100644 --- a/templates/base/head_navbar.tmpl +++ b/templates/base/head_navbar.tmpl @@ -1,7 +1,7 @@ <div class="ui container" id="navbar"> <div class="item brand" style="justify-content: space-between;"> - <a href="{{AppSubUrl}}/" data-content="{{if .IsSigned}}{{.i18n.Tr "dashboard"}}{{else}}{{.i18n.Tr "home"}}{{end}}"> - <img class="ui mini image" width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.i18n.Tr "logo"}}"> + <a href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{.i18n.Tr "dashboard"}}{{else}}{{.i18n.Tr "home"}}{{end}}"> + <img class="ui mini image" width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.svg" alt="{{.i18n.Tr "logo"}}" aria-hidden="true"> </a> <div class="ui basic icon button mobile-only" id="navbar-expand-toggle"> <i class="sidebar icon"></i> |