mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-12 19:49:59 +05:00
add aria-label to edit/save title buttons
This commit is contained in:
parent
9a49834c33
commit
81f37a36f8
@ -748,11 +748,13 @@ MessengerUI, Messages, Pages, PadTypes, Icons) {
|
||||
}).appendTo($hoverable);
|
||||
var $pencilIcon = $('<span>', {
|
||||
'class': 'cp-toolbar-title-edit',
|
||||
'title': Messages.clickToEdit
|
||||
'title': Messages.clickToEdit,
|
||||
'aria-label': Messages.clickToEdit
|
||||
});
|
||||
var $saveIcon = $('<span>', {
|
||||
'class': 'cp-toolbar-title-save',
|
||||
'title': Messages.saveTitle
|
||||
'title': Messages.saveTitle,
|
||||
'aria-label': Messages.saveTitle
|
||||
}).hide();
|
||||
if (config.readOnly === 1) {
|
||||
$hoverable.append($('<span>', {'class': 'cp-toolbar-title-readonly'})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user