Add aria-labels for comment count and remove button
This commit is contained in:
parent
05f566696b
commit
af6d7ed514
|
@ -96,7 +96,7 @@ def label_badge(label, cls="", remove_from_ticket=None, terms=None):
|
|||
remove_form = f"""
|
||||
<form method="POST" action="{remove_url}">
|
||||
{csrf_token()}
|
||||
<button type="submit" class="btn btn-link">
|
||||
<button type="submit" class="btn btn-link" aria-label="Remove">
|
||||
{icon('times')}
|
||||
</button>
|
||||
</form>
|
||||
|
|
|
@ -213,7 +213,7 @@
|
|||
{{ ticket.submitter.name }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="comments">
|
||||
<div class="comments" aria-label="Comments">
|
||||
<span class="icon_count">
|
||||
{% if ticket.id in seen_ticket_ids or comment_counts.get(ticket.id, 0) == 0 %}
|
||||
{{icon("comments-o")}}
|
||||
|
|
Loading…
Reference in New Issue