summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlmari Lauhakangas <ilmari.lauhakangas@libreoffice.org>2019-05-18 15:07:16 +0300
committerOlivier Hallot <olivier.hallot@libreoffice.org>2019-05-18 16:53:19 +0200
commit085cd2e40ab7fac8fdea2fbd05b7768f79c83477 (patch)
tree1a1d3b584afaf09982d2940c81ebf4ad3b065f3e
parent301ae74e8bab8cded3592588021090ff75f2bf21 (diff)
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@libreoffice.org>
-rw-r--r--help3xsl/default.css10
1 files changed, 9 insertions, 1 deletions
diff --git a/help3xsl/default.css b/help3xsl/default.css
index 482f3ed6d4..50a67b752a 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;