summaryrefslogtreecommitdiffstats
path: root/templates/shared
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/shared
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/shared')
-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">