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>
This commit is contained in:
Ilmari Lauhakangas
2019-05-18 15:07:16 +03:00
committed by Olivier Hallot
parent 301ae74e8b
commit 085cd2e40a

View File

@ -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;