aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/editor/commit_form.tmpl
diff options
context:
space:
mode:
authorFelipe Leopoldo Sologuren GutiƩrrez <fsologureng@users.noreply.github.com>2023-01-31 22:43:06 -0300
committerGitHub <noreply@github.com>2023-02-01 01:43:06 +0000
commit7fd5d38860a9aef1a2ba3b30e882492fde84c9be (patch)
tree8c9518d480056cbc8f8ee097952fa9a7b7ed2778 /templates/repo/editor/commit_form.tmpl
parentfaa96553d1dd5487b8d3682c8eac100580b321e3 (diff)
downloadgitea-7fd5d38860a9aef1a2ba3b30e882492fde84c9be.tar.gz
gitea-7fd5d38860a9aef1a2ba3b30e882492fde84c9be.zip
Improve checkbox accessibility a bit by adding the title attribute (#22593)
EDIT: The main change of this PR was resolved by #22599. This complements that PR for some cases without label and complicated layout to be added. NOTE: Contributed by @Forgejo.
Diffstat (limited to 'templates/repo/editor/commit_form.tmpl')
-rw-r--r--templates/repo/editor/commit_form.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/repo/editor/commit_form.tmpl b/templates/repo/editor/commit_form.tmpl
index 8700f77401..f4778e22d1 100644
--- a/templates/repo/editor/commit_form.tmpl
+++ b/templates/repo/editor/commit_form.tmpl
@@ -61,7 +61,7 @@
<div class="quick-pull-branch-name {{if not (eq .commit_choice "commit-to-new-branch")}}hide{{end}}">
<div class="new-branch-name-input field {{if .Err_NewBranchName}}error{{end}}">
{{svg "octicon-git-branch"}}
- <input type="text" name="new_branch_name" value="{{.new_branch_name}}" class="input-contrast mr-2 js-quick-pull-new-branch-name" placeholder="{{.locale.Tr "repo.editor.new_branch_name_desc"}}" {{if eq .commit_choice "commit-to-new-branch"}}required{{end}}>
+ <input type="text" name="new_branch_name" value="{{.new_branch_name}}" class="input-contrast mr-2 js-quick-pull-new-branch-name" placeholder="{{.locale.Tr "repo.editor.new_branch_name_desc"}}" {{if eq .commit_choice "commit-to-new-branch"}}required{{end}} title="{{.locale.Tr "repo.editor.new_branch_name"}}">
<span class="text-muted js-quick-pull-normalization-info"></span>
</div>
</div>