summaryrefslogtreecommitdiffstats
path: root/apps/files_trashbin/js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 16:54:39 +0100
committerJan-Christoph Borchardt <hey@jancborchardt.net>2014-12-18 16:54:39 +0100
commit7faf3d17e58ff86c092cd33073975871c58767f6 (patch)
treebc07f8a79717256d87de7f2a673ddf01bbcc6739 /apps/files_trashbin/js
parent43b2af7333b3b040995c6c2909327fd9a693679f (diff)
downloadnextcloud-server-7faf3d17e58ff86c092cd33073975871c58767f6.tar.gz
nextcloud-server-7faf3d17e58ff86c092cd33073975871c58767f6.zip
fix accessibility for deleted files
Diffstat (limited to 'apps/files_trashbin/js')
-rw-r--r--apps/files_trashbin/js/app.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/files_trashbin/js/app.js b/apps/files_trashbin/js/app.js
index 72d9f4a6771..c5de08d5922 100644
--- a/apps/files_trashbin/js/app.js
+++ b/apps/files_trashbin/js/app.js
@@ -68,6 +68,7 @@ OCA.Trashbin.App = {
render: function(actionSpec, isDefault, context) {
var $actionLink = fileActions._makeActionLink(actionSpec, context);
$actionLink.attr('original-title', t('files', 'Delete permanently'));
+ $actionLink.children('img').attr('alt', t('files', 'Delete permanently'));
context.$file.find('td:last').append($actionLink);
return $actionLink;
},