diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 14:09:17 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-18 14:12:34 +0100 |
commit | 0e78415cb11aee163b8bba2d22990712cc7666ed (patch) | |
tree | 075ee642910fad666490323ef7ffc8993b63f431 /apps/files/templates | |
parent | 2e6235456a353dd65cc91cbaf2a8024c7fa53827 (diff) | |
download | nextcloud-server-0e78415cb11aee163b8bba2d22990712cc7666ed.tar.gz nextcloud-server-0e78415cb11aee163b8bba2d22990712cc7666ed.zip |
fix accessibility of file upload
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/list.php | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 8ecec066a51..7d28016bd76 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -34,13 +34,17 @@ value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)"> <input type="file" id="file_upload_start" name='files[]' data-url="<?php print_unescaped(OCP\Util::linkTo('files', 'ajax/upload.php')); ?>" /> - <a href="#" class="svg icon-upload"></a> + <label for="file_upload_start" class="svg icon-upload"> + <span class="hidden-visually"><?php p($l->t('Upload'))?></span> + </label> </div> <div id="uploadprogresswrapper"> <div id="uploadprogressbar"></div> - <input type="button" class="stop icon-close" - style="display:none" value="" - alt="<?php p($l->t('Cancel upload'))?>" /> + <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> |