From: Jan-Christoph Borchardt Date: Wed, 17 Dec 2014 13:12:13 +0000 (+0100) Subject: use method to only visually hide elements, show only for screen reader X-Git-Tag: v8.0.0alpha1~69^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6f4ed59883c7cda899ccb49e60e34a8529ffbd18;p=nextcloud-server.git use method to only visually hide elements, show only for screen reader --- 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 = $('' + - '' + + '' + escapeHTML(deleteTitle) + '' + '' ); 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 @@ '' ); } else { diff --git a/apps/files/templates/appnavigation.php b/apps/files/templates/appnavigation.php index aa2deea78eb..faf2be39b03 100644 --- a/apps/files/templates/appnavigation.php +++ b/apps/files/templates/appnavigation.php @@ -7,7 +7,7 @@
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index bd27be8c5e1..a90ababf2bb 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -59,7 +59,7 @@
t( 'Name' )); ?> diff --git a/core/css/styles.css b/core/css/styles.css index 7badfca6c16..856ba68def8 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -711,7 +711,18 @@ label.infield { /* VARIOUS REUSABLE SELECTORS */ -.hidden { display:none; } +.hidden { + display: none; +} +.hidden-visually { + position: absolute; + left:-10000px; + top: auto; + width: 1px; + height: 1px; + overflow: hidden; +} + .bold { font-weight:bold; } .center { text-align:center; } .inlineblock { display: inline-block; }