Updated the visually-hidden component.
This commit is contained in:
parent
23ca708c32
commit
0cd720bd5a
1 changed files with 1 additions and 1 deletions
|
|
@ -6,10 +6,10 @@ Make an element visually hidden, but accessible to screen readers, etc. */
|
|||
%visually-hidden {
|
||||
&:not(:focus, :active) {
|
||||
position: absolute;
|
||||
clip: rect(0 0 0 0);
|
||||
clip-path: inset(50%);
|
||||
height: 1px;
|
||||
width: 1px;
|
||||
margin: 0;
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue