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/repo/release | |
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/repo/release')
-rw-r--r-- | templates/repo/release/list.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/release/new.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/repo/release/list.tmpl b/templates/repo/release/list.tmpl index 9f4104bec5..f38106cfdf 100644 --- a/templates/repo/release/list.tmpl +++ b/templates/repo/release/list.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository release"> +<div role="main" aria-label="{{.Title}}" class="page-content repository release"> {{template "repo/header" .}} <div class="ui container"> {{template "base/alert" .}} diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl index 1781a36cfc..b4b7186a9a 100644 --- a/templates/repo/release/new.tmpl +++ b/templates/repo/release/new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new release"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new release"> {{template "repo/header" .}} <div class="ui container"> <h2 class="ui dividing header"> |