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/migrate | |
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/migrate')
-rw-r--r-- | templates/repo/migrate/codebase.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/git.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/gitbucket.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/gitea.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/github.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/gitlab.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/gogs.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/migrate.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/migrating.tmpl | 2 | ||||
-rw-r--r-- | templates/repo/migrate/onedev.tmpl | 2 |
10 files changed, 10 insertions, 10 deletions
diff --git a/templates/repo/migrate/codebase.tmpl b/templates/repo/migrate/codebase.tmpl index 0f9b377f21..e20bd70e71 100644 --- a/templates/repo/migrate/codebase.tmpl +++ b/templates/repo/migrate/codebase.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/git.tmpl b/templates/repo/migrate/git.tmpl index 1ef031ee1f..0757948a6c 100644 --- a/templates/repo/migrate/git.tmpl +++ b/templates/repo/migrate/git.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/gitbucket.tmpl b/templates/repo/migrate/gitbucket.tmpl index 5e6b3b4528..020115be6c 100644 --- a/templates/repo/migrate/gitbucket.tmpl +++ b/templates/repo/migrate/gitbucket.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/gitea.tmpl b/templates/repo/migrate/gitea.tmpl index f56f9df5ec..ef28e15ee5 100644 --- a/templates/repo/migrate/gitea.tmpl +++ b/templates/repo/migrate/gitea.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/github.tmpl b/templates/repo/migrate/github.tmpl index c4249f8904..b6c39134f0 100644 --- a/templates/repo/migrate/github.tmpl +++ b/templates/repo/migrate/github.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/gitlab.tmpl b/templates/repo/migrate/gitlab.tmpl index a959833e96..454194542e 100644 --- a/templates/repo/migrate/gitlab.tmpl +++ b/templates/repo/migrate/gitlab.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/gogs.tmpl b/templates/repo/migrate/gogs.tmpl index 6d331b9e8f..acd7ec950e 100644 --- a/templates/repo/migrate/gogs.tmpl +++ b/templates/repo/migrate/gogs.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> diff --git a/templates/repo/migrate/migrate.tmpl b/templates/repo/migrate/migrate.tmpl index ff96e6793b..e69cb5724b 100644 --- a/templates/repo/migrate/migrate.tmpl +++ b/templates/repo/migrate/migrate.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> {{template "repo/migrate/helper" .}} diff --git a/templates/repo/migrate/migrating.tmpl b/templates/repo/migrate/migrating.tmpl index c06f4b5729..e6d329a1ab 100644 --- a/templates/repo/migrate/migrating.tmpl +++ b/templates/repo/migrate/migrating.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository"> +<div role="main" aria-label="{{.Title}}" class="page-content repository"> {{template "repo/header" .}} <div class="ui container"> <div class="ui grid"> diff --git a/templates/repo/migrate/onedev.tmpl b/templates/repo/migrate/onedev.tmpl index 18256aca5d..ec8c06cc70 100644 --- a/templates/repo/migrate/onedev.tmpl +++ b/templates/repo/migrate/onedev.tmpl @@ -1,5 +1,5 @@ {{template "base/head" .}} -<div class="page-content repository new migrate"> +<div role="main" aria-label="{{.Title}}" class="page-content repository new migrate"> <div class="ui middle very relaxed page grid"> <div class="column"> <form class="ui form" action="{{.Link}}" method="post"> |