diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 14:12:13 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2014-12-17 14:12:13 +0100 |
commit | 6f4ed59883c7cda899ccb49e60e34a8529ffbd18 (patch) | |
tree | 34e21d568d8ca8bc719f0d18d0d97eb518b6aba7 /apps/files/js | |
parent | 1b5f43e7c36f411e1abdf0fcdaec6e3e653c6dc7 (diff) | |
download | nextcloud-server-6f4ed59883c7cda899ccb49e60e34a8529ffbd18.tar.gz nextcloud-server-6f4ed59883c7cda899ccb49e60e34a8529ffbd18.zip |
use method to only visually hide elements, show only for screen reader
Diffstat (limited to 'apps/files/js')
-rw-r--r-- | apps/files/js/fileactions.js | 2 | ||||
-rw-r--r-- | apps/files/js/filelist.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/files/js/fileactions.js b/apps/files/js/fileactions.js index e981ac625bc..875857745b8 100644 --- a/apps/files/js/fileactions.js +++ b/apps/files/js/fileactions.js @@ -290,7 +290,7 @@ var $actionLink = $('<a href="#" original-title="' + escapeHTML(deleteTitle) + '" class="action delete icon-delete">' + - '<span class="hidden">' + escapeHTML(deleteTitle) + '</span>' + + '<span class="hidden-visually">' + escapeHTML(deleteTitle) + '</span>' + '</a>' ); var $container = context.$file.find('td:last'); diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index 90d30507f48..d8b8916752d 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -710,7 +710,7 @@ '<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>' + + '<span class="hidden-visually">' + t('files', 'Select') + '</span>' + '</label>' ); } else { |