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"""
|
remove_form = f"""
|
||||||
<form method="POST" action="{remove_url}">
|
<form method="POST" action="{remove_url}">
|
||||||
{csrf_token()}
|
{csrf_token()}
|
||||||
<button type="submit" class="btn btn-link">
|
<button type="submit" class="btn btn-link" aria-label="Remove">
|
||||||
{icon('times')}
|
{icon('times')}
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
@ -213,7 +213,7 @@
|
||||||
{{ ticket.submitter.name }}
|
{{ ticket.submitter.name }}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="comments">
|
<div class="comments" aria-label="Comments">
|
||||||
<span class="icon_count">
|
<span class="icon_count">
|
||||||
{% if ticket.id in seen_ticket_ids or comment_counts.get(ticket.id, 0) == 0 %}
|
{% if ticket.id in seen_ticket_ids or comment_counts.get(ticket.id, 0) == 0 %}
|
||||||
{{icon("comments-o")}}
|
{{icon("comments-o")}}
|
||||||
|
|
Loading…
Reference in New Issue