Skip to content

Commit 6de1c79

Browse files
committed
Accessibility (hidden text) improvements
As per latest HTML5 boilerplate code.
1 parent 3c8de84 commit 6de1c79

File tree

4 files changed

+200
-197
lines changed

4 files changed

+200
-197
lines changed

dist/textpattern/jquery-ui.css

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,16 @@
1414
* Hide jQuery UI text but still allow screen reader access.
1515
*/
1616
.ui-helper-hidden-accessible {
17-
position: absolute;
17+
display: inline-block;
1818
width: 1px;
1919
height: 1px;
2020
margin: -1px;
2121
padding: 0;
2222
border: 0;
23+
white-space: nowrap;
2324
overflow: hidden;
24-
clip: rect(0 0 0 0);
25+
-webkit-clip-path: inset(50%);
26+
clip-path: inset(50%);
2527
}
2628

2729
/**

dist/textpattern/jquery-ui.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)