diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/repo/header.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/issue/navbar.tmpl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/header.tmpl b/templates/repo/header.tmpl index 7a7201eb30..2588243c67 100644 --- a/templates/repo/header.tmpl +++ b/templates/repo/header.tmpl @@ -3,7 +3,7 @@ <div class="ui container"> <div class="repo-header"> <div class="repo-title-wrap df fc"> - <div class="repo-title"> + <div class="repo-title" role="heading" aria-level="1"> {{$avatar := (repoAvatar . 32 "mr-3")}} {{if $avatar}} {{$avatar}} diff --git a/templates/repo/issue/navbar.tmpl b/templates/repo/issue/navbar.tmpl index 1e57679657..fce835d66a 100644 --- a/templates/repo/issue/navbar.tmpl +++ b/templates/repo/issue/navbar.tmpl @@ -1,4 +1,4 @@ -<div class="ui compact left small menu"> +<h2 class="ui compact small menu header"> <a class="{{if .PageIsLabels}}active {{end}}item" href="{{.RepoLink}}/labels">{{.locale.Tr "repo.labels"}}</a> <a class="{{if .PageIsMilestones}}active {{end}}item" href="{{.RepoLink}}/milestones">{{.locale.Tr "repo.milestones"}}</a> -</div> +</h2> |