From 7faf3d17e58ff86c092cd33073975871c58767f6 Mon Sep 17 00:00:00 2001 From: Jan-Christoph Borchardt Date: Thu, 18 Dec 2014 16:54:39 +0100 Subject: fix accessibility for deleted files --- apps/files/templates/appnavigation.php | 6 ++++-- apps/files_trashbin/js/app.js | 1 + apps/files_trashbin/templates/index.php | 8 +++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index faf2be39b03..8fd2b76f9c0 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -11,8 +11,10 @@
-

t('WebDAV'));?>

-
+

+ +

+ t('Use this address to access your Files via WebDAV', array(link_to_docs('user-webdav'))));?>
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; }, diff --git a/apps/files_trashbin/templates/index.php b/apps/files_trashbin/templates/index.php index 82bc360a9f5..fe1311340c7 100644 --- a/apps/files_trashbin/templates/index.php +++ b/apps/files_trashbin/templates/index.php @@ -18,11 +18,13 @@
- + t( 'Name' )); ?> - <?php p($l->t( 'Restore' )); ?>" /> t('Restore'))?> @@ -34,7 +36,7 @@ t('Delete'))?> - <?php p($l->t('Delete'))?>" /> -- cgit v1.2.3