1
1
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:
Felipe Leopoldo Sologuren Gutiérrez
2023-01-31 22:43:06 -03:00
committed by GitHub
parent faa96553d1
commit 7fd5d38860
6 changed files with 12 additions and 11 deletions

View File

@@ -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">