39 lines
591 B
SCSS
39 lines
591 B
SCSS
|
/* 1.0 - Accessibility classes
|
||
|
* Some classes to help accessibility
|
||
|
**/
|
||
|
|
||
|
.sr-only, .screen-reader-text {
|
||
|
position: absolute;
|
||
|
width: 1px;
|
||
|
height: 1px;
|
||
|
padding: 0;
|
||
|
margin: -1px;
|
||
|
overflow: hidden;
|
||
|
clip: rect(0, 0, 0, 0);
|
||
|
border: 0;
|
||
|
}
|
||
|
|
||
|
.sr-only-focusable:active,
|
||
|
.sr-only-focusable:focus {
|
||
|
position: static;
|
||
|
width: auto;
|
||
|
height: auto;
|
||
|
margin: 0;
|
||
|
overflow: visible;
|
||
|
clip: auto;
|
||
|
}
|
||
|
|
||
|
.skip {
|
||
|
position: absolute;
|
||
|
left: -10000px;
|
||
|
top: auto;
|
||
|
width: 1px;
|
||
|
height: 1px;
|
||
|
overflow: hidden;
|
||
|
}
|
||
|
|
||
|
.skip:focus-within {
|
||
|
position: static;
|
||
|
width: auto;
|
||
|
height: auto;
|
||
|
}
|