Skip to content

Commit 6ecdb0b

Browse files
author
Sine Jespersen
committed
add modal screen reader description styling
1 parent 6ae05fb commit 6ecdb0b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/styles/scss/shared.scss

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@
2323
overflow: hidden;
2424
}
2525

26+
.modal-screen-reader-description {
27+
position: absolute;
28+
clip: rect(1px, 1px, 1px, 1px);
29+
padding: 0;
30+
border: 0;
31+
height: 1px;
32+
width: 1px;
33+
overflow: hidden;
34+
}
35+
2636
.modal-btn-close {
2737
background-color: $c-global-primary;
2838
position: fixed;

0 commit comments

Comments
 (0)