Skip to content

Commit 64f52a0

Browse files
committed
feat: add .sr-only class for accessibility improvements
1 parent 37e1564 commit 64f52a0

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/css/base.scss

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5193,4 +5193,15 @@ details[open] {
51935193
border-color: var(--N50);
51945194
}
51955195
}
5196-
}
5196+
}
5197+
5198+
.sr-only {
5199+
clip: rect(1px, 1px, 1px, 1px);
5200+
clip-path: inset(50%);
5201+
height: 1px;
5202+
width: 1px;
5203+
margin: -1px;
5204+
overflow: hidden;
5205+
padding: 0;
5206+
position: absolute;
5207+
}

0 commit comments

Comments
 (0)