aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/auth
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/admin/auth
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/admin/auth')
-rw-r--r--templates/admin/auth/edit.tmpl2
-rw-r--r--templates/admin/auth/list.tmpl2
-rw-r--r--templates/admin/auth/new.tmpl2
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/admin/auth/edit.tmpl b/templates/admin/auth/edit.tmpl
index bf9d53152c..91e4b1df52 100644
--- a/templates/admin/auth/edit.tmpl
+++ b/templates/admin/auth/edit.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content admin edit authentication">
+<div role="main" aria-label="{{.Title}}" class="page-content admin edit authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}
diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl
index c43287ee1a..afe814cc6c 100644
--- a/templates/admin/auth/list.tmpl
+++ b/templates/admin/auth/list.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content admin authentication">
+<div role="main" aria-label="{{.Title}}" class="page-content admin authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 213c621b42..ab84dfccaf 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -1,5 +1,5 @@
{{template "base/head" .}}
-<div class="page-content admin new authentication">
+<div role="main" aria-label="{{.Title}}" class="page-content admin new authentication">
{{template "admin/navbar" .}}
<div class="ui container">
{{template "base/alert" .}}