Add CSS class to add elements targeting screen readers

This commit is contained in:
MrTimscampi 2020-04-14 02:58:26 +02:00
parent 9cd6627eed
commit b9681dbfe5

View file

@ -5,6 +5,17 @@ html {
height: 100%;
}
.clipForScreenReader {
clip: rect(1px, 1px, 1px, 1px);
clip-path: inset(50%);
height: 1px;
width: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
}
.material-icons {
/* Fix font ligatures on older WebOS versions */
-webkit-font-feature-settings: "liga";