accessibility: Hide non-actionable profile image from screen readers.

This commit is contained in:
Nolan Darilek 2018-11-08 11:29:58 -06:00 committed by Tim Abbott
parent bec0336092
commit 95781c913d
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}} no-select">
{{#include_sender}}
{{! See ../js/notifications.js for another user of avatar_url. }}
<div class="u-{{msg/sender_id}} inline_profile_picture{{#status_message}} sender_info_hover{{/status_message}}">
<div class="u-{{msg/sender_id}} inline_profile_picture{{#status_message}} sender_info_hover{{/status_message}}" aria-hidden="true">
<img src="{{small_avatar_url}}" alt="" class="no-drag{{#if sender_is_guest}} guest_user_avatar{{/if}}"/>
</div>
{{#if status_message}}