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

Commit 3707c55

Browse files
Button: Don't use diplay none to hide the native input when disabled, because this makes a difference for screen readers.
1 parent bf50400 commit 3707c55

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

css/structure/jquery.mobile.button.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,6 @@ button.ui-btn-icon-notext {
5050
.ui-state-disabled input[type="button"],
5151
.ui-state-disabled input[type="submit"],
5252
.ui-state-disabled input[type="reset"] {
53-
display: none;
53+
position: absolute;
54+
left: -9999px;
5455
}

0 commit comments

Comments
 (0)