summaryrefslogtreecommitdiffstats
path: root/templates/shared/issuelist.tmpl
diff options
context:
space:
mode:
authorFelipe Leopoldo Sologuren Gutiérrez <fsologureng@users.noreply.github.com>2023-02-01 02:43:06 +0100
committerGitHub <noreply@github.com>2023-02-01 02:43:06 +0100
commit7fd5d38860a9aef1a2ba3b30e882492fde84c9be (patch)
tree8c9518d480056cbc8f8ee097952fa9a7b7ed2778 /templates/shared/issuelist.tmpl
parentAdd repository setting to enable/disable releases unit (#22671) (diff)
downloadforgejo-7fd5d38860a9aef1a2ba3b30e882492fde84c9be.tar.xz
forgejo-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 '')
-rw-r--r--templates/shared/issuelist.tmpl3
1 files changed, 1 insertions, 2 deletions
diff --git a/templates/shared/issuelist.tmpl b/templates/shared/issuelist.tmpl
index f3aa2610bb..93d54930ff 100644
--- a/templates/shared/issuelist.tmpl
+++ b/templates/shared/issuelist.tmpl
@@ -5,8 +5,7 @@
<div class="issue-item-left df">
{{if $.CanWriteIssuesOrPulls}}
<div class="ui checkbox issue-checkbox">
- <input type="checkbox" data-issue-id={{.ID}}></input>
- <label></label>
+ <input type="checkbox" data-issue-id={{.ID}} title="{{$.locale.Tr "repo.issues.action_check"}} «{{.Title}}»">
</div>
{{end}}
<div class="issue-item-icon">