diff options
author | Morris Jobke <hey@morrisjobke.de> | 2014-12-19 00:30:56 +0100 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2014-12-19 00:30:56 +0100 |
commit | 3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9 (patch) | |
tree | b67257d9c33e862ee7ffb83305796ba91dc4d5ea /apps/files_trashbin | |
parent | 114a6464e87294c27e4967e74b1e3372cf4e92fa (diff) | |
parent | cd81687a38c4f46c6665e640a352ba7adcd1f243 (diff) | |
download | nextcloud-server-3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9.tar.gz nextcloud-server-3036a8714d67c7d9fa0fc6fc6bdfdce1a090f1d9.zip |
Merge pull request #12941 from owncloud/wave-accessibility-compliance
Wave accessibility compliance
Diffstat (limited to 'apps/files_trashbin')
-rw-r--r-- | apps/files_trashbin/js/app.js | 1 | ||||
-rw-r--r-- | apps/files_trashbin/templates/index.php | 8 |
2 files changed, 6 insertions, 3 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; }, 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> |