[Libreoffice-commits] help.git: help3xsl/default.css

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sat May 18 14:53:41 UTC 2019


 help3xsl/default.css |   10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

New commits:
commit 085cd2e40ab7fac8fdea2fbd05b7768f79c83477
Author:     Ilmari Lauhakangas <ilmari.lauhakangas at libreoffice.org>
AuthorDate: Sat May 18 15:07:16 2019 +0300
Commit:     Olivier Hallot <olivier.hallot at libreoffice.org>
CommitDate: Sat May 18 16:53:19 2019 +0200

    Hide our nav checkbox inputs only visually
    
    Some screenreaders do not read elements with opacity: 0
    
    Change-Id: Ifc4c97a58c87e7d6b9533e15dc0db60aa70bfb97
    Reviewed-on: https://gerrit.libreoffice.org/72519
    Tested-by: Jenkins
    Reviewed-by: Olivier Hallot <olivier.hallot at libreoffice.org>

diff --git a/help3xsl/default.css b/help3xsl/default.css
index 482f3ed6d..50a67b752 100644
--- a/help3xsl/default.css
+++ b/help3xsl/default.css
@@ -416,8 +416,16 @@ footer p {
     padding: 3px 0 0 0 !important;
 }
 .contents-treeview input[type=checkbox], aside input[type=checkbox] {
+    /* from .visuallyhidden class of html5-boilerplate */
+    border: 0;
+    clip: rect(0 0 0 0);
+    height: 1px;
+    margin: -1px;
+    overflow: hidden;
+    padding: 0;
     position: absolute;
-    opacity: 0;
+    width: 1px;
+    white-space: nowrap;
 }
 label[for=accordion-1] {
     color: #148603;


More information about the Libreoffice-commits mailing list