summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/js/detailsview.js2
-rw-r--r--apps/files/templates/list.php4
2 files changed, 4 insertions, 2 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>