Skip to content

Commit 60ab3a0

Browse files
committed
Fix for previous accessibility commit
1 parent 6de1c79 commit 60ab3a0

File tree

4 files changed

+14
-12
lines changed

4 files changed

+14
-12
lines changed

dist/textpattern/jquery-ui.css

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

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.

package-lock.json

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/sass/modules/_core.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
*/
1515

1616
.ui-helper-hidden-accessible {
17-
display: inline-block;
17+
position: absolute;
1818
width: 1px;
1919
height: 1px;
2020
margin: -1px;
2121
padding: 0;
2222
border: 0;
2323
white-space: nowrap;
2424
overflow: hidden;
25+
clip: rect(0 0 0 0);
2526
clip-path: inset(50%);
2627
}
2728

0 commit comments

Comments
 (0)