Skip to content

Commit

Permalink
Sørger for at select label leses på skjermleser, selv om den er skjult
Browse files Browse the repository at this point in the history
  • Loading branch information
otenav committed Sep 25, 2024
1 parent e381514 commit 55ae4c2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/app/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,16 @@ strong {

@media (max-width: 767px) {
.hide-label-sm label {
display: none;
border: 0;
clip: rect(0, 0, 0, 0);
clip-path: inset(50%);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
white-space: nowrap;
width: 1px;
}
}

Expand Down

0 comments on commit 55ae4c2

Please sign in to comment.