diff options
author | Felipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com> | 2023-02-01 19:56:10 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 22:56:10 +0000 |
commit | 15c035775a9684cf409ec8bf8a082ae5293a03ab (patch) | |
tree | e9a015b3c435c72acf3d068db0f826d3aeedef6e /templates/projects | |
parent | 1e0e79dcbfb21971ac4cd591585672517117d4f0 (diff) | |
download | gitea-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/projects')
-rw-r--r-- | templates/projects/list.tmpl | 2 | ||||
-rw-r--r-- | templates/projects/new.tmpl | 2 | ||||
-rw-r--r-- | templates/projects/view.tmpl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/templates/projects/list.tmpl b/templates/projects/list.tmpl index ae2eaec6ea..21a3350a75 100644 --- a/templates/projects/list.tmpl +++ b/templates/projects/list.tmpl @@ -1,4 +1,4 @@ -<div class="page-content repository projects"> +<div role="main" aria-label="{{.Title}}" class="page-content repository projects"> <div class="ui container"> {{if .CanWriteProjects}} <div class="navbar"> diff --git a/templates/projects/new.tmpl b/templates/projects/new.tmpl index 1069102792..04192c64c2 100644 --- a/templates/projects/new.tmpl +++ b/templates/projects/new.tmpl @@ -1,4 +1,4 @@ -<div class="page-content repository projects edit-project new milestone"> +<div role="main" aria-label="{{.Title}}" class="page-content repository projects edit-project new milestone"> <div class="ui container"> <div class="navbar"> {{if and .CanWriteProjects .PageIsEditProject}} diff --git a/templates/projects/view.tmpl b/templates/projects/view.tmpl index ac72acb82b..42eb578074 100644 --- a/templates/projects/view.tmpl +++ b/templates/projects/view.tmpl @@ -1,4 +1,4 @@ -<div class="page-content repository projects view-project"> +<div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project"> <div class="ui container"> <div class="ui two column stackable grid"> <div class="column"> |