From 085cd2e40ab7fac8fdea2fbd05b7768f79c83477 Mon Sep 17 00:00:00 2001 From: Ilmari Lauhakangas Date: Sat, 18 May 2019 15:07:16 +0300 Subject: 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 --- help3xsl/default.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'help3xsl/default.css') 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; -- cgit