aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/header.tmpl
diff options
context:
space:
mode:
authorFelipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com>2023-02-12 09:20:12 -0300
committerGitHub <noreply@github.com>2023-02-12 20:20:12 +0800
commitc8093a13ff89834d587556a292c4c8cbfdb700a5 (patch)
tree8ffd7081b62241780364129b634f2ace0cdf9a75 /templates/repo/header.tmpl
parenta3546369661bf4073ae748a501840fbd05fef02b (diff)
downloadgitea-c8093a13ff89834d587556a292c4c8cbfdb700a5.tar.gz
gitea-c8093a13ff89834d587556a292c4c8cbfdb700a5.zip
Add some headings to repo views (#22869)
* Add role heading level 1 to username/repo title. * Copy behaviour of Releases to some other views. Contributed by @Forgejo. ![Screenshot with h2](https://user-images.githubusercontent.com/5055343/218287363-dfae9ab2-7297-4367-ab64-ab141506e131.png) ![Screenshot with former div](https://user-images.githubusercontent.com/5055343/218287419-77d0ed56-935d-492f-b3ed-71051d169ba8.png) Co-authored-by: delvh <leon@kske.dev> Co-authored-by: zeripath <art27@cantab.net> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'templates/repo/header.tmpl')
-rw-r--r--templates/repo/header.tmpl2
1 files changed, 1 insertions, 1 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}}