Merge pull request #1512 from nextcloud/share-alttext
Display "Share" alt text for share action icon (#26158)
This commit is contained in:
commit
f4eee1d3a5
2 changed files with 2 additions and 1 deletions
|
@ -141,6 +141,7 @@
|
|||
fileActions.registerAction({
|
||||
name: 'Share',
|
||||
displayName: '',
|
||||
altText: t('core', 'Share'),
|
||||
mime: 'all',
|
||||
permissions: OC.PERMISSION_ALL,
|
||||
iconClass: 'icon-share',
|
||||
|
|
|
@ -306,7 +306,7 @@ OC.Share = _.extend(OC.Share || {}, {
|
|||
}
|
||||
}
|
||||
else {
|
||||
action.html('<span></span>').prepend(icon);
|
||||
action.html('<span class="hidden-visually">' + t('core', 'Shared') + '</span>').prepend(icon);
|
||||
}
|
||||
if (hasLink) {
|
||||
iconClass = 'icon-public';
|
||||
|
|
Loading…
Reference in a new issue