diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 16:54:39 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 16:54:39 +0100 |
commit | 7faf3d17e58ff86c092cd33073975871c58767f6 (patch) | |
tree | bc07f8a79717256d87de7f2a673ddf01bbcc6739 /apps | |
parent | 43b2af7333b3b040995c6c2909327fd9a693679f (diff) | |
download | nextcloud-server-7faf3d17e58ff86c092cd33073975871c58767f6.tar.gz nextcloud-server-7faf3d17e58ff86c092cd33073975871c58767f6.zip |
fix accessibility for deleted files
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/templates/appnavigation.php | 6 | ||||
-rw-r--r-- | apps/files_trashbin/js/app.js | 1 | ||||
-rw-r--r-- | 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 @@ </button> </div> <div id="app-settings-content"> - <h2><?php p($l->t('WebDAV'));?></h2> - <div><input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>" /></div> + <h2> + <label for="webdavurl"><?php p($l->t('WebDAV'));?></label> + </h2> + <input id="webdavurl" type="text" readonly="readonly" value="<?php p(OC_Helper::linkToRemote('webdav')); ?>" /> <em><?php print_unescaped($l->t('Use this address to <a href="%s" target="_blank">access your Files via WebDAV</a>', array(link_to_docs('user-webdav'))));?></em> </div> </div> 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 @@ <th id='headerName' class="hidden column-name"> <div id="headerName-container"> <input type="checkbox" id="select_all_trash" class="select-all"/> - <label for="select_all_trash"></label> + <label for="select_all_trash"> + <span class="hidden-visually"><?php p($l->t('Select all'))?></span> + </label> <a class="name sort columntitle" data-sort="name"><span><?php p($l->t( 'Name' )); ?></span><span class="sort-indicator"></span></a> <span id="selectedActionsList" class='selectedActions'> <a href="" class="undelete"> - <img class="svg" alt="<?php p($l->t( 'Restore' )); ?>" + <img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/history.svg")); ?>" /> <?php p($l->t('Restore'))?> </a> @@ -34,7 +36,7 @@ <span class="selectedActions"> <a href="" class="delete-selected"> <?php p($l->t('Delete'))?> - <img class="svg" alt="<?php p($l->t('Delete'))?>" + <img class="svg" alt="" src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" /> </a> </span> |