summaryrefslogtreecommitdiffstats
path: root/core/js/share.js
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2016-09-20 15:49:21 +0200
committerLukas Reschke <lukas@statuscode.ch>2016-09-26 10:30:11 +0200
commitf07d146644e1e9321fd47adc80afddf5ff4ef4f4 (patch)
tree3ba9043241443d2f0a6809f95686bdb9cbce2fe0 /core/js/share.js
parent9e91a76b30d9232add8bf2a8fd37572fb21b1207 (diff)
downloadnextcloud-server-f07d146644e1e9321fd47adc80afddf5ff4ef4f4.tar.gz
nextcloud-server-f07d146644e1e9321fd47adc80afddf5ff4ef4f4.zip
Display "Share" alt text for share action icon (#26158)
Downstreaming of https://github.com/owncloud/core/pull/26158 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
Diffstat (limited to 'core/js/share.js')
-rw-r--r--core/js/share.js2
1 files changed, 1 insertions, 1 deletions
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';