summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorJulius Härtl <github@jus.li>2017-10-04 16:09:29 +0200
committerGitHub <noreply@github.com>2017-10-04 16:09:29 +0200
commit060eac40d868b55733fef0389b487ef64a211a4d (patch)
treedc61c25d99401b8ec4864f10c732581a36a86326 /apps
parent66b4efe4c6a0580791d8d8b4286fb2ef2962c120 (diff)
parentf7e6da9a8eac68cb0aa0fc9a593d3fb05e41fb89 (diff)
downloadnextcloud-server-060eac40d868b55733fef0389b487ef64a211a4d.tar.gz
nextcloud-server-060eac40d868b55733fef0389b487ef64a211a4d.zip
Merge pull request #6700 from nextcloud/accessibility-fixes
Accessibility fixes
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/detailsview.js2
-rw-r--r--apps/files/templates/list.php4
-rw-r--r--apps/files/templates/simplelist.php2
3 files changed, 5 insertions, 3 deletions
diff --git a/apps/files/js/detailsview.js b/apps/files/js/detailsview.js
index e53922ebb69..a896e84fdc0 100644
--- a/apps/files/js/detailsview.js
+++ b/apps/files/js/detailsview.js
@@ -23,7 +23,7 @@
' {{/if}}' +
' <div class="tabsContainer">' +
' </div>' +
- ' <a class="close icon-close" href="#" alt="{{closeLabel}}"></a>';
+ ' <a class="close icon-close" href="#"><span class="hidden-visually">{{closeLabel}}</span></a>';
/**
* @class OCA.Files.DetailsView
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php
index f3b6759644c..46bd9351e39 100644
--- a/apps/files/templates/list.php
+++ b/apps/files/templates/list.php
@@ -4,7 +4,9 @@
<div id="uploadprogressbar">
<em class="label outer" style="display:none"><span class="desktop"><?php p($l->t('Uploading @'));?></span><span class="mobile"><?php p($l->t('…'));?></span></em>
</div>
- <input type="button" class="stop icon-close" style="display:none" value="" />
+ <button class="stop icon-close" style="display:none">
+ <span class="hidden-visually"><?php p($l->t('Cancel upload')) ?></span>
+ </button>
</div>
</div>
<div id="file_action_panel"></div>
diff --git a/apps/files/templates/simplelist.php b/apps/files/templates/simplelist.php
index c787f9eb8df..fdf882fa3fe 100644
--- a/apps/files/templates/simplelist.php
+++ b/apps/files/templates/simplelist.php
@@ -29,7 +29,7 @@
<a id="modified" class="columntitle" data-sort="mtime"><span><?php p($l->t( 'Modified' )); ?></span><span class="sort-indicator"></span></a>
<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>
</th>