mirror of https://github.com/zulip/zulip.git
accessibility: Hide non-actionable profile image from screen readers.
This commit is contained in:
parent
bec0336092
commit
95781c913d
|
@ -9,7 +9,7 @@
|
||||||
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}} no-select">
|
<span class="message_sender{{^status_message}} sender_info_hover{{/status_message}} no-select">
|
||||||
{{#include_sender}}
|
{{#include_sender}}
|
||||||
{{! See ../js/notifications.js for another user of avatar_url. }}
|
{{! 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}}"/>
|
<img src="{{small_avatar_url}}" alt="" class="no-drag{{#if sender_is_guest}} guest_user_avatar{{/if}}"/>
|
||||||
</div>
|
</div>
|
||||||
{{#if status_message}}
|
{{#if status_message}}
|
||||||
|
|
Loading…
Reference in New Issue