diff options
author | Ilmari Lauhakangas <ilmari.lauhakangas@libreoffice.org> | 2019-05-18 15:07:16 +0300 |
---|---|---|
committer | Olivier Hallot <olivier.hallot@libreoffice.org> | 2019-05-18 16:53:19 +0200 |
commit | 085cd2e40ab7fac8fdea2fbd05b7768f79c83477 (patch) | |
tree | 1a1d3b584afaf09982d2940c81ebf4ad3b065f3e /help3xsl | |
parent | 301ae74e8bab8cded3592588021090ff75f2bf21 (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>
Diffstat (limited to 'help3xsl')
-rw-r--r-- | help3xsl/default.css | 10 |
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; |