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
This commit is contained in:
Felipe Leopoldo Sologuren Gutiérrez authored and GitHub committed 2023-02-01 22:56:10 +00:00
1 parent 1e0e79dcbf
commit 15c035775a
171 files changed
+177 -176

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content ui container center full-screen-width {{if .IsRepo}}repository{{end}}">
<div role="main" aria-label="{{.Title}}" class="page-content ui container center full-screen-width {{if .IsRepo}}repository{{end}}">
{{if .IsRepo}}{{template "repo/header" .}}{{end}}
<div class="ui container center">
<p style="margin-top: 100px"><img src="{{AssetUrlPrefix}}/img/404.png" alt="404"/></p>
+1 -1
View File
@@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content ui container full-screen-width center">
<div role="main" aria-label="{{.Title}}" class="page-content ui container full-screen-width center">
<p style="margin-top: 100px"><img src="{{AssetUrlPrefix}}/img/500.png" alt="500"/></p>
<div class="ui divider"></div>
<br>