aboutsummaryrefslogtreecommitdiffstats
path: root/templates/explore
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/explore
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/explore')
-rw-r--r--templates/explore/code.tmpl2
-rw-r--r--templates/explore/organizations.tmpl2
-rw-r--r--templates/explore/repos.tmpl2
-rw-r--r--templates/explore/users.tmpl2
4 files changed, 4 insertions, 4 deletions
diff --git a/templates/explore/code.tmpl b/templates/explore/code.tmpl
index f4e46d1198..924a3e6274 100644
--- a/templates/explore/code.tmpl
+++ b/templates/explore/code.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content explore users">
+<div role="main" aria-label="{{.Title}}" class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "code/searchform" .}}
diff --git a/templates/explore/organizations.tmpl b/templates/explore/organizations.tmpl
index 36267baf33..56c6ee56a0 100644
--- a/templates/explore/organizations.tmpl
+++ b/templates/explore/organizations.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content explore users">
+<div role="main" aria-label="{{.Title}}" class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/search" .}}
diff --git a/templates/explore/repos.tmpl b/templates/explore/repos.tmpl
index 457ad74115..dfede2ffcc 100644
--- a/templates/explore/repos.tmpl
+++ b/templates/explore/repos.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content explore repositories">
+<div role="main" aria-label="{{.Title}}" class="page-content explore repositories">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/repo_search" .}}
diff --git a/templates/explore/users.tmpl b/templates/explore/users.tmpl
index 5fb79c0dd0..336daea7c8 100644
--- a/templates/explore/users.tmpl
+++ b/templates/explore/users.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content explore users">
+<div role="main" aria-label="{{.Title}}" class="page-content explore users">
{{template "explore/navbar" .}}
<div class="ui container">
{{template "explore/search" .}}