Skip to content

Commit cd299fc

Browse files
author
Loïc Dachary
committed
Merge remote-tracking branch 'forgejo/v1.18/forgejo-a11y' into v1.18/forgejo
2 parents 758cf64 + a463dac commit cd299fc

File tree

166 files changed

+208
-183
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+208
-183
lines changed

options/locales/gitea_en-US.ini

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,12 @@ never = Never
106106

107107
rss_feed = RSS Feed
108108

109+
[aria]
110+
navbar = Navigation Bar
111+
footer = Footer
112+
footer.software = About Software
113+
footer.links = Links
114+
109115
[filter]
110116
string.asc = A - Z
111117
string.desc = Z - A
@@ -1112,6 +1118,7 @@ editor.commit_directly_to_this_branch = Commit directly to the <strong class="br
11121118
editor.create_new_branch = Create a <strong>new branch</strong> for this commit and start a pull request.
11131119
editor.create_new_branch_np = Create a <strong>new branch</strong> for this commit.
11141120
editor.propose_file_change = Propose file change
1121+
editor.new_branch_name = Name the new branch for this commit
11151122
editor.new_branch_name_desc = New branch name…
11161123
editor.cancel = Cancel
11171124
editor.filename_cannot_be_empty = The filename cannot be empty.
@@ -1315,6 +1322,8 @@ issues.action_milestone = Milestone
13151322
issues.action_milestone_no_select = No milestone
13161323
issues.action_assignee = Assignee
13171324
issues.action_assignee_no_select = No assignee
1325+
issues.action_check = Check/Uncheck
1326+
issues.action_check_all = Check/Uncheck all items
13181327
issues.opened_by = opened %[1]s by <a href="%[2]s">%[3]s</a>
13191328
pulls.merged_by = by <a href="%[2]s">%[3]s</a> was merged %[1]s
13201329
pulls.merged_by_fake = by %[2]s was merged %[1]s

