Screen reader fixes for list view

This commit is contained in:
Mouse Reeve 2022-01-27 12:55:53 -08:00
parent d62473c432
commit a80c19d3e5
2 changed files with 3 additions and 3 deletions

View file

@ -12,7 +12,7 @@
id="id_notes_{{ form_id }}"
maxlength="300"
name="notes"
aria-described-by="notes_description_{{ form_id }}"
aria-describedby="notes_description_{{ form_id }}"
>{{ item.notes|default:'' }}</textarea>
</div>
<p class="help" id="notes_description_{{ form_id }}">

View file

@ -73,7 +73,7 @@
{% if item.notes %}
<div class="media notification">
<figure class="media-left">
<figure class="media-left" aria-hidden="true">
{% include "snippets/avatar.html" with user=item.user %}
</figure>
<div class="media-content">
@ -263,7 +263,7 @@
<textarea
readonly
class="textarea is-small"
aria-labelledby="embed-label"
aria-describedby="embed-label"
data-copytext
data-copytext-label="{% trans 'Copy embed code' %}"
data-copytext-success="{% trans 'Copied!' %}"