mirror of
https://github.com/go-gitea/gitea
synced 2025-07-24 11:18:36 +00:00
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.
This commit is contained in:
committed by
GitHub
parent
faa96553d1
commit
7fd5d38860
@@ -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">
|
||||
|
Reference in New Issue
Block a user