summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files_sharing/js/share.js1
-rw-r--r--core/js/share.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_sharing/js/share.js b/apps/files_sharing/js/share.js
index 07ec5f766a1..5dd75c94fdb 100644
--- a/apps/files_sharing/js/share.js
+++ b/apps/files_sharing/js/share.js
@@ -141,6 +141,7 @@
fileActions.registerAction({
name: 'Share',
displayName: '',
+ altText: t('core', 'Share'),
mime: 'all',
permissions: OC.PERMISSION_ALL,
iconClass: 'icon-share',
diff --git a/core/js/share.js b/core/js/share.js
index cd399dd3cee..913c78bb732 100644
--- a/core/js/share.js
+++ b/core/js/share.js
@@ -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';