From 1bfa405a9352aa80e669c917662da2fde0a8f732 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Mon, 8 Dec 2014 15:49:09 +0100 Subject: [PATCH] introduce alt text for rename icon - fixes #12067 --- apps/files/js/fileactions.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index 4334daa755..da48cf29be 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -264,6 +264,7 @@ _renderRenameAction: function(actionSpec, isDefault, context) { var $actionEl = this._makeActionLink(actionSpec, context); var $container = context.$file.find('a.name span.nametext'); + $actionEl.find('img').attr('alt', t('files', 'Rename')); $container.find('.action-rename').remove(); $container.append($actionEl); return $actionEl;