1
0
Fork 0
forked from forgejo/forgejo

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 2023-02-01 19:56:10 -03:00 committed by GitHub
parent 1e0e79dcbf
commit 15c035775a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
171 changed files with 177 additions and 176 deletions

View file

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository view issue pull commits">
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue pull commits">
{{template "repo/header" .}}
<div class="ui container">
<div class="navbar">

View file

@ -3,7 +3,7 @@
<input type="hidden" id="repolink" value="{{$.RepoRelPath}}">
<input type="hidden" id="issueIndex" value="{{.Issue.Index}}"/>
<div class="page-content repository view issue pull files diff">
<div role="main" aria-label="{{.Title}}" class="page-content repository view issue pull files diff">
{{template "repo/header" .}}
<div class="ui container {{if .IsSplitStyle}}fluid padded{{end}}">
<div class="navbar">

View file

@ -1,5 +1,5 @@
{{template "base/head" .}}
<div class="page-content repository new fork">
<div role="main" aria-label="{{.Title}}" class="page-content repository new fork">
<div class="ui middle very relaxed page grid">
<div class="column">
<form class="ui form" action="{{.Link}}" method="post">