|
1 | 1 | <div zid="{{msg/id}}" id="{{table_name}}{{msg/id}}"
|
2 |
| - class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#contains_mention}} mention{{/contains_mention}}{{#include_footer}} last_message{{/include_footer}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row"> |
| 2 | + class="message_row{{^msg/is_stream}} private-message{{/msg/is_stream}}{{#include_sender}} include-sender{{/include_sender}}{{#contains_mention}} mention{{/contains_mention}}{{#include_footer}} last_message{{/include_footer}}{{#msg.unread}} unread{{/msg.unread}} {{#if msg.locally_echoed}}local{{/if}} selectable_row" |
| 3 | + role="region" aria-label="{{t 'Message' }}"> |
3 | 4 | <div class="unread_marker"><div class="unread-marker-fill"></div></div>
|
4 | 5 | <div class="messagebox{{^include_sender}} prev_is_same_sender{{/include_sender}}{{^msg/is_stream}} private-message{{/msg/is_stream}} {{#if next_is_same_sender}}next_is_same_sender{{/if}}"
|
5 | 6 | style="box-shadow: inset 2px 0px 0px 0px {{#if msg/is_stream}}{{background_color}}{{else}}#444444{{/if}}, -1px 0px 0px 0px {{#if msg/is_stream}}{{background_color}}{{else}}#444444{{/if}};">
|
|
16 | 17 | <span class="sender-status">
|
17 | 18 | <span class="sender_name-in-status auto-select sender_info_hover">{{msg/sender_full_name}}</span>
|
18 | 19 | {{#if sender_is_bot}}
|
19 |
| - <i class="zulip-icon bot" aria-hidden="true"></i> |
| 20 | + <i class="zulip-icon bot" aria-label="{{t 'Bot' }}"></i> |
20 | 21 | {{/if}}
|
21 | 22 | <span class="status-message">
|
22 | 23 | {{{ status_message }}}
|
|
28 | 29 | {{else}}
|
29 | 30 | <span class="sender_name auto-select">{{msg/sender_full_name}}</span>
|
30 | 31 | {{#if sender_is_bot}}
|
31 |
| - <i class="zulip-icon bot" aria-hidden="true"></i> |
| 32 | + <i class="zulip-icon bot" aria-label="{{t 'Bot' }}"></i> |
32 | 33 | {{/if}}
|
33 | 34 | {{/if}}
|
34 | 35 | {{/include_sender}}
|
|
45 | 46 | <div class="edit_content"></div>
|
46 | 47 | {{else}}
|
47 | 48 | <div class="reaction_button">
|
48 |
| - <i class="fa fa-smile-o" aria-hidden="true" title="{{#tr this}}Add emoji reaction{{/tr}} (:)"></i> |
| 49 | + <i class="fa fa-smile-o" title="{{#tr this}}Add emoji reaction{{/tr}} (:)" aria-label="{{#tr this}}Add emoji reaction{{/tr}} (:)" role="button" aria-haspopup="true" tabindex="0"></i> |
49 | 50 | </div>
|
50 | 51 | {{/if}}
|
51 | 52 |
|
52 | 53 | {{#unless msg/locally_echoed}}
|
53 | 54 | <div class="info actions_hover">
|
54 |
| - <i class="fa fa-chevron-down" aria-hidden="true" title="{{#tr this}}Message actions{{/tr}} (i)"></i> |
| 55 | + <i class="fa fa-chevron-down" title="{{#tr this}}Message actions{{/tr}} (i)" title="{{#tr this}}Message actions{{/tr}}" role="button" aria-haspopup="true" tabindex="0" aria-label="{{#tr this}}Message actions{{/tr}}"></i> |
55 | 56 | </div>
|
56 | 57 | {{/unless}}
|
57 | 58 |
|
58 | 59 | <div class="message_failed {{#unless msg.failed_request}}notvisible{{/unless}}">
|
59 |
| - <i class="fa fa-refresh refresh-failed-message" aria-hidden="true" data-toggle="tooltip" title="{{t 'Retry' }}"></i> |
| 60 | + <i class="fa fa-refresh refresh-failed-message" data-toggle="tooltip" title="{{t 'Retry' }}" aria-label="{{t 'Retry' }}" role="button" tabindex="0"></i> |
60 | 61 | <i class="fa fa-times-circle remove-failed-message" aria-hidden="true" data-toggle="tooltip" title="{{t 'Cancel' }}"></i>
|
61 | 62 | </div>
|
62 | 63 |
|
|
0 commit comments