]> source.dussan.org Git - nextcloud-server.git/commitdiff
properly name form labels for the file selection
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:40:21 +0000 (11:40 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 17 Dec 2014 10:40:21 +0000 (11:40 +0100)
apps/files/js/filelist.js
apps/files/templates/list.php

index b4702ce4f2bcb28038730b8a0d5158ab80a1dc62..90d30507f488754bfcc5c7a4b80663692299e3ad 100644 (file)
                                        '<input id="select-' + this.id + '-' + fileData.id +
                                        '" type="checkbox" class="selectCheckBox"/><label for="select-' + this.id + '-' + fileData.id + '">' +
                                        '<div class="thumbnail" style="background-image:url(' + icon + '); background-size: 32px;"></div>' +
+                                       '<span class="hidden">' + t('files', 'Select') + '</span>' +
                                        '</label>'
                                );
                        } else {
index a0138967cd217d1aa52db2855470baf1da630f68..81e9c3fc180454530d463f889a60248da1d123c2 100644 (file)
@@ -57,7 +57,9 @@
                        <th id='headerName' class="hidden column-name">
                                <div id="headerName-container">
                                        <input type="checkbox" id="select_all_files" class="select-all"/>
-                                       <label for="select_all_files"></label>
+                                       <label for="select_all_files">
+                                               <span class="hidden"><?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="download">