Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Commit f2baf78

Browse files
Slider: Keep the flip switch native select element accessible for screen readers.
1 parent 7fa7b13 commit f2baf78

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css/structure/jquery.mobile.forms.slider.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ input.ui-slider-input {
8282
margin: -8px 0 0 -8px;
8383
}
8484
select.ui-slider-switch {
85-
display: none !important;
85+
position: absolute;
86+
left: -9999px;
8687
}
8788
div.ui-slider-switch {
8889
display: inline-block;

0 commit comments

Comments
 (0)