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/settings | |
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/settings')
-rw-r--r-- | templates/repo/settings/branches.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/collaboration.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/deploy_keys.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/githook_edit.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/githooks.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs_file.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs_file_find.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs_locks.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/lfs_pointers.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/options.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/protected_branch.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/tags.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/webhook/base.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/settings/webhook/new.tmpl | 2 |
15 files changed, 15 insertions, 15 deletions
diff --git a/templates/repo/settings/branches.tmpl b/templates/repo/settings/branches.tmpl index ad3b3275e8..f7127fd793 100644 --- a/templates/repo/settings/branches.tmpl +++ b/templates/repo/settings/branches.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings edit"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings edit"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/collaboration.tmpl b/templates/repo/settings/collaboration.tmpl index 2f932b4c39..1d0c660367 100644 --- a/templates/repo/settings/collaboration.tmpl +++ b/templates/repo/settings/collaboration.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings collaboration"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings collaboration"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/deploy_keys.tmpl b/templates/repo/settings/deploy_keys.tmpl index 44c916eefb..ff9628d350 100644 --- a/templates/repo/settings/deploy_keys.tmpl +++ b/templates/repo/settings/deploy_keys.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/githook_edit.tmpl b/templates/repo/settings/githook_edit.tmpl index 69421d2cb0..a4f8778225 100644 --- a/templates/repo/settings/githook_edit.tmpl +++ b/templates/repo/settings/githook_edit.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings edit githook"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings edit githook"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/githooks.tmpl b/templates/repo/settings/githooks.tmpl index 9fa396c8d5..81d61fcd16 100644 --- a/templates/repo/settings/githooks.tmpl +++ b/templates/repo/settings/githooks.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings githooks"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings githooks"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/lfs.tmpl b/templates/repo/settings/lfs.tmpl index 405fc624be..566a701efb 100644 --- a/templates/repo/settings/lfs.tmpl +++ b/templates/repo/settings/lfs.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings lfs"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings lfs"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/lfs_file.tmpl b/templates/repo/settings/lfs_file.tmpl index 6d20aaddef..eb67de20a0 100644 --- a/templates/repo/settings/lfs_file.tmpl +++ b/templates/repo/settings/lfs_file.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings lfs"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings lfs"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container repository file list"> diff --git a/templates/repo/settings/lfs_file_find.tmpl b/templates/repo/settings/lfs_file_find.tmpl index fb0ad98667..d5983ca1cc 100644 --- a/templates/repo/settings/lfs_file_find.tmpl +++ b/templates/repo/settings/lfs_file_find.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings lfs"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings lfs"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container repository file list"> diff --git a/templates/repo/settings/lfs_locks.tmpl b/templates/repo/settings/lfs_locks.tmpl index 26d5688106..73bfe08ada 100644 --- a/templates/repo/settings/lfs_locks.tmpl +++ b/templates/repo/settings/lfs_locks.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings lfs"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings lfs"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container repository file list"> diff --git a/templates/repo/settings/lfs_pointers.tmpl b/templates/repo/settings/lfs_pointers.tmpl index 07633e3342..8eebc6e870 100644 --- a/templates/repo/settings/lfs_pointers.tmpl +++ b/templates/repo/settings/lfs_pointers.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings lfs"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings lfs"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/options.tmpl b/templates/repo/settings/options.tmpl index 0383364279..cc298ddd84 100644 --- a/templates/repo/settings/options.tmpl +++ b/templates/repo/settings/options.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings options"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings options"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/protected_branch.tmpl b/templates/repo/settings/protected_branch.tmpl index 7a4405efb7..030b9d0256 100644 --- a/templates/repo/settings/protected_branch.tmpl +++ b/templates/repo/settings/protected_branch.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings branches"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings branches"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/tags.tmpl b/templates/repo/settings/tags.tmpl index 56ce278e58..1b2d6f7c88 100644 --- a/templates/repo/settings/tags.tmpl +++ b/templates/repo/settings/tags.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings edit"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings edit"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/webhook/base.tmpl b/templates/repo/settings/webhook/base.tmpl index a9404790dc..442434007d 100644 --- a/templates/repo/settings/webhook/base.tmpl +++ b/templates/repo/settings/webhook/base.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings webhooks"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings webhooks"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> diff --git a/templates/repo/settings/webhook/new.tmpl b/templates/repo/settings/webhook/new.tmpl index 2722e099be..5102390db9 100644 --- a/templates/repo/settings/webhook/new.tmpl +++ b/templates/repo/settings/webhook/new.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository settings new webhook"> +<div role="main" aria-label="{{.Title}}" class="page-content repository settings new webhook"> {{template "repo/header" .}} {{template "repo/settings/navbar" .}} <div class="ui container"> |