mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
add aria-label
This commit is contained in:
parent
87064ac689
commit
e2df7a3420
@ -246,7 +246,9 @@ define([
|
||||
|
||||
$chat.find('.cp-app-contacts-history-cleared').remove();
|
||||
|
||||
var closeButton = h('button.cp-help-close', [Icons.get('close')]);
|
||||
var closeButton = h('button.cp-help-close',
|
||||
{ 'aria-label': Messages.history_close },
|
||||
[Icons.get('close')]);
|
||||
var container = h('div.cp-help-container.cp-app-contacts-history-cleared', [
|
||||
Icons.get('help'),
|
||||
h('span.cp-help-text', Messages.contacts_historyCleared),
|
||||
@ -282,7 +284,8 @@ define([
|
||||
var moreHistory = h('span', {
|
||||
class: 'cp-app-contacts-more-history',
|
||||
tabindex: '0',
|
||||
role: 'button'
|
||||
role: 'button',
|
||||
'aria-label': Messages.contacts_fetchHistory
|
||||
});
|
||||
moreHistory.append(Icons.get('history', {title: Messages.contacts_fetchHistory}));
|
||||
|
||||
@ -354,7 +357,8 @@ define([
|
||||
var removeHistory = h('span', {
|
||||
'class': 'cp-app-contacts-remove-history',
|
||||
'tabindex': '0',
|
||||
'role': 'button'
|
||||
'role': 'button',
|
||||
'aria-label': Messages.contacts_removeHistoryTitle
|
||||
});
|
||||
removeHistory.append(Icons.get('remove-history', {title: Messages.contacts_removeHistoryTitle}));
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user