summaryrefslogtreecommitdiffstats
path: root/templates/repo/graph.tmpl
diff options
context:
space:
mode:
authorFelipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com>2023-02-01 19:56:10 -0300
committerGitHub <noreply@github.com>2023-02-01 22:56:10 +0000
commit15c035775a9684cf409ec8bf8a082ae5293a03ab (patch)
treee9a015b3c435c72acf3d068db0f826d3aeedef6e /templates/repo/graph.tmpl
parent1e0e79dcbfb21971ac4cd591585672517117d4f0 (diff)
downloadgitea-15c035775a9684cf409ec8bf8a082ae5293a03ab.tar.gz
gitea-15c035775a9684cf409ec8bf8a082ae5293a03ab.zip
Add main landmark to templates and adjust titles (#22670)
* Add main aria landmark to templates * Adjust some titles to improve understanding of location in navigation Contributed by @Forgejo
Diffstat (limited to 'templates/repo/graph.tmpl')
-rw-r--r--templates/repo/graph.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/graph.tmpl b/templates/repo/graph.tmpl
index 7efd6ec023..52c013a5d1 100644
--- a/templates/repo/graph.tmpl
+++ b/templates/repo/graph.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content repository commits">
+<div role="main" aria-label="{{.Title}}" class="page-content repository commits">
{{template "repo/header" .}}
<div class="ui container">
<div id="git-graph-container" class="ui segment{{if eq .Mode "monochrome"}} monochrome{{end}}">