routers/web/admin/hooks.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const (
2323
func DefaultOrSystemWebhooks(ctx *context.Context) {
2424
var err error
2525

26+
ctx.Data["Title"] = ctx.Tr("admin.hooks")
2627
ctx.Data["PageIsAdminSystemHooks"] = true
2728
ctx.Data["PageIsAdminDefaultHooks"] = true
2829

routers/web/repo/setting.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const (
6262
// SettingsCtxData is a middleware that sets all the general context data for the
6363
// settings template.
6464
func SettingsCtxData(ctx *context.Context) {
65-
ctx.Data["Title"] = ctx.Tr("repo.settings")
65+
ctx.Data["Title"] = ctx.Tr("repo.settings.options")
6666
ctx.Data["PageIsSettingsOptions"] = true
6767
ctx.Data["ForcePrivate"] = setting.Repository.ForcePrivate
6868
ctx.Data["MirrorsEnabled"] = setting.Mirror.Enabled
@@ -854,7 +854,7 @@ func handleSettingRemoteAddrError(ctx *context.Context, err error, form *forms.R
854854

855855
// Collaboration render a repository's collaboration page
856856
func Collaboration(ctx *context.Context) {
857-
ctx.Data["Title"] = ctx.Tr("repo.settings")
857+
ctx.Data["Title"] = ctx.Tr("repo.settings.collaboration")
858858
ctx.Data["PageIsSettingsCollaboration"] = true
859859

860860
users, err := repo_model.GetCollaborators(ctx, ctx.Repo.Repository.ID, db.ListOptions{})
@@ -1093,7 +1093,7 @@ func GitHooksEditPost(ctx *context.Context) {
10931093

10941094
// DeployKeys render the deploy keys list of a repository page
10951095
func DeployKeys(ctx *context.Context) {
1096-
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys")
1096+
ctx.Data["Title"] = ctx.Tr("repo.settings.deploy_keys") + " / " + ctx.Tr("secrets.secrets")
10971097
ctx.Data["PageIsSettingsKeys"] = true
10981098
ctx.Data["DisableSSH"] = setting.SSH.Disabled
10991099

routers/web/repo/setting_protected_branch.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import (
2929

3030
// ProtectedBranch render the page to protect the repository
3131
func ProtectedBranch(ctx *context.Context) {
32-
ctx.Data["Title"] = ctx.Tr("repo.settings")
32+
ctx.Data["Title"] = ctx.Tr("repo.settings.branches")
3333
ctx.Data["PageIsSettingsBranches"] = true
3434

3535
protectedBranches, err := git_model.GetProtectedBranches(ctx.Repo.Repository.ID)
@@ -61,7 +61,7 @@ func ProtectedBranch(ctx *context.Context) {
6161

6262
// ProtectedBranchPost response for protect for a branch of a repository
6363
func ProtectedBranchPost(ctx *context.Context) {
64-
ctx.Data["Title"] = ctx.Tr("repo.settings")
64+
ctx.Data["Title"] = ctx.Tr("repo.settings.protected_branch")
6565
ctx.Data["PageIsSettingsBranches"] = true
6666

6767
repo := ctx.Repo.Repository

routers/web/repo/tag.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ func DeleteProtectedTagPost(ctx *context.Context) {
134134
}
135135

136136
func setTagsContext(ctx *context.Context) error {
137-
ctx.Data["Title"] = ctx.Tr("repo.settings")
137+
ctx.Data["Title"] = ctx.Tr("repo.settings.tags")
138138
ctx.Data["PageIsSettingsTags"] = true
139139

140140
protectedTags, err := git_model.GetProtectedTags(ctx.Repo.Repository.ID)

routers/web/user/setting/account.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ const (
3131

3232
// Account renders change user's password, user's email and user suicide page
3333
func Account(ctx *context.Context) {
34-
ctx.Data["Title"] = ctx.Tr("settings")
34+
ctx.Data["Title"] = ctx.Tr("settings.account")
3535
ctx.Data["PageIsSettingsAccount"] = true
3636
ctx.Data["Email"] = ctx.Doer.Email
3737
ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail

routers/web/user/setting/adopt.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818

1919
// AdoptOrDeleteRepository adopts or deletes a repository
2020
func AdoptOrDeleteRepository(ctx *context.Context) {
21-
ctx.Data["Title"] = ctx.Tr("settings")
21+
ctx.Data["Title"] = ctx.Tr("settings.adopt")
2222
ctx.Data["PageIsSettingsRepos"] = true
2323
allowAdopt := ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
2424
ctx.Data["allowAdopt"] = allowAdopt

routers/web/user/setting/applications.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const (
2222

2323
// Applications render manage access token page
2424
func Applications(ctx *context.Context) {
25-
ctx.Data["Title"] = ctx.Tr("settings")
25+
ctx.Data["Title"] = ctx.Tr("settings.applications")
2626
ctx.Data["PageIsSettingsApplications"] = true
2727

2828
loadApplicationsData(ctx)

routers/web/user/setting/keys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const (
2424

2525
// Keys render user's SSH/GPG public keys page
2626
func Keys(ctx *context.Context) {
27-
ctx.Data["Title"] = ctx.Tr("settings")
27+
ctx.Data["Title"] = ctx.Tr("settings.ssh_gpg_keys")
2828
ctx.Data["PageIsSettingsKeys"] = true
2929
ctx.Data["DisableSSH"] = setting.SSH.Disabled
3030
ctx.Data["BuiltinSSH"] = setting.SSH.StartBuiltinServer

routers/web/user/setting/profile.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ const (
4343

4444
// Profile render user's profile page
4545
func Profile(ctx *context.Context) {
46-
ctx.Data["Title"] = ctx.Tr("settings")
46+
ctx.Data["Title"] = ctx.Tr("settings.profile")
4747
ctx.Data["PageIsSettingsProfile"] = true
4848
ctx.Data["AllowedUserVisibilityModes"] = setting.Service.AllowedUserVisibilityModesSlice.ToVisibleTypeSlice()
4949

@@ -220,7 +220,7 @@ func DeleteAvatar(ctx *context.Context) {
220220

221221
// Organization render all the organization of the user
222222
func Organization(ctx *context.Context) {
223-
ctx.Data["Title"] = ctx.Tr("settings")
223+
ctx.Data["Title"] = ctx.Tr("settings.organization")
224224
ctx.Data["PageIsSettingsOrganization"] = true
225225

226226
opts := organization.FindOrgOptions{
@@ -255,7 +255,7 @@ func Organization(ctx *context.Context) {
255255

256256
// Repos display a list of all repositories of the user
257257
func Repos(ctx *context.Context) {
258-
ctx.Data["Title"] = ctx.Tr("settings")
258+
ctx.Data["Title"] = ctx.Tr("settings.repos")
259259
ctx.Data["PageIsSettingsRepos"] = true
260260
ctx.Data["allowAdopt"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowAdoptionOfUnadoptedRepositories
261261
ctx.Data["allowDelete"] = ctx.IsUserSiteAdmin() || setting.Repository.AllowDeleteOfUnadoptedRepositories
@@ -361,7 +361,7 @@ func Repos(ctx *context.Context) {
361361

362362
// Appearance render user's appearance settings
363363
func Appearance(ctx *context.Context) {
364-
ctx.Data["Title"] = ctx.Tr("settings")
364+
ctx.Data["Title"] = ctx.Tr("settings.appearance")
365365
ctx.Data["PageIsSettingsAppearance"] = true
366366

367367
var hiddenCommentTypes *big.Int

routers/web/user/setting/security/security.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const (
2323

2424
// Security render change user's password page and 2FA
2525
func Security(ctx *context.Context) {
26-
ctx.Data["Title"] = ctx.Tr("settings")
26+
ctx.Data["Title"] = ctx.Tr("settings.security")
2727
ctx.Data["PageIsSettingsSecurity"] = true
2828

2929
if ctx.FormString("openid.return_to") != "" {

templates/admin/applications/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
<div class="twelve wide column content">

templates/admin/applications/oauth2_edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44

55
{{template "user/settings/applications_oauth2_edit_form" .}}

templates/admin/auth/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin edit authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin edit authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/auth/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/auth/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin new authentication">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin new authentication">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/config.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin config">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin config">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}
@@ -303,14 +303,14 @@
303303
<dt>{{.locale.Tr "admin.config.disable_gravatar"}}</dt>
304304
<dd>
305305
<div class="ui toggle checkbox">
306-
<input type="checkbox" name="picture.disable_gravatar" version="{{.SystemSettings.GetVersion "picture.disable_gravatar"}}"{{if .SystemSettings.GetBool "picture.disable_gravatar"}} checked{{end}}>
306+
<input type="checkbox" name="picture.disable_gravatar" version="{{.SystemSettings.GetVersion "picture.disable_gravatar"}}"{{if .SystemSettings.GetBool "picture.disable_gravatar"}} checked{{end}} title="{{.locale.Tr "admin.config.disable_gravatar"}}">
307307
</div>
308308
</dd>
309309
<div class="ui divider"></div>
310310
<dt>{{.locale.Tr "admin.config.enable_federated_avatar"}}</dt>
311311
<dd>
312312
<div class="ui toggle checkbox">
313-
<input type="checkbox" name="picture.enable_federated_avatar" version="{{.SystemSettings.GetVersion "picture.enable_federated_avatar"}}"{{if .SystemSettings.GetBool "picture.enable_federated_avatar"}} checked{{end}}>
313+
<input type="checkbox" name="picture.enable_federated_avatar" version="{{.SystemSettings.GetVersion "picture.enable_federated_avatar"}}"{{if .SystemSettings.GetBool "picture.enable_federated_avatar"}} checked{{end}} title="{{.locale.Tr "admin.config.enable_federated_avatar"}}">
314314
</div>
315315
</dd>
316316
</dl>

templates/admin/dashboard.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin dashboard">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin dashboard">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/emails/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/hook_new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin settings new webhook">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin settings new webhook">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/hooks.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin hooks">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin hooks">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/monitor.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/notice.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin notice">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin notice">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/org/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/packages/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/queue.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/repo/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/repo/unadopted.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/stacktrace.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin monitor">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin monitor">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/edit.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin edit user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin edit user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/list.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/admin/user/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content admin new user">
2+
<div role="main" aria-label="{{.Title}}" class="page-content admin new user">
33
{{template "admin/navbar" .}}
44
<div class="ui container">
55
{{template "base/alert" .}}

templates/base/footer_content.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
<footer>
1+
<footer role="group" aria-label="{{.locale.Tr "aria.footer"}}">
22
<div class="ui container">
3-
<div class="ui left">
3+
<div class="ui left" role="contentinfo" aria-label="{{.locale.Tr "aria.footer.software"}}">
44
<a target="_blank" rel="noopener noreferrer" href="https://forgejo.org">{{.locale.Tr "powered_by" "Forgejo"}}</a>
55
{{if (or .ShowFooterVersion .PageIsAdmin)}}
66
{{.locale.Tr "version"}}:
@@ -15,7 +15,7 @@
1515
{{.locale.Tr "template"}}{{if .TemplateName}} {{.TemplateName}}{{end}}: <strong>{{call .TemplateLoadTimes}}</strong>
1616
{{end}}
1717
</div>
18-
<div class="ui right links">
18+
<div class="ui right links" role="group" aria-label="{{.locale.Tr "aria.footer.links"}}">
1919
{{if .ShowFooterBranding}}
2020
<a target="_blank" rel="noopener noreferrer" href="https://codeberg.org/forgejo/forgejo">{{svg "octicon-git-branch"}}<span class="sr-only">Codeberg</span></a>
2121
{{end}}

templates/base/head_navbar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="ui container" id="navbar">
1+
<div class="ui container" id="navbar" role="navigation" aria-label="{{.locale.Tr "aria.navbar"}}">
22
{{$notificationUnreadCount := 0}}
33
{{if .IsSigned}}
44
{{if .NotificationUnreadCount}}{{$notificationUnreadCount = call .NotificationUnreadCount}}{{end}}

templates/explore/code.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "code/searchform" .}}

templates/explore/organizations.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/search" .}}

templates/explore/repos.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore repositories">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore repositories">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/repo_search" .}}

templates/explore/users.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content explore users">
2+
<div role="main" aria-label="{{.Title}}" class="page-content explore users">
33
{{template "explore/navbar" .}}
44
<div class="ui container">
55
{{template "explore/search" .}}

templates/home.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{template "base/head" .}}
2-
<div class="page-content home">
2+
<div role="main" aria-label="{{if .IsSigned}}{{.locale.Tr "dashboard"}}{{else}}{{.locale.Tr "home"}}{{end}}" class="page-content home">
33
<div class="ui stackable middle very relaxed page grid">
44
<div class="sixteen wide center aligned centered column">
55
<div>

0 commit comments

Comments
 (0